Skip to content

SidMasih/Hog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hog

A simulator and game AI for the dice game Hog

This is the first project from UC Berkeley's CS61a class (The Structure and Interpretation of Computer Programs)

Here is a link to the class website: http://cs61a.org/ Here is a link to the project description: http://cs61a.org/proj/hog/

The only files modified in this project is hog.py

Here is some information from the class website on the project:In Hog, two players alternate turns trying to be the first to end a turn with at least 100 total points. On each turn, the current player chooses some number of dice to roll, up to 10. That player's score for the turn is the sum of the dice outcomes.

For more detailed game rules (including the special cases) please refer to the project's website

About

A simulator and game AI for the dice game Hog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages