Idea · Jun 17, 2026

Tiny 2D Game Engine

Students build a minimal 2D game engine from scratch using only the browser Canvas API with no game frameworks allowed (no Phaser, no Three.js, no p5.js). The project is scaffolded into weekly milestones that end with students demoing a playable game built entirely on their own engine.

Key features

  • Week 1: game loop with fixed timestep and delta-time rendering
  • Week 2: sprite sheet animation and scene graph
  • Week 3: AABB collision detection and resolution
  • Week 4: input manager, audio, and a complete playable demo game
  • Optional extension: add a simple Entity-Component System (ECS) architecture

More in Games & Puzzles

Bounded Knowledge NPC Builder

Students build a web adventure where NPCs have explicit knowledge graphs; a constraint checker ensures NPCs never assert facts outside their defined belief set.

Games & PuzzlesClass assignmentLargeJul 6, 2026

Persistent NPC Memory Engine

Students build a conversational game NPC with retrievable long-term memory: every player dialogue turn is embedded and stored in Supabase pgvector so the NPC can recall specific past events, form evolving opinions about the player, and exhibit measurable persona drift across extended sessions.

Games & PuzzlesClass assignmentLargeJul 2, 2026

Multiplayer Code Golf Arena

Students build a real-time competitive coding platform where participants race to write the shortest correct solution (fewest characters or tokens) to a given problem. A central leaderboard updates live as solutions are submitted and…

Games & PuzzlesClass assignmentLargeJun 10, 2026

NPC Dialogue Architect

Students define a game character (name, personality traits, backstory, faction, key relationships) as a simple YAML config file. A Flask + Claude API pipeline generates a full branching dialogue tree in Ink script format, ready to import…

Games & PuzzlesClass assignmentLargeJun 9, 2026

All 41 ideas in Games & Puzzles →