-
Notifications
You must be signed in to change notification settings - Fork 0
Andrew-borg/Pig-Solver
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
To solve pig with a desired die size and max score, type "new" and follow the prompts. To query the solution in a position type "query <your score> <opponent's score> <your turn total>" To save the solution type "save" to write the solution as a csv file named savedsolution.csv in the working directory. This can then be visualized by running the included python script. I've included a windows and linux executable in case any classmates would like to try it out who may not have a C compiler on their system
About
A program to solve optimal play on the dice game pig
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published