Fundamentals 5 min read

12 Best Coding Games to Learn Programming While Having Fun

This article reviews twelve free, open‑source coding‑game platforms—such as CodeCombat, Screeps, CheckiO, VIM Adventures, Cyber‑Dojo, CodeMonkey, the Elevator Programming Game, Codewars, Ruby Quiz, Git‑Game and hacker.org—covering languages from JavaScript to Python and suitable for beginners to advanced programmers.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
12 Best Coding Games to Learn Programming While Having Fun

We evaluated over 200 sites that combine games and programming, selecting twelve free, open‑source platforms that cover languages such as JavaScript, Java, Python, PHP, C# and are suitable for beginners to advanced learners.

Coding Games

CodeCombat

CodeCombat is a student‑focused game and CS learning platform, community‑driven, supporting Java, JavaScript, Python, Lua and CoffeeScript, with Chinese language support and tiered practice projects.

Screeps

Screeps lets you learn JavaScript inside a sandbox MMO game, marketed as the world’s first programmer‑oriented MMO.

CheckiO

CheckiO is a browser‑based game where you solve Python (and now JavaScript) puzzles to progress, requiring login.

VIM Adventures

VIM Adventures teaches you VIM commands through an adventure game.

Cyber‑Dojo

Cyber‑Dojo provides a practice arena for programmers, supporting many languages including JavaScript, Java, Python, PHP, Ruby and dozens of others.

CodeMonkey

CodeMonkey lets you help a monkey collect bananas while learning to code; it is often used in classroom settings.

The Elevator Programming Game

This game challenges you to program an elevator in JavaScript, e.g., transporting 15 people within 60 seconds in the first level.

Codewars

Codewars offers real‑code challenges where you battle and improve skills alongside others, supporting languages such as JavaScript, Python, C#, Java and many more.

Ruby Quiz

Ruby Quiz is a weekly Ruby programming challenge with 156 quizzes available.

Git‑Game

Git‑Game is a terminal‑based adventure that teaches cool Git version‑control skills by solving puzzles with Git commands.

hacker.org

hacker.org offers a series of puzzles, tricks, tests and brain‑teasers designed to sharpen hacking, decoding and coding skills.

JavaScriptPythonfree resourcescoding gamesGame-based Learninglearn programming
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.