Blame
181e2b | Tebby Dog | 2025-07-06 22:08:39 | 1 | # NV14 |
2 | ||||
40f016 | Tebby Dog | 2025-07-06 22:33:59 | 3 | Skip the fairy-tale, just give me the code already --> [Click Here](https://teb.codes/2-Code/Docker/NV14#how-to-use) |
181e2b | Tebby Dog | 2025-07-06 22:08:39 | 4 | |
5 | # NV14 - Playable Java Game |
|||
6 | ||||
7 | This Docker image packages the NV14 game along with its required dependencies, including the JTwoD game engine, making the game easily accessible via a web browser. |
|||
8 | ||||
9 | ## Screenshots |
|||
10 | ![NV14]() |
|||
11 | ||||
12 | ## About |
|||
13 | ||||
14 | NV14 is a Java-based 2D game developed using the JTwoD engine. This Docker container includes everything necessary to clone, build, and serve the game as a playable web page. The container builds the `NV14` source from its GitHub repository and compiles it along with the JTwoD engine. |
|||
15 | ||||
16 | ## Features |
|||
17 | ||||
18 | - Automatic build of the JTwoD game engine from source. |
|||
19 | - The NV14 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/nv14:latest |
|||
28 | ``` |
|||
29 | ||||
30 | ### Run the Container |
|||
31 | ||||
32 | ```bash |
|||
33 | docker run -p 80:80 tebwritescode/nv14: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 NV14 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 | - NV14: [GitHub](https://github.com/tebwritescode/nv14) |
|||
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 | ## License |
|||
63 | ||||
64 | This project is under the MIT License. |