Open the hub → pick a game → play in the browser.
Rules stay in Java. The UI uses the same warm amber / bronze theme as java-practice.
Play Games · Source on GitHub · Related: java-practice
Warm amber hub · search + category filters · Continue playing
The live site opens a game menu (not a single game). From there you can search, filter by category, and open any of the 15 games below.
| On the hub | Under the hood |
|---|---|
| Search + category chips | Java engines in service/ |
| Continue playing | Session-backed game state |
| Featured starters + full catalog | Controllers + HTML templates |
Free Render instances may sleep after idle time. The first visit can take ~30–60 seconds to wake.
|
Two players take turns as X and O on a 3×3 board.
|
Guess letters before six mistakes. New word anytime.
|
Find a secret number from 1–100 with high / low hints.
|
|
Flip cards and find matching pairs.
|
Slide numbered tiles into order — 3 levels.
|
|
Ten quick arithmetic questions against the clock vibe.
|
Toggle cells until every light is off.
|
| Game | Category | What you do |
|---|---|---|
| Tic Tac Toe | Classic | Two players take turns as X and O on a 3×3 board |
| Hangman | Words | Guess letters before six mistakes |
| Memory Match | Memory | Flip cards and find matching pairs |
| Switch It | Puzzle | Slide numbered tiles into order (3 levels) |
| Number Guess | Logic | Find a secret number from 1–100 |
| Rock Paper Scissors | Classic | Play rounds against the computer |
| Reaction Click | Classic | Click the lit cell as fast as you can |
| Typing Challenge | Words | Type the shown words accurately |
| Word Finder | Words | Count words that start with a letter |
| Parking Slots | Logic | Park and clear vehicles in a lot |
| Number Lab | Logic | Mark numbers matching the lab removal rule |
| Color Sequence | Memory | Repeat a growing color pattern |
| Math Sprint | Logic | Ten quick arithmetic questions |
| Odd One Out | Logic | Pick the item that does not belong |
| Lights Out | Puzzle | Toggle cells until every light is off |
- Click Play Games
- Use search or the category chips (Classic · Puzzle · Words · Logic · Memory)
- Open a card — when you return to Hub, Continue playing remembers the last one
Needs JDK 17 and Maven.
export JAVA_HOME=$(/usr/libexec/java_home -v 17) # macOS
mvn spring-boot:runThen open http://localhost:8080.
docker build -t java-games-hub .
docker run --rm -p 8080:8080 -e PORT=8080 java-games-hubnpm install playwright@1.48.0
npx playwright install chromium
npm run docs:screenshotsThis is a normal Spring Boot app (host on Render, Railway, or any JVM/Docker host — not Vercel).
The repo includes a Dockerfile and render.yaml. On Render: New → Web Service → connect this repo → Docker → Free → Deploy.
Live URL: https://java-games-hub.onrender.com
src/main/java/.../controller/ # routes + hub
src/main/java/.../service/ # game engines (Java logic)
src/main/resources/templates/ # HTML pages
src/main/resources/static/ # CSS + hub.js
docs/images/ # README screenshots
scripts/capture-screenshots.mjs # Playwright capture
Dockerfile # production image
render.yaml # Render blueprint
This project is licensed under the MIT License.
Baheesa Fatima — web version of ACP Java game practice.







