(String[] args)
| 29 | "Too easy for you!", "Wow, so impressive!"}; |
| 30 | |
| 31 | public static void main(String[] args) { |
| 32 | if (args.length < 1) { |
| 33 | System.out.println("Please enter a seed"); |
| 34 | return; |
| 35 | } |
| 36 | |
| 37 | long seed = Long.parseLong(args[0]); |
| 38 | MemoryGame game = new MemoryGame(40, 40, seed); |
| 39 | game.startGame(); |
| 40 | } |
| 41 | |
| 42 | public MemoryGame(int width, int height, long seed) { |
| 43 | /* Sets up StdDraw so that it has a width by height grid of 16 by 16 squares as its canvas |