ASP.NET web application - "Connect Four" game for two players
Game rules (restricted for the task purposes):
The game is played on a board with M columns and N rows, which is placed in a
vertical position. Two players (black and red) take turns in dropping discs in
one of the non-full columns. The disc then occupies the lowest
unoccupied field on that column. A player wins by placing four of their
own discs consecutively in a line (row, column or diagonal), which ends the
game. The game ends in a draw if the board is filled completely without any
player winning.
Requirements:
The user should give both players' names, and the size of the board (M and N);
the application should check, whether those values are correct (the names can
contain only letters, digits and spaces; M and N should be natural numbers)
The images
supplied should be used for displaying the board (the empty fields images are
not obligatory)
The game consists of consecutive rounds, each can end up as a win of any of the
players, or a draw
After each round the game stats are displayed: number of rounds won by each of
the players
After each round the user can start the game over (and set new players'
names and M and N values), or start a new round (the players' names and M and N
values remain unchanged)
Caution: The number of webforms, the implementation of the interaction
between the user and the application, and the ways of passing the
data amongst the webforms are arbitrary
Estimated points:
data collection and verification: 2.0
passing the data between webforms: 2.5
board display: 2.5
interaction with the user: 3.0
Caution: The future correction must be enabled over the internet (using
the gamma server); the appropriate link should be delivered with the correction
source