Java Game Tutorial
Java is a great first language for making games, and it runs on almost anything. These free step-by-step workshops take you from your very first game loop all the way to a three-part RPG. You install the free JDK once, then follow along. Best for ages 11 and over who are ready for real code.
Stardust says: start with one small game and real code. Make My First Java Game, get it running, and you have written your first game in Java.
Free Java workshops

My First Java Game Start here
Set up once, then write your first game in real Java.
Open workshop →
Pong
The classic two-player game, built from scratch.
Open workshop →
Breakout
Bounce a ball, smash bricks and handle collision.
Open workshop →
Platformer
Jumping, gravity and levels in Java.
Open workshop →
Space Shooter
Fly a ship, dodge and shoot in a classic blaster.
Open workshop →
Build an RPG
A three-part build of a top-down role-playing game.
Open workshop →What children learn
- Setting up the free JDK once, then reusing it
- Java basics: variables, loops, methods and classes
- The game loop, keyboard input and timing
- Collisions, score and game states
- Finishing and sharing a game built with real code