User Profile

Collapse

Profile Sidebar

Collapse
Arben
Arben
Last Activity: Jan 16 '08, 02:50 PM
Joined: Jan 16 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Arben
    replied to Build a game called \ Draw the house
    in Java
    This is previous exercise wich describes wich class to use.

    Exercise: Write a model class that represents a die (that is, a cube whose sides are num-
    bered 1 to 6). The class will likely have just one method, throw(), and no at-
    tributes. (Hint: use Math.random to write throw.) Then, write an output-view
    class that displays a die after it has been thrown. Finally, write a controller
    that lets a user throw...
    See more | Go to post

    Leave a comment:


  • Arben
    started a topic Build a game called \ Draw the house
    in Java

    Build a game called \ Draw the house

    Can anyone halp me to write the Java code for thid exercise?
    --------------------------------------------------------------------------------------------------------------
    Exercise: Use the class from the previous exercise to build a game called \draw the house."
    The objective is to throw a die repeatedly, and based on the outcome, draw parts
    of a house. A throw of 6 lets one draw the building, a square; a throw...
    See more | Go to post
No activity results to display
Show More
Working...