Skip to content

axeltlarsson/othello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

othello

An AI playing the game of Reversi with Othello rules

The assignment

    a   b   c   d   e   f   g   h
  +---+---+---+---+---+---+---+---+
1 |   |   |   |   |   |   |   |   |
  +---+---+---+---+---+---+---+---+
2 |   |   |   |   |   |   |   |   |
  +---+---+---+---+---+---+---+---+
3 |   |   |   |   |   |   |   |   |
  +---+---+---+---+---+---+---+---+
4 |   |   |   | O | * |   |   |   |
  +---+---+---+---+---+---+---+---+
5 |   |   |   | * | O |   |   |   |
  +---+---+---+---+---+---+---+---+
6 |   |   |   |   |   |   |   |   |
  +---+---+---+---+---+---+---+---+
7 |   |   |   |   |   |   |   |   |
  +---+---+---+---+---+---+---+---+
8 |   |   |   |   |   |   |   |   |
  +---+---+---+---+---+---+---+---+

Installation

  1. Clone the repository.
  2. Create virtualenv in the cloned dir: virtualenv othello (make sure virtualenv is Python3)
  3. Change into the virtualenv and activate it: cd othello and source bin/activate.
  4. Install with pip: pip install -e .
  5. Run with play -h to get a friendly help text.

Documentation

Refer to doc/report.pdf.

About

An AI playing the game of Reversi with Othello rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages