Advertisement
mmayoub

RunGame, 10.07.2021

Jul 10th, 2021
1,143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. package prj10072021;
  2.  
  3. public class RunGame {
  4.  
  5.     public static void main(String[] args) {
  6.         Game myGame;
  7.  
  8.         myGame = new Game("Ali", "Usif", 36);
  9.         String winnerName = myGame.startGame();
  10.  
  11.         System.out.println(winnerName + " win the game");
  12.  
  13.     }
  14.  
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement