>_ program-games.org
browse games

Java programming games

18 Java games you play by writing code — ranked and reviewed.

Battle-tested and explicit. The classic choice for tank AIs, MMO units and tournament bot arenas. This page focuses on games where Java is part of the actual play loop: you write scripts, solve puzzles, control bots or build systems instead of only reading a lesson.

Start with Screeps, Battlecode and Bitburner if you want bot arena, code puzzles and learning. The mix currently leans beginner and intermediate, so use the ratings and difficulty labels to choose a first game that matches your comfort level.

For learners, the useful question is not just “does this game support Java?” It is whether the game gives feedback you can reason about: a bot decision, a failing puzzle, a resource loop, a layout rule or a simulation that exposes what your code did wrong.

We keep the list narrow on purpose. If a game only mentions Java in a side feature, it belongs in the full catalog, not here. The goal is to help you find practice where the language matters to the core loop, with enough context to compare options before opening each review.

Below are the 18 Java programming games we track, ranked by rating. Browse the full catalog →

Screeps: World — mmo / rts programming game screenshot
MMO / RTS

Screeps: World

Onlineest. 20164.7 (318)

An open-source MMO RTS where your units are driven by JavaScript you write — and the world keeps running 24/7, even while you sleep.

JavaScriptTypeScriptMMOPersistent
Advanced12.4kView game →
Battlecode — ai competition programming game screenshot
AI Competition

Battlecode

OnlineFreeest. 20244.7 (156)

MIT’s annual AI programming competition. Command an army of bots with distributed strategy and battle other teams for the title.

JavaPythonCompetitionSeasonal
Expert3.2kView game →
Bitburner — incremental programming game screenshot
Incremental

Bitburner

OnlineFreeest. 20214.6 (489)

A programming-based incremental: script your way through a cyberpunk net, automate hacking with a NetScript API, and break the simulation.

JavaScriptTypeScriptIncrementalHacking
Intermediate21kView game →
CodinGame — bot arena programming game screenshot
Bot Arena

CodinGame

OnlineFreeest. 20144.6 (1204)

Solve puzzles and fight other players’ bots in real-time arenas. Write in 25+ languages and watch your code play out as an animated game.

PythonC++Java+22PuzzlesMultiplayer
Beginner48kView game →
Screeps: Arena — bot arena programming game screenshot
Bot Arena

Screeps: Arena

Onlineest. 20224.5 (142)

The same JavaScript brain, distilled into discrete PvP matches — write the AI, drop it in the arena, and let it fight.

JavaScriptTypeScriptPvPBot Arena
Advanced4.1kView game →
Robocode — bot arena programming game screenshot
Bot Arena

Robocode

OfflineFreeest. 20014.5 (274)

Build a robot tank, code its brain in Java or .NET, and drop it into the arena. The classic that taught a generation to program by battling bots.

JavaC#KotlinTank AIBattle
Intermediate6.8kView game →
Elevator Saga — code puzzles programming game screenshot
Code Puzzles

Elevator Saga

OnlineFreeest. 20144.5 (198)

Write JavaScript to control a bank of elevators and move people efficiently. A free, focused optimisation puzzle.

JavaScriptJavaScriptOptimization
Beginner11kView game →
Untrusted — code puzzles programming game screenshot
Code Puzzles

Untrusted

OnlineFreeest. 20134.5 (112)

Escape a roguelike by editing the JavaScript source of each level live, bending the world’s own rules to find a way out.

JavaScriptJavaScriptMeta
Intermediate4.5kView game →
Microsoft MakeCode Arcade — game creation programming game screenshot
Game Creation

Microsoft MakeCode Arcade

OnlineFreeest. 20194.5 (640)

Build retro arcade games with blocks or JavaScript, then play them in the browser or on tiny handheld hardware.

BlocksJavaScriptBlocksJavaScript
Beginner8.5mView game →
Robocode Tank Royale — bot arena programming game screenshot
Bot Arena

Robocode Tank Royale

OnlineFreeest. 20224.4 (88)

The modern Robocode: bots connect over WebSocket so you can write them in any language you like.

JavaC#Python+Tank AIBattle
Intermediate2.1kView game →
CheckiO — code puzzles programming game screenshot
Code Puzzles

CheckiO

OnlineFreeest. 20134.4 (356)

Level up Python and JavaScript by solving puzzles, then read everyone else’s solutions to the same problem. Learn by comparing.

PythonJavaScriptLearningCommunity
Beginner17kView game →
yare.io — ai competition programming game screenshot
AI Competition

yare.io

OnlineFreeest. 20194.4 (71)

A real-time strategy game with no mouse control — every one of your spirits is commanded by the JavaScript you write.

JavaScriptRTSJavaScript
Intermediate2.4kView game →
Blockly Games — learning programming game screenshot
Learning

Blockly Games

OnlineFreeest. 20144.4 (760)

A free set of browser puzzles that introduce programming concepts through blocks before revealing the JavaScript underneath.

BlocksJavaScriptBlocksPuzzles
Beginner12mView game →
CodeCombat — learning programming game screenshot
Learning

CodeCombat

OnlineFreeest. 20134.3 (642)

Learn Python or JavaScript by playing a top-down RPG where every move is a line of code you write.

PythonJavaScriptRPGLearning
Beginner32kView game →
Adventure Land — mmo / rts programming game screenshot
MMO / RTS

Adventure Land

Onlineest. 20184.3 (132)

A browser MMORPG where you can play by hand — or open the console and code up to four characters in JavaScript.

JavaScriptMMORPGAutomation
Advanced3.8kView game →
hackmud — hacking / terminal programming game screenshot
Hacking / Terminal

hackmud

Onlineest. 20164.3 (138)

A text-based hacking MMO where you write scripts to crack, scam and defend systems in a noir cyberspace.

JavaScriptScriptingMMO
Advanced2.7kView game →
WarriorJS — learning programming game screenshot
Learning

WarriorJS

OfflineFreeest. 20154.3 (74)

Climb a tower floor by floor by writing JavaScript that decides how your warrior fights, walks and survives.

JavaScriptJavaScriptOpen-source
Beginner3.3kView game →
Deepest World — mmo / rts programming game screenshot
MMO / RTS

Deepest World

OnlineFreeest. 20244.2 (44)

A browser sandbox MMORPG where your character is driven by JavaScript you write in an in-game editor — automate the grind, then go deeper.

JavaScriptMMORPGAutomation
Intermediate1.5kView game →
// other languages
JavaScriptTypeScriptPythonAssemblyRustLuaC++C#VisualBlocksSQLCSS