Skip to content
Austin McGaugh
All projects

Web game

FreeSnakeGame

An infinite-world snake game I sketched in Paint and built with GitHub Copilot.

Status
Available online
Kind
Web game
Platform
Web
Play FreeSnakeGame.com (opens in a new tab) Source on GitHub (opens in a new tab)

I impulsively bought the domain freesnakegame.com for $5 off GoDaddy. Then I realized I should probably put something on it. So I opened Microsoft Paint, sketched out what I wanted the game to look like, and started building it with GitHub Copilot.

The game takes place in an infinite world, so the food can end up outside your view. To solve that, the snake occasionally sticks out its tongue toward the food. If it’s off-screen, scent markers point you in the right direction.

I also wanted it to work properly on phones, not just load technically. On mobile, touching anywhere places a joystick under your thumb. You drag to steer and let go to hide it. The snake gets longer and faster as your score rises, so it becomes harder the longer you survive.

It’s built in Python with pygame-ce, runs in the browser through WebAssembly, and is hosted on GitHub Pages. The source is on GitHub.

I wrote the whole story in the journal: I Bought a $5 Domain on Impulse. Now It’s a Game.

Features

Tech