"README for TICTACTOE"
This is a README file for the tictactoe.pl prolog program. This file is also referred in the PDF given with the code.
Here are the instructions to run the program:-
- Open your terminal.
- cd into the directory where the code ('tictactoe.pl') is present.
- $swipl (for running the code)
- ?- [tictactoe]. (for compiling the code)
- ?- play. (starting the game)
- |: o. (choosing naught to be the second player)
- |: 3. (for further moves, just type in the position number ending with a period)