Home > Flash, MySQL, PHP, Programming > Multiplayer Math Game

Multiplayer Math Game

April 18th, 2009

Hello, the project is to create a multiplayer flash game only for the registered members on my website.

When they click “Play now”, the game will popup and users will be asked for their username and password, if both username and password are right, according to MySQL database, the game will search for a suitable opponent (Will explain it soon).

When a match is found, the players have 10 seconds of break before the game begins, where they can chat etc. There has to be a small chat area, for example on the right.
When the game starts, random math problem starts dropping down like rain, 1 at a time. For example 24-14, the players have to answer before it touches the ground, when touching the ground, it pops and disapear then a new problem drops, such as 35/7. If a player answers the problem before it touches the ground, he gains a point.
The rain can drop SLIGHTLY faster every math problem.
Game would end perhaps when 30 problems passed, and the player with the most points wins the game. When the game ends, both players are asked “Re-Match” “Search again” or a small logout button on the top right of the game screen on which if they click, the math game exits.

The player statistics have to be uploaded to MySQL, which we will create a database for:

- username (Same as other members database)
- Total games of each players
- Wins “
- Losses “
- XP “
- Level “(60 XP = 1 level)

XP is calculated by wins and losses;
1 win = 10 XP
1 loss = -3 XP
When the player gains 60 XP, he levels up.

When the players click “Play now” on the website and enter their login informations, there would be something saying “Searching…”
Until it finds an opponent.
The system must find an opponent +/- 5 levels of difference.
For example a level 10 can play against players level 5 to 15.

In the game screen, while the players are playing, we should be able to see the player’s level, their wins, their losses and their draws.

For some inspiration, look at this game’s graphic :
http://venturebeat.com/wp-content/uploads/2008/06/lumosity-image-3.jpg

The rain and background can look something like this, no need to have a numpad though, just a little designed place where players enter their numbers.

The problem symbols should be [-,+,/,*]
And there most be a LOT of math problems. A lot.
A player shouldn’t be able to memorize the math problems after playing the game enough, you know.

I want a quality game, this shouldn’t be hard to give good graphics with a good dropping and popping animation.
I will need frequent updates of the game, so if there’s something wrong it’s fixed fast.

Thanks.


Multiplayer Math Game

Comments are closed.
Bear