maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] Reaction face-off (1 vs. 1) (https://talk.maemo.org/showthread.php?t=58147)

shapeshifter 2010-07-10 00:50

[Announce] Reaction face-off (1 vs. 1)
 
http://stuff.moritzg.ch/small.png

Hello everyone.

I'm happy to announce that my first-ever game is ready to see the light of the day. I saw this game called "2-player reactor" on a friends Android HTC and I loved it. It's a simple yet seriously addictive and a great game for at the pub, when people feel like taking a challenge against you. :) So I decided to write a game using the same principle. Some of the games are the same as in the original, some are entirely new, some are inspired from other games. So here you have it!

Reaction face-off
Reaction face-off is a fast-paced game where two players put their reflexes, knowledge and brainpower to the test. Round after round you compete in different minigames against your opponent. Every minigame makes a statement, and if it becomes true, you have to hit your button to gain a point. If you're wrong, your opponent gets a point.
At the moment there's 13 minigames, some about maths, some about reaction, combining different things, counting, and common knowledge.

Here's a couple of screenshots:
http://stuff.moritzg.ch/2010-07-12-2...x480_scrot.png

http://stuff.moritzg.ch/2010-07-12-2...x480_scrot.png

http://stuff.moritzg.ch/2010-07-12-2...x480_scrot.png

http://stuff.moritzg.ch/2010-07-12-2...x480_scrot.png


Hope you get the idea :)

I'll add more games, especially knowledge/trivia related ones. Tips and suggestions for existing and new games welcome.

It is now in extras-testing

Please vote for the package here!

Notes
  • When you run it the first time, look at the builtin help screen for some info on how stuff works
  • If you're wondering about the size: Most of it is the flags of 233 countries. They're high-res because I wrote the game in such a way that it can run at higher resolutions as well, not only 800x480, although it's not completely optimized for different resolutions just yet.
  • If you're wondering about CPU usage, yeah it's not brilliant. It's the first time I wrote something using pygame and it's not exactly perfect. I'll optimize some of the things when the game is in a more final state.

Have fun!

IzzehO 2010-07-10 04:05

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Looks awesome.. I'll probably pick it up in the next few days and give it a game :D I wonder if I can win against nobody.

tmarinos 2010-07-10 04:31

Re: [Announce] Maemo Reactor (1 vs. 1)
 
I can't find it. What am I doing wrong?

Yes, I DO have extras-devel enabled.

mohannad 2010-07-10 04:59

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Looks really cool! cant wait to try it out

Psymastr 2010-07-10 05:00

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Can I make a suggestion, show each players score rotated so that player can see it, as right now everyone's score is sideways. Great and fun game BTW.

IzzehO 2010-07-10 05:07

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Installed maemoreactor. Trying to run from the icon and it does nothing. Running maemoreactor from xterm produces not found message.

RobinB 2010-07-10 10:35

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Quote:

Originally Posted by shapeshifter (Post 746742)
http://stuff.moritzg.ch/small.png

Hello everyone.

I'm happy to announce that my first-ever game is ready to see the light of the day. I saw this game called "2-player reactor" on a friends Android HTC and I loved it. ...


Hi!

I've made the original 2 Player Reactor for Android. They say imitation is the sincerest form of flattery, so I take this as a compliment. Feel free to borrow some ideas from my implementation! I might use some of yours in return :)

The only request I'd have is that you don't back-port it to the Android platform (It is mine! *cue manic laughter* ;)).

Good luck,
Robin

AlMehdi 2010-07-10 10:50

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Awesome work Shapeshifter! ;)

F2thaK 2010-07-10 10:51

Re: [Announce] Maemo Reactor (1 vs. 1)
 
yeah, they lose and break your phone.. then what? fists next??

cheers... XD

shapeshifter 2010-07-10 22:44

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Quote:

Originally Posted by tmarinos (Post 746830)
I can't find it. What am I doing wrong.

Did you "update" first? The package database needs to be reloaded for it to be visible in you app manager.

Quote:

Originally Posted by IzzehO (Post 746851)
Trying to run from the icon and it does nothing. Running maemoreactor from xterm produces not found message.

This sounds like you have the very first build (0.0.1-1) where the main way of starting it was broken. The current build is 0.0.1-3, and it should work. Are you certain you have the latest version?

Is it working for everyone else?

Quote:

Originally Posted by RobinB (Post 747060)
I've made the original 2 Player Reactor for Android.

Cool, the game idea is simple, yet strikingly fun.

Quote:

Originally Posted by RobinB (Post 747060)
They say imitation is the sincerest form of flattery, so I take this as a compliment. Feel free to borrow some ideas from my implementation! I might use some of yours in return :)

I didn't look at your code, as I'm guessing it's android-specific. It seemed to use android widgets. My implementation is pure python/pygame and runs on any linux that has those two installed. Oh and yeah, my code isn't brilliant :)
But of course you're invited to grab the games I made that aren't included in yours. I think the game with the growing crystal, letters in order of the alphabet, and my version of the calculation game, which is more dynamic than the one with the short terms in yours. On the other hand, I haven't remade all of those that you had thought of, yet.

Quote:

