This program is a simple implementation of the game Othelo to be run from the command line.
- In Othello, the two colours are Black and White and Black always plays first.
- The four squares in the middle of the board start with four counters already placed - white top left and bottom right; black top right and bottom left.
- A player without a move simply passes, and the other player keeps playing pieces until the first player can make a move again.
Clone this git repository and inside the project's folder type the following comands to compile and execute the program:
$ gcc -c othelo.c && gcc -o othelo.o othelo.c
$ ./othelo.oRight after being executed the prompt will ask you choose which player (1 or 2) you want to play. Player 1 places 'o' and goes first. Player 2 places 'x' and goes second.
To place a 'stone' (o or x) you need to manually enter the x and y coordinate.
At the end of the gamer a .txt file is generated with the history of the game.

