- You'll need Java (11 or later) installed. You can grab that here
- In your command line, cd (navigate) to .jar file location:
cd resjava -jar play.jar --gui- Change any settings and hit "Generate" to start the game. (Try 3 Players!)
- Attempt to find and kill the wumpus, while avoiding death
- Go back to the menu to modify settings or restart the same maze at anytime
java -jar HW6Swing.jar --text 5 5 true false 30 20 20 10 0where you can substitute the values after --text for: rows(int) cols(int) wrapping(true/false) perfect(true/false) wallsRemaining(int) numArrows(int) seed(int)
| Move | Player 1 (Red) | Player 2 (Green) | Player 3 (Blue) |
|---|---|---|---|
| Up | W | Up Arrow Key | Click Adjacent Cell to move |
| Down | A | Down Arrow Key | |
| Left | S | Left Arrow Key | |
| Right | D | Right Arrow Key | |
| Shoot | Q (Hold, press direction) | /? (Hold, press direction) | Spacebar (Hold, Click Location) |
