modifying a program



PROBLEM:
'Modify the game to allowe the user to specify the difficulty of the
game as command line parameters:

java HiLo nDicenSides

EG java HiLo 2 6 would roll two six sided dice and add the results to
give a number between one and twelve..

after each game ask the user if they wish to play again.. store and
display their best score over all the games..


any ideas how to go about this?

.



Relevant Pages

  • Re: modifying a program
    ... > 'Modify the game to allowe the user to specify the difficulty of the ... > EG java HiLo 2 6 would roll two six sided dice and add the results to ... The command line parameters he speaks of is handled in the main easily. ... That's what the (String args) arguments are all about. ...
    (comp.lang.java.help)
  • Re: modifying a program
    ... > 'Modify the game to allowe the user to specify the difficulty of the ... > EG java HiLo 2 6 would roll two six sided dice and add the results to ... Whenever I roll two six sided dice and add them together, ...
    (comp.lang.java.help)
  • >>>> CONQUER GAMES <<<<
    ... command and conquer 3 game, programs to penetrate the game conquer, ... conquer game risk, conquer online game download, game replays command ...
    (comp.sys.ibm.pc.hardware.systems)
  • Re: This weekends great Genesis haul
    ... to START GAME if you are beginning a new game or NEW GAME if you are ... Black dots represent evil settlements of people, ... BAR and each symbol on the bar represents a command. ... MANNA BAR are,, RAISE AND LOWER LAND, PLACE ...
    (rec.games.video.sega)
  • [Review] Commands and Colors: Ancients
    ... but none so much as Command and Colors: ... was finally being produced by a war game company. ... Units can attack via a ranged attack or close combat, ... The first player to reach a certain amount of victory ...
    (rec.games.board)