CSC 216 F09/pretty-pretty-program

From Expertiza_Wiki
Jump to navigation Jump to search

Formatting Resources

Formatting Help Guide from MetaWiki

Pretty Pretty Program

The problem

This exercise is loosely based on the board game, "Pretty Pretty Princess", a game in which players must acquire 5 pieces of jewelry: 2 earrings, a necklace, a tiara, and a ring.

In this exercise, students will play a variant called "Pretty Pretty Programmer", where they will try to collect the same things. However instead of actually wearing the items in question, the students must demonstrate their mastery of Java by storing the items in a LinkedList. Students must be able to both add, swap, and remove objects from the list, as the dreaded "Black Ring" can not be used to win the game, and must be replaced with a regular ring before the player can win.

Participants and props

The class will be divided into four teams, and the game also requires a gameboard and a spinner.

The script

Describe how to do your exercise.

See http://www.ehow.com/about_5076372_pretty-pretty-princess-game-rules.html as a reference