Skip to content

hrishikesh-dahiya/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

            "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:-

  1. Open your terminal.
  2. cd into the directory where the code ('tictactoe.pl') is present.
  3. $swipl (for running the code)
  4. ?- [tictactoe]. (for compiling the code)
  5. ?- play. (starting the game)
  6. |: o. (choosing naught to be the second player)
  7. |: 3. (for further moves, just type in the position number ending with a period)

About

A game of tic tac toe for LCS project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages