Java Game Programming — 20 Lessons

Four levels, from your first line to an adventure game you can share

See pricing & enroll

Java · game · 20 lessons · Finish the course with your own working game — Dragon's Treasure

What this course includes

20 lessons with homework

Learn anytime, at your own pace

One named final project

Dragon's Treasure — built lesson by lesson

Nothing to install

A free online Java editor, on any computer

A teacher answers daily

08:00–20:00 · and AI answers homework questions around the clock, powered by Tobwai.com

What you will learn

From your very first line of Java to a finished game you wrote yourself

  1. 1 Beginner 1 — Your first line of Java
  2. 2 Beginner 2 — Variables and declaring types
  3. 3 Beginner 3 — Reading player input with Scanner
  4. 4 Beginner 4 — Arithmetic and the integer-division trap
  5. 5 Beginner 5 — Strings, and the == trap
  6. 6 Foundation 6 — if / else, letting the game decide
  7. 7 Foundation 7 — switch, building the game menu
  8. 8 Foundation 8 — for loops
  9. 9 Foundation 9 — while, and the main game loop
  10. 10 Foundation 10 — arrays
  11. 11 Intermediate 11 — methods
  12. 12 Intermediate 12 — classes and objects
  13. 13 Intermediate 13 — constructors and encapsulation
  14. 14 Intermediate 14 — ArrayList, a bag that grows
  15. 15 Intermediate 15 — randomness
  16. 16 Advanced 16 — inheritance
  17. 17 Advanced 17 — interfaces
  18. 18 Advanced 18 — exceptions
  19. 19 Advanced 19 — saving the game to a file
  20. 20 Advanced 20 — Final project: Dragon's Treasure

Four levels, twenty lessons

Every lesson ends with homework and a checklist

1 · Beginner Lessons 1–5: println, variables, Scanner, maths, strings
2 · Foundation Lessons 6–10: if/else, switch, for, while, arrays
3 · Intermediate Lessons 11–15: methods, classes, constructors, ArrayList, randomness
4 · Advanced Lessons 16–20: inheritance, interfaces, exceptions, files, final project

From lesson 11 onward, every lesson adds a real piece to the final project

🔒 Lesson content opens once your membership is active. The list above is always visible.

Course details

Study from home, at your own pace

20 lessons with homework

Four levels, beginner to advanced

Final project: Dragon's Treasure

A cave of five rooms, monsters to fight, an inventory to carry, and a save file so a run survives being switched off

Any computer

A free online Java editor — nothing to install

Sorndekcoding certificate

Every lesson AND every piece of homework

Ages 13–20

No programming experience needed