/iutvalence-java-mp-2013-2014-ie1-p7

Mini-projets Java, IUT de Valence, 2013-2014, groupe IE1, projet 7

Primary LanguageJava

iutvalence-java-mp-2013-2014-ie1-p7

Mini-projets Java, IUT de Valence, 2013-2014, groupe IE1 Valentin ANDRE Lamine SERRADJ, projet 7

Name project: The Morpion

Documentation : This mini-project consists in realising a tic-tac-toe game.

To start the game, simply execute the program.

The first player starts and place circles.

To win, simply be the first to create a grid alignment.

You can play either pc vs pc, pc vs player or player vs player in two different display modes: console (ASCII art) or window.

To play in console display : The numeric keypad (1 to 9) represent cases of grid. You must click on a wanted case in the numeric keypad when it's your turn.

                                        -----------                      -----------------------
                                       | 7 | 8 | 9 |                    | (0,0) | (0,1) | (0,3) |            
                                        -----------                      -----------------------
                                       | 4 | 5 | 6 |       ----->       | (1,0) | (1,1) | (1,3) |
                                        -----------                      -----------------------
                                       | 1 | 2 | 3 |                    | (2,0) | (2,1) | (3,1) |
                                        -----------                      -----------------------

To play in window display : You must click on a wanted case with the mouse when it's your turn.

The grid is create as a 2 dimensions table.