From d9bd4d18b9f9037b7b474123f1400cdf1024a914 Mon Sep 17 00:00:00 2001 From: Sabrina <sabrinalap98@gmail.com> Date: Fri, 4 Apr 2025 22:48:12 +0200 Subject: [PATCH] modify readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d43d376..3ecf004 100644 --- a/README.md +++ b/README.md @@ -9,17 +9,17 @@ TP Power 4 of "programmation séquentiel" lesson The goal of the game is align a sequence of 4 same pieces on a board. Each round, two players choose a column for place his piece and the piece fall the lowest the column. The winner is the first to realise an aligment of a sequence of 4 of his pieces in vertical, horizontal or diagonal. If the board is full, the game is a draw. ## Composition -The board size is defined by a height (columns) and width (lines). Each players (include AI) has a piece "O" or "X". +The board size is defined by a height (columns) and width (lines). The player one has a piece "O" and the player two or the AI has a piece "X". ## Available mods **Mod two players** Two players can choose, each his round, the columns for place his pieces. **Mod Random AI** -One player play with a random AI. It places his piece in a random column. +One player play with a random AI. AI places his piece in a random column. **Mod Smart AI** -One player play with a smart AI. It place his piece in a random column except if it can win on the next round or block the win of the player. +One player play with a smart AI. AI places his piece in a random column except if it can win on the next round or block the win of the player. ## How to play ? For play, the user execute the program `./puissance4` with following parameters : @@ -29,6 +29,6 @@ For play, the user execute the program `./puissance4` with following parameters When it's launched, the user or users must write the number of the colum who he chose when it's asked, and he presses the enter touch. -For launch automatic tests, the user must write `make test` in the terminal (he must to make sure he is in the program folder) and press enter. +For launch automatic tests, the user must write `make test` in the terminal (he must to make sure he is in the program folder `tp_puissance4`) and press enter. -For launch unit tests, the user must write `make unit tests`in the terminal (he must to make sure he is in the program folder) and press enter \ No newline at end of file +For launch unit tests, the user must write `UnitTests/unit_tests` in the terminal (he must to make sure he is in the program folder `tp_puissance4`) and press enter \ No newline at end of file -- GitLab