Originally Posted by RobinB (Post 747060)
The only request I'd have is that you don't back-port it to the Android platform (It is mine! *cue manic laughter* ;)).

Well I don't own an Android device anyway so I don't care. I'm also doing it for fun and not for earning money, so for now I'm not interested in the Android platform. Though I guess I can't stop anyone from porting it to Android if they feel like doing it ;)

The project is open source and hosted on gitorious.org.

shapeshifter 2010-07-11 16:13

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Quote:

Originally Posted by Psymastr (Post 746847)
Can I make a suggestion, show each players score rotated so that player can see it, as right now everyone's score is sideways. Great and fun game BTW.

Done.

New version, also fixed some minor bugs and improved bahaviour when using it on different devices that use a different resolution.



edit: oops, noticed one of the scores is slightly off-center. Fixed for the next release ;)

casper27 2010-07-11 17:07

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Pressing the icon does nothing for me dosn't even open to crash. Trying to get it open in xterm but seems its a bit all over and will not launch from /opt.
Any ideas?

ArnimS 2010-07-11 17:45

Re: [Announce] Maemo Reactor (1 vs. 1)
 
I predict the answer will appear in the next post or two ;)

ArnimS 2010-07-11 18:06

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Ok then if Shapeshifter is busy... wait til the updated package

or edit

/usr/bin/maemoreactor

and change

/bin/bash

to

/bin/sh

shapeshifter 2010-07-11 18:13

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Oh lol. Well I made a small mistake in the main executable, which is why it worked for some (those who had bash installed) and not others.

I fixed that. The new build (-5) should work for everyone :)

edit: ah yes, Arnim noticed ;)

cjp 2010-07-12 06:33

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Haha I really like the idea of this one. Will try it out today with my m8.

IzzehO 2010-07-12 08:05

Re: [Announce] Maemo Reactor (1 vs. 1)
 
Got it working now. I actually looked into the file for the other and saw /bin/bash.. but could have sworn I had it installed :P

Either way... very fun game! I lost to myself twice... guess I'm too trigger happy. A couple of suggestions: think the timing for the "All smiling faces" game is a little too fast, as even when I did manage to just catch one with no frowns... by the time my finger pushed it had changed.

Fun game.. keep adding minigames :D

shapeshifter 2010-07-12 19:41

Re: [Announce] Maemo Reactor (1 vs. 1)
 
new version
IMPORTANT: This game is no longer called "MaemoReactor" due to trademark conflicts. It is now called "Reaction face-off" and is listed in extras-devel under that name.


The old package will be removed soon and it will not be updated.

New features:
- 1 Additional minigame called fruitmaths (it's a tricky one inspired by BrainParty!)
- about/help info
- possibility to disable minigames you don't want to play


So get it now, remember it's called "reaction face-off", so you'll need to uninstall maemoreactor and instead install reaction face-off.

Have fun! :)

shapeshifter 2010-07-14 17:24

Re: [Announce] Reaction face-off (1 vs. 1)
 
This game is now in extras-testing. If you tested it and everything seems to be working, please consider voting for it at

http://maemo.org/packages/package_in...ceoff/0.0.1-3/

to get it into extras

MONVMENTVM 2010-07-19 08:48

Re: [Announce] Reaction face-off (1 vs. 1)
 
Thanks for this great game! There's a small bug in the prime number game, where it ignores 2 (which is a prime number) and accepts any uneven number (even if it is not prime).

I fixed the is_prime function in isprimegame.py that way:

Original:
Code:

   
def is_prime(self, n):
        '''check if integer n is a prime'''
        for x in range(2, int(n**0.5)+1):
            if n % x == 0:
                return False
                return True

Fixed:
Code:

    def is_prime(self, n):
        '''check if integer n is a prime'''
      if n == 2:
                return True

        for x in range(2, int(n**0.5)+1):
            if n % x == 0:
                return False
        return True


IzzehO 2010-07-19 09:07

Re: [Announce] Reaction face-off (1 vs. 1)
 
I was just about to jump on here and say the Prime Numbers game was rigged: As I lost when I hit it for 2, and then discovered it worked for all uneven numbers... I had no cool resolution though =x

shapeshifter 2010-07-20 12:03

Re: [Announce] Reaction face-off (1 vs. 1)
 
Yep, I noticed this and have already fixed it for the next release. It's probably out within the week.

navsin 2010-07-25 11:06

Re: [Announce] Reaction face-off (1 vs. 1)
 
It's a pretty cool game. would love to see more games within it. tends to get repetitive after a while.

gerar 2010-08-29 19:35

Re: [Announce] Reaction face-off (1 vs. 1)
 
ok this game dont work in my n900. i just install and when i press the widget it dont work... please i like this game but it impossible to do work. i installed python-pygame and nothing.

shapeshifter 2010-09-12 17:50

Re: [Announce] Reaction face-off (1 vs. 1)
 
new version: 0.0.2, finally fixed the prime numbers game and added a rudimentary pause implementation. hit P to (un)pause the game. It's in extras-devel.

gerar:
open a command line and run the game from there to provide useful output on what goes wrong:

Code:

python /opt/reactionfaceoff/reactionfaceoff.py


All times are GMT. The time now is 17:45.

vBulletin® Version 3.8.8