Flow Charts for Programming
Specifically how do you do it? I was talking to my professor who says that the reason why I’m having so much trouble finishing/doing programs, is because I can’t see the bigger picture. He said that I was very detailed oriented. He suggested that I use this thing called a flow chart, and be very specific in the detail of it. Ugh sounds like more work, but if it helps me understand what I’m doing better woot. So how do you flow chart Java?
My program this week: Farkle
Farkle is a dice game played with a set of six dice by two or more players. The game is played in rounds. At the
beginning of each round, the player throws all six dice. After each throw, the player must set aside at least one
scoring die; if no die can be scored, then the player has Farkled and control of the dice passes to the next player.
If at least one die can be scored, then the player has two choices: either stop rolling and take the points, or
continue to roll and thereby accumulate points, but at the risk of losing all points accumulated for that round if
the player Farkles. If the player has set aside all six dice for scoring, then the round is continued by throwing all
six dice anew (and keeping the score accumulated so far for that round).
To keep things interesting, there is a required minimum point total before a player can stop and score points in a
round. If the player’s current total score is zero, then least 1000 points must be accumulated before points can
be taken for the round. After having successfully recorded points, only a minimum of 350 points need to be
accumulated in any future round before taking points for that round. The first player who reaches a total of
10,000 points means that the following round (after the current round) will be the last round. This allows all
opponents at least one more attempt to reach 10,000 points. After that final round is finished, the player with the
highest score is the winner of the game. In the event of a tie, the tying players will continue with full rounds
until one player has a higher score than the other(s).
This open post was written 7 months, 3 weeks ago | V/U/S: 506, 1, 2 | Edit Post | Leave a reply | Report Post
Reciprocity (0)
Since writing this post ClassicDramatic8 may have helped people, but has not within the last 4 days. ClassicDramatic8 is a verified member, has been around for 1 year and has 6 posts and 7 replies to their name.
Invite Others to Help
A logged in and verified Help.com member has the ability to setup a Friends List and invite others to help with posts.