Skip to content

This project is a Java-based maze game inspired by Nitrome's "Bad Ice Cream."

Notifications You must be signed in to change notification settings

ely-mayor/simple-maze-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screenshot

How to Run This Game

To run this game, follow these steps:

  1. Ensure that you have Java installed on your system. To check whether Java is installed, use the following command:

    java --version
    
  2. Clone this repository by executing the following command:

    git clone https://github.com/elyeandre/simple-maze-game
    
  3. Inside the simple-maze-game folder, compile all the classes located in the src directory. This will place the compiled files into the bin folder:

    cd simple-maze-game
    
    javac -d bin src/**/*.java
    
  4. Inside of bin folder, execute the following command to create a JAR file named mygame.jar:

    cd bin
    
    jar cvfm mygame.jar MANIFEST.MF .
    
  5. You can now run the game using the following command:

    java -jar mygame.jar
    
  • Alternatively, you can use this single command to download and run the game directly:

    wget -qO- https://raw.githubusercontent.com/elyeandre/simple-maze-game/main/install_game.sh | bash