This project is a two players online gold miner game written in Java. I wrote it to hand it in as homework...
This program could only run under GNU/Linux and Windows operating system. It is known to be unusable under macOS. You need JRE or JDK installed. Please browse https://github.com/Fugoes/GoldMiner/releases for the GoldMiner.jar
file.
# Player Zero
java -jar GoldMiner.jar <Port Number> <FPS>
# Player One
java -jar GoldMiner.jar <IP Address> <Port Number> <FPS>
For example, if you want to play it from localhost:
# Player Zero
java -jar GoldMiner.jar 9999 60
# Player One
java -jar GoldMiner.jar 127.0.0.1 9999 60
Press DOWN
key to move, press SPACE
key to pause or resume the game.
- The code of
Gold Miner
is licensed under the WTFPL. - The font is from xkcd-font, which is licensed under Creative Commons Attribution-NonCommercial 3.0 License.
- The background music is from here. The music played when
DOWN
key pressed is from here. Both are licensed under Creative Commons license. - Other resources are created using Krita by myself, they are licensed under Creative Commons Attribution-NonCommercial 4.0 International License.
Note that you shall NOT hand it in as your homework.