Skip to content

A single player command line tic tac toe game to play with AI and kill some time.

License

Notifications You must be signed in to change notification settings

zmcddn/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

A single player command line tic tac toe game to play with AI and kill some time.

Feature

  • Single player command line game
  • random steps AI
  • Demo for OOP design

Dependencies

  • python>=3.6
  • pytest==5.4.*
  • pytest-cov==2.8.*

How to play

Run python src/tic_tac_toe.py and then follow instruction

How to run tests and coverage

Note the game is not 100% covered with tests.

Run the following command in the root folder of the project:

  • Tests: pytest
  • Coverage: pytest --cov=tic_tac_toe

If you like this project, please give it a star and distribute it for more people to see. Any suggestions and contributions are very welcomed.

ALL RIGHTS RESERVED

About

A single player command line tic tac toe game to play with AI and kill some time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages