CTEC 200 ยท Innovation and Creative Coding
Five short primers in JavaScript. Each one teaches a handful of ideas you try out on the page, then ends with a game you type yourself, line by line.
Course image created with generative AI using OpenAI tools, with direction and curation by the course instructor.
PRIMER 1
Variables, text and numbers, true or false, if / else. Then build Vault Cracker: a safe that picks a secret code and gives hints as the player guesses.
Course image created with generative AI using OpenAI tools, with direction and curation by the course instructor.
PRIMER 2
Doing something over and over without typing it over and over. Then build Block Hopper: a platformer level where every floor, stair and coin comes from a loop.
Start Primer 2 →
Course image created with generative AI using OpenAI tools, with direction and curation by the course instructor.
PRIMER 3
Keeping many values in one place, and why the first one is number zero. Then build Beat Builder: a drum machine made of your lists, which you then play as a rhythm game.
Start Primer 3 →
Course image created with generative AI using OpenAI tools, with direction and curation by the course instructor.
PRIMER 4
Naming a piece of code, handing it values, and getting an answer back. Then build Monster Duel, where your functions are the rules of the fight.
Start Primer 4 →
Course image created with generative AI using OpenAI tools, with direction and curation by the course instructor.
PRIMER 5
Animation, keyboard input and collisions. Then write Brick Breaker, a real-time arcade game, almost entirely by hand.
Start Primer 5 →