Program: Farkle.java  (follow link to view applet and code)
Author: Cory Goldfuss  
Date: September 25, 2000 Program last modified: November 3, 2000
Description: Program is a dice game.
Components: ActionEvent, Buttons, Arrays, Graphics, Math (Random number).
New Concepts: Storing an array of items as boolean types.
Reflections: Program allowed me to learn how to implement a test for each individual die in order to know if the die is to be rolled again or not. This was done using an array of boolean values (true, false) and testing if the die was to remain (true) or be rolled again (false). Right now the program is functional, but there are not programmed rules or method of scoring. This will be implemented at a later time.

October 10: Implemented two new methods. The first allows for the scoring of the die according to the rules of Farkle. The second method tests to see if any scoring is possible, if so the game continues and if not the game is over. Right now the scoring methods work, but disregard the hold buttons. All functionality is yet to be programmed.

November 3: After implementing correct scoring method, I made the test for Farkle work by shutting off the die that already have been score. This was done by setting the die value in the array to zero. That is why the die is blank after it has been scored.
Evaluation: Please provide an evaluation of this portfolio entry.


G-fuss
Last modified November 6, 2000.