Thank you for visiting Blazing Games

Single Player game

(14:00-15:00)

The Player class for Pig is fairly similar to the previous game's player class, with just the addition of an adjustScore() function which adds the accumulated score to the player's score.

Scoring is simply handled by adding the new dice roll to the total when adding it to the container and setting a score of 0 when a one is rolled.

Previous page
Making Pig Page 5

About - Privacy Policy - Contact - Links - FAQ
Copyright © 2008 Blazing Games Inc. All Rights Reserved