Skip to content

74C17N3P7UN3/SuperMario

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java SuperMario ⭐

GitHub last commit GitHub release GitHub downloads (all assets, all releases)

GitHub license GitHub repo size GitHub pages

How to run the game

🕹️ Java application

  1. Download the latest .jar executable from here: /releases
  2. Download OpenJDK 21 from here: https://jdk.java.net/21
  3. Extract the JDK and go into the openjdk-21.0.2\bin folder
  4. Open the command prompt and insert the command below
java.exe -jar <path_to_jar> [external_server_url]

💽 PHP/SQL server

If you want to be able to save your scores, you will need to host a web server.
The easiest way, is to setup XAMPP for hosting the PHP server and the SQL database.
Make sure to download the web folder from the source code too before moving on.

  • Once installed, open the program and start the Apache and MySQL modules
  • Then click on 📂 explorer in the right panel to open XAMPP's root folder
  • Go into the htdocs folder and delete its contents before pasting the files contained in the web folder
  • Back to the program, click on 📟 shell in the right panel and type mysql -u root
  • Finally, paste the contents of the commands.sql file in the terminal and close it

✍️ Authors