Model your Favorite Game using Groovy, Javascript, or Java

Closed Posted Mar 7, 2011 Paid on delivery
Closed Paid on delivery

The goal of this game is to create a model of any interactive game using Groovy or JavaScript (I prefer Groovy). A model is a representation of the game. I am interested in interactive games (such as Scrabble, card games, tic tac toe, ludo, etc.).

You choose the game you know best.

I have a Groovy model of Tic Tac Toe available to guide you. I will use Tic Tac Toe as example through this description. This specific model completely fits on 15 lines of code!

Here is what the model should include:

1) A message or event representing the action of a user (e.g. in tictactoe, an event would be user B put a cross at position A1). These events or messages are represented as JSON objects.

2) A set of rules that determine whether a user action is permissible for this game or not (for instance, in Tic Tac Toe, a user cannot put a cross or a circle on top of another cross or circle). If a rule is violated the a specific error code should be communicated.

4) A winning decision that given a user event/action, decides whether the user just won the game or not

5) An-in memory data structure that represents thw whole game and is used especially by 2) and 4).

Engineering Game Consoles Game Design Project Management Script Install Shell Script Software Architecture Software Testing

Project ID: #3154674

About the project

2 proposals Remote project Active Mar 29, 2011

2 freelancers are bidding on average $43 for this job

alexey7777

See private message.

$42.5 USD in 2 days
(15 Reviews)
3.5
marounbaydounvw

See private message.

$42.5 USD in 2 days
(12 Reviews)
2.1