Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CDLExtended] Develop a game engine for Five-In-A-Row #2

Open
ghost opened this issue Mar 22, 2014 · 3 comments
Open

[CDLExtended] Develop a game engine for Five-In-A-Row #2

ghost opened this issue Mar 22, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 22, 2014

In a game of Five-In-A-Row, players (X and 0) alternate in placing their tokens in an empty square of an infinite grid. The winner is the first player to get an unbroken row of five tokens horizontally, vertically, or diagonally.

An example of a winning position:
five in a row

@andragabr
Copy link

It's supposed to be a whole row, in the image it's not a winning row, because in a matrix of 5x5, the winner must complete 5 tiles in a matrix (column/row/ diagonal).
Or maybe I misunderstood the image. Can you please send me some explanations, it's a little bit confusing for a noob like me.

@ghost
Copy link
Author

ghost commented Mar 22, 2014

Hi @andragabr,

The rules of the game will become clear if you play a few turns online (against the AI) here:
http://tfoo.herokuapp.com/

However, I am aiming this particular project task at your CDL colleagues whose turn is tomorrow (the other half of the group).

-Dan

@andragabr
Copy link

I understand. I played few games and it's all clear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant