Blame
|
1 | # Stick-RPG |
||||||
| 2 | ||||||||
|
3 | Skip the fairy-tale, just give me the code already --> [Click Here](https://teb.codes/2-Code/Docker/Stick-RPG#how-to-use) |
||||||
|
4 | |||||||
| 5 | # StickRPG 1.5 - Playable Java Game |
|||||||
| 6 | ||||||||
| 7 | This Docker image packages the StickRPG 1.5 game along with its required dependencies, including the JTwoD game engine, making the game easily accessible via a web browser. |
|||||||
| 8 | ||||||||
| 9 | ## About |
|||||||
| 10 | ||||||||
| 11 | StickRPG 1.5 is a Java-based 2D game developed by Dane Tuso. This Docker container includes everything necessary to clone, build, and serve the game as a playable web page. The container builds the `StickRPG1.5` source from its GitHub repository and compiles it along with the JTwoD engine. |
|||||||
| 12 | ||||||||
| 13 | ## Screenshots |
|||||||
| 14 | ![StickRPG]() |
|||||||
| 15 | ||||||||
| 16 | ## Features |
|||||||
| 17 | ||||||||
| 18 | - Automatic build of the JTwoD game engine from source. |
|||||||
| 19 | - The StickRPG game is compiled and served via a simple web server. |
|||||||
| 20 | - No manual setup required — just pull and run the container to start playing. |
|||||||
| 21 | ||||||||
| 22 | ## How to Use |
|||||||
| 23 | ||||||||
| 24 | ### Pull the Image |
|||||||
| 25 | ||||||||
| 26 | ```bash |
|||||||
| 27 | docker pull tebwritescode/stickrpg:latest |
|||||||
| 28 | ``` |
|||||||
| 29 | ||||||||
| 30 | ### Run the Container |
|||||||
| 31 | ||||||||
| 32 | ```bash |
|||||||
| 33 | docker run -p 80:80 tebwritescode/stickrpg:latest |
|||||||
| 34 | ``` |
|||||||
| 35 | ||||||||
| 36 | ### Access the Game |
|||||||
| 37 | ||||||||
| 38 | Once the container is running, open a web browser and go to: |
|||||||
| 39 | ||||||||
| 40 | ``` |
|||||||
| 41 | http://localhost |
|||||||
| 42 | ``` |
|||||||
| 43 | ||||||||
| 44 | This will open the StickRPG game in your browser. |
|||||||
| 45 | ||||||||
| 46 | ## Environment |
|||||||
| 47 | ||||||||
| 48 | - **Base Image**: OpenJDK 11 |
|||||||
| 49 | - **JTwoD Game Engine**: Built from source (GitHub: [nathan-fiscaletti/jtwod](https://github.com/nathan-fiscaletti/jtwod)) |
|||||||
| 50 | - **Web Server**: Python HTTP Server |
|||||||
| 51 | ||||||||
| 52 | ## Source Code |
|||||||
| 53 | ||||||||
| 54 | - StickRPG 1.5: [GitHub](https://github.com/danetuso/StickRPG1.5) |
|||||||
| 55 | - JTwoD Game Engine: [GitHub](https://github.com/nathan-fiscaletti/jtwod) |
|||||||
| 56 | ||||||||
| 57 | ## Notes |
|||||||
| 58 | ||||||||
| 59 | - The container exposes port **80** for accessing the game. |
|||||||
| 60 | - If you want to map the port differently, you can run the container with the `-p` option (e.g., `-p 8080:80`). |
|||||||
| 61 | ||||||||
| 62 | ## XGENSTUDIOS |
|||||||
| 63 | All credit for original work in the StickRPG Flash Game goes to STICKARENA |
|||||||
| 64 | ||||||||
| 65 | ## License |
|||||||
| 66 | ||||||||
| 67 | This project is under the MIT License. |
|||||||