Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dwinston/hog

Get bacon, but don't pig out
https://github.com/dwinston/hog

Last synced: about 1 month ago
JSON representation

Get bacon, but don't pig out

Awesome Lists containing this project

README

        

# The Game of Hog

A game of Hog, as specified [here](http://inst.eecs.berkeley.edu/~cs61a/fa13/proj/hog/hog.html).

Win rate of the current AI is 0.5977 (1e6 averaged runs) for GOAL_SCORE = 100.

To play against the machine with a GUI:
```
python3 hog_gui.py -f
```
The GUI will alternate which player is controlled by you between games.

You need python3 and Tkinter installed. Enjoy!