Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dwinston/hog
- Owner: dwinston
- Created: 2014-09-26T20:12:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-02T17:06:48.000Z (over 10 years ago)
- Last Synced: 2024-11-29T11:14:05.636Z (about 1 month ago)
- Language: Python
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!