<h1 align="center">
<img alt="Pymoku" src="resources/pymoku.png"/>
</h1>

<p align="center">
Pymoku is a Gomoku game written in python.<br>
The AI was built using Minimax with Alpha-beta pruning
</p>

<p align="center">
<img alt="Menu image" src="resources/menu.png"/>
</p>

<p align="center">
<img alt="Gameplay Image" src="resources/playing.png"/>
</p>

---

* [Demo](#demo)  
* [Installation](#installation)  
* [Gameplay](#gameplay)  
* [Contributing](#contributing)  
* [License](#license) 

## Demo

<p align="center">
<img alt="Gameplay demo" src="resources/gameplay.svg"/>
</p>

## Installation

### PyPI package

Pymoku is available on [PyPI](https://pypi.python.org/pypi/pymoku/) and can be installed with pip:

```bash
$ pip3 install pymoku
```

## Gameplay

In every round a player must choose an empty space to put his piece on. The winner is the first player to form an unbroken chain of five stones horizontally, vertically, or diagonally.

## Contributing

All contributions are welcome!

## License
This project is distributed under the [MIT](LICENSE) license.
