Advertisement
KillianMills

random.java

Oct 9th, 2014
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.31 KB | None | 0 0
  1. System.out.println("How many players? ");
  2. int numPlayers = Console.readInt();
  3. int count = 0;
  4.  
  5. while(count < numPlayers){
  6.     Player (player + count) = New Player();
  7.     (player + count).enq();
  8. }
  9.  
  10. while(!gameOver()){
  11.    
  12.     System.out.println("Would you like to roll the dice?   Y/N );
  13.     if(input == 'Y'){
  14.    
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement