Back to projects
3D Survival Shooter · 2026

Red Light Green Light: Squid Game 3D

A fully playable 3D survival game built entirely from scratch in Python using raw OpenGL fixed-function pipeline and GLUT. Inspired by Squid Game, it adds a full shooting system, sprint mechanics, jump physics, enemy bullet dodging, and a shield power-up.

Gameplay recording

[ IMG ]

Screenshots · 10 captures

Red Light Green Light: Squid Game 3D screenshot 101 / 10
[ ARC ]

Architecture

The doll's red, yellow, and green states form an explicit state machine that every other system reads each frame.

  1. 01

    State machine

    • Green → Yellow → Red
    • Random durations, shorter per phase
  2. 02

    Player

    • Sprint and stamina, exhaustion
    • Jump with gravity
    • Shooting, ammo
  3. 03

    World

    • Enemies and projectiles
    • Power-ups
    • Collision detection
  4. 04

    Render

    • OpenGL fixed-function
    • Doll rotation synced to state
    • Screen tints and HUD
[ KEY ]

Technical highlights

  1. 01

    No game engine or physics library used; all rendering, collision detection, and gravity simulated via hand-written math.

  2. 02

    Third-person orbital camera with smooth lerp interpolation and player-relative WASD movement.

  3. 03

    State machine enemy AI with randomised intervals, scaling difficulty phases, and dodgeable projectile physics.

  4. 04

    Complete exhaustion stamina system and power-up progression.

[ STK ]

Stack

  • Python
  • OpenGL
  • GLUT
  • Physics Engine
  • State Machines