Skip to content

Commit

Permalink
README updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Bocchio01 committed Mar 26, 2023
1 parent fce1e8a commit 6296403
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
1 change: 1 addition & 0 deletions .vscode/ltex.dictionary.en-US.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Tommaso
Binary file added Img/Screenshot 2023-03-26 131115.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 43 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,44 @@
# Four_In_Row
Ultra basic C-implementation of the "4 in a row" game

This is a **simple implementation of the Four In a Row game, developed during high school using basic concepts of C**.

![Play board screenshot](Img/Screenshot%202023-03-26%20131115.png)

## How to play

The game is a two player game, where each player has to connect four pieces of the same color in a row, column or diagonal.

At first, you will be prompted to insert the players' names, and each player will be assigned a symbol (X or O).

For each turn the play board will be displayed, and the player will be prompted to insert the column where he wants to place his piece.

The game will end when one of the players connects four pieces in a row, column or diagonal, or when the board is full.

## How to compile

To compile the game, you need to have the GCC compiler installed on your machine.

To compile the game, simply run the following command:

```bash
gcc -o Main Main.c
```

## How to run

To run the game, simply run the following command:

```bash
./Main
```

## Improvements / pull requests

Since I haven't touched this code in a long time (from about 2017), **I would love to see improvements**, so feel free to fork this repository and make pull requests.

Have a nice coding day,

Tommaso :panda_face:



0 comments on commit 6296403

Please sign in to comment.