Course Level
CS1
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type
Project
Synopsis

In this project students work either individually or in pairs to implement the game Hog, a dice game in which players try to be the first to reach 100 points by choosing how many dice to roll each turn. Students must write functions that control the general flow of the game, roll the dice for a turn, and choose a strategy for the computer. For full credit, students must create a strategy with a win rate of at least 59%.

Engagement Highlights

Promotes Student-Student Interaction through encouraging collaboration among students while working on this activity. Uses a game to provide Meaningful and Relevant Context.

Computer Science Details

Programming Language
Python

Material Format and Licensing Information

Creative Commons License
Unknown