Skip to content

suryaambrose/boardgame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

*boardgame* is a Python package gathering several simple games like TicTacToe or Connect 4. It is meant to be played by humans or by programs.

This page only describes basic usage of this package. For a more advanced usage, (e.g. to have a program play a game, or to add a new game) it will be added later.

How to install it

  • Download the source
  • Run python setup.py install

How to play it

You can play TicTacToe or ConnectFour using the corresponding subcommands of the boardgame command

boardgame tictactoe -h

By default, the games oppose a human and an AI, but you can change that like this:

boardgame tictactoe --human-players 2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages