1 Bookmark
Course Level
CS1
Knowledge Unit
Development Methods
Collection Item Type
Assignment
Synopsis
In this activity, students build the game "Pig", and implement a computer player for the game. There are two rounds, where the human plays first in round 1 and the computer plays first in round 2, in order to eliminate any advantage.
Recommendations
For more information on how this homework fits within the scope of the course, please see the following course schedule and syllabus here: (http://mathcs.pugetsound.edu/~aasmith/cs261/). Search "Pig Game".
Engagement Highlights
By putting the activity in the context of a simple dice game, the activity has Meaningful and Relevant Context. By allowing students to make design decisions in their own computer player, the activity succeeds to Incorporate Student Choice.
Engagement Practices Employed
Materials and Links
Computer Science Details
Programming Language
Java
Material Format and Licensing Information
Creative Commons License
CC BY-NC-SA