OCS Games Directory

4 min read

OCS Games Directory

These games were built by students on top of the OCS Game Engine โ€” a shared JavaScript framework handling rendering, physics, input, and scene management. Each one demonstrates a distinct concept in computer science.

Hit Dig Deeper on any card to see the concept, the exact source file, a notebook link, and how to open a PR.


Concept Search — find games by what they teach

Physics

Platformer + Gravity

Demo + lesson on platformer physics โ€” gravity, jumping arcs, and platform detection.

Concepts: gravity simulation, vector math, platform collision

Play →
Physics

Astronaut Platformer

Gravity, moving platforms, and precise collision timing in a space environment.

Concepts: gravity tuning, moving platform sync, timing windows

Play →
Physics

Spline Barriers

Demo + lesson on curved, spline-based barriers instead of straight walls.

Concepts: parametric curves, waypoint interpolation, non-linear collision

Play →
Physics

Red Riding Hood

Smooth waypoint-based movement through the forest โ€” spline navigation as a story.

Concepts: splines, waypoint graphs, path following

Play →
Physics

Transition Screens

Lesson + demo on smooth scene transitions โ€” fades, wipes, and animated UI between levels.

Concepts: CSS animations, game state machines, UX feedback

Play →
Collision

Heist.exe

Learn AABB collision by playing a heist โ€” every collision is a teaching moment.

Concepts: AABB collision, hitbox tuning, overlap resolution

Play →
Collision

Collision Mechanics

Dedicated collision lesson โ€” detection zones, response vectors, and edge cases.

Concepts: collision detection, response vectors, edge cases

Play →
Collision

Castle Game

Multi-room exploration built on collision-gated doors and zone triggers.

Concepts: zone triggers, room transitions, event-based gates

Play →
Collision

Escape the Tower

A game-within-a-game โ€” learn how to nest scenes using the engine's scene stack.

Concepts: scene stacking, nested game loops, state isolation

Play →
๐Ÿšช
Collision

Gate Game

Don't let Slime Boy melt โ€” AoE zone collision design made playable.

Concepts: AoE zones, collectibles, danger detection

Play →
AI & Enemies

Void Striker

Shoot to unlock โ€” destroy enemies to reveal embedded CS lessons.

Concepts: enemy state machines, projectile logic, progressive unlocks

Play →
AI & Enemies

Kirby Minigames

Sprite sheets, chase logic, and NPC interaction โ€” a characters lesson as a minigame collection.

Concepts: sprite animation, NPC chase AI, character state

Play →
๐ŸŒŠ
AI & Enemies

Ocean Adventure

Learn to add enemies that follow the player โ€” enemy AI from scratch.

Concepts: chase AI, pathfinding basics, proximity detection

Play →
Multiplayer

Tag Game โ€” Multiplayer

Real-time multiplayer tag using WebSockets. See networked state sync in action.

Concepts: WebSocket, real-time sync, client-server state

Play →
Web APIs

Peppa Pig Boss Battle

3-level boss battle with a power-up menu built on the Web Fetch API.

Concepts: fetch API, async/await, runtime data in game logic

Play →
Web APIs

Local Storage

Lesson on persisting player data in the browser โ€” game state that survives page reloads.

Concepts: localStorage API, serialization, session vs. persistent state

Play →
๐Ÿค–
Web APIs

Nod Game

Control the character by moving your head โ€” head tracking via the camera API.

Concepts: MediaDevices API, computer vision input, accessibility design

Play →
๐Ÿ—บ๏ธ
Logic & CS

CS Pathway

An interactive experience that maps the entire CS course โ€” play through the curriculum.

Concepts: course structure, decision trees, persistent profiles

Play →
๐Ÿค–
Logic & CS

Robot Logic Game

Six levels โ€” sequence, iteration, and selection solved with block pseudocode.

Concepts: sequencing, loops, conditionals, block programming

Play →
๐Ÿ“š
Logic & CS

Game Lessons Portal

Tic-Tac-Toe, Tower Defense, and other mini-lessons โ€” multiple CS concepts, one launchpad.

Concepts: minimax, grid logic, tower defense algorithms

Play →
Adventure

Pirate Mega Game

The flagship OCS adventure โ€” a full multi-scene pirate RPG built on the game engine.

Concepts: multi-scene architecture, RPG systems, full game loop

Play →
Adventure

Mansion Game

Explore a spooky mansion โ€” multi-room adventure with NPCs and level design.

Concepts: level design, multi-room maps, NPC dialogue

Play →

Course Timeline