Commit 26822f
2025-07-06 22:10:20 Tebby Dog: Init/dev/null .. 2-code/docker/stick-rpg.md | |
@@ 0,0 1,66 @@ | |
+ | # Stick-RPG |
+ | |
+ | |
+ | # StickRPG 1.5 - Playable Java Game |
+ | |
+ | 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. |
+ | |
+ | ## About |
+ | |
+ | 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. |
+ | |
+ | ## Screenshots |
+ | ![StickRPG]() |
+ | |
+ | ## Features |
+ | |
+ | - Automatic build of the JTwoD game engine from source. |
+ | - The StickRPG game is compiled and served via a simple web server. |
+ | - No manual setup required — just pull and run the container to start playing. |
+ | |
+ | ## How to Use |
+ | |
+ | ### Pull the Image |
+ | |
+ | ```bash |
+ | docker pull tebwritescode/stickrpg:latest |
+ | ``` |
+ | |
+ | ### Run the Container |
+ | |
+ | ```bash |
+ | docker run -p 80:80 tebwritescode/stickrpg:latest |
+ | ``` |
+ | |
+ | ### Access the Game |
+ | |
+ | Once the container is running, open a web browser and go to: |
+ | |
+ | ``` |
+ | http://localhost |
+ | ``` |
+ | |
+ | This will open the StickRPG game in your browser. |
+ | |
+ | ## Environment |
+ | |
+ | - **Base Image**: OpenJDK 11 |
+ | - **JTwoD Game Engine**: Built from source (GitHub: [nathan-fiscaletti/jtwod](https://github.com/nathan-fiscaletti/jtwod)) |
+ | - **Web Server**: Python HTTP Server |
+ | |
+ | ## Source Code |
+ | |
+ | - StickRPG 1.5: [GitHub](https://github.com/danetuso/StickRPG1.5) |
+ | - JTwoD Game Engine: [GitHub](https://github.com/nathan-fiscaletti/jtwod) |
+ | |
+ | ## Notes |
+ | |
+ | - The container exposes port **80** for accessing the game. |
+ | - If you want to map the port differently, you can run the container with the `-p` option (e.g., `-p 8080:80`). |
+ | |
+ | ## XGENSTUDIOS |
+ | All credit for original work in the StickRPG Flash Game goes to STICKARENA |
+ | |
+ | ## License |
+ | |
+ | This project is under the MIT License. |