From fe1956e6690350c9f45844b2fb70dc3043606cee Mon Sep 17 00:00:00 2001 From: Diogo Correia Date: Sat, 19 Oct 2019 21:06:41 +0100 Subject: [PATCH] Fix some typos --- README.md | 8 ++++++++ four-in-a-row.c | 7 +++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c76d8d2..ac3d0ae 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # four-in-a-row + A CLI local multiplayer 4 in a row game made in C. + +## How to play + +Go to the [releases](https://github.com/diogotcorreia/four-in-a-row-c/releases) tab and download the latest version of the game. + +If you're using Windows, download and run `four-in-a-row.exe`. +For Linux/MacOS, download and run `four-in-a-row.out`. diff --git a/four-in-a-row.c b/four-in-a-row.c index 05e4a7b..2c725e0 100644 --- a/four-in-a-row.c +++ b/four-in-a-row.c @@ -1,4 +1,4 @@ -// C-based Tic-Tac-Toe game by Diogo Correia and João Joaquim +// C-based Four in a Row game by Diogo Correia // Libraries #include @@ -56,7 +56,7 @@ int main() // Prints the instructions to the console. void rules_instructions() { - printf("\n Welcome to this C-based 4-in-a-row game by Diogo Correia and João Joaquim!\n"); + printf("\n Welcome to this C-based 4-in-a-row game by Diogo Correia!\n"); printf("\n In order to win the game, you must have four of your characters aligned, either vertically, horizontally or diagonally.\n"); printf("\n Player 1 plays with '%c' and Player 2 with '%c'.\n", PLAYER1, PLAYER2); printf("\n To start playing, choose the number correspondent to the column you wish to occupy, and press ENTER.\n"); @@ -153,8 +153,7 @@ void execute_play() // Checks if there is a winner. Does not check ties. char verify_winner() { - // TODO - int i, j, accumolated; + int i, j; for (i = 0; i < BOARD_COLUMNS; i++) // Same here for (j = 0; j < BOARD_ROWS; j++)