Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 695 Bytes

README.rst

File metadata and controls

26 lines (15 loc) · 695 Bytes

*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