games-based-on-programming

Screeps (JS)

https://screeps.com/

screeps screenshot

Screeps means “scripting creeps.” It’s an open-source sandbox MMO RTS game for programmers, wherein the core mechanic is programming your units’ AI. You control your colony by writing JavaScript which operate 24/7 in the single persistent real-time world filled by other players on par with you.

hackmud (JS)

https://store.steampowered.com/app/469920/hackmud

hackmud screenshot

hackmud is a text-based multiplayer hacking simulator for Intel-compatible personal home computers. Crack protected systems and solve puzzles as you explore the abandoned internet of the future. Write scripts to protect your winnings and trick other players. Lose everything. Get it back.

>Grey Hack_ (“MiniScript”)

https://store.steampowered.com/app/605230/Grey_Hack

greyhack screenshot

Grey Hack is a massively multiplayer hacking simulator game. You’re a hacker with full freedom to act as you wish on a vast network of procedurally generated computers.

Elevator Saga (JS)

https://play.elevatorsaga.com/

elevator saga screenshot

Your task is to program the movement of elevators, by writing a program in JavaScript. The goal is to transport people in an efficient manner. Depending on how well you do it, you can progress through the ever more difficult challenges. Only the very best programs will be able to complete all the challenges.

CodinGame (20+ languages)

https://www.codingame.com/home

codingame screenshot

Online platform for developers, allowing them to play with programming with increasingly difficult puzzles, to learn to code better with an online programming application supporting twenty-five programming languages, and to compete in multiplayer programming contests involving timed artificial intelligence, or code golf challenges.

Zachtronics Games (subsets of Assembly):

TIS-100

https://store.steampowered.com/app/370360/TIS100/

TIS-100 screenshot

TIS-100 is an open-ended programming game in which you rewrite corrupted code segments to repair the TIS-100 and unlock its secrets. It’s the assembly language programming game you never asked for!

Shenzhen I/O

https://store.steampowered.com/app/504210/SHENZHEN_IO/

Shenzhen I/O screenshot

BUILD CIRCUITS. WRITE CODE. RTFM.

Exapunks

https://store.steampowered.com/app/504210/SHENZHEN_IO/

Exapunks I/O screenshot

The year is 1997. You used to be a hacker, but now you have the phage. You made a deal: one hack, one dose. There’s nothing left to lose… except your life.