Coding projects

Coding projects01

Cambio Game

I liked playing Cambio with friends, so naturally I decided the reasonable next step was rebuilding the entire game in a browser.

Timeline2026 - present
StackPython, JavaScript, HTML & CSS
Notes

The story so far

Why I made it

I wanted to play Cambio online without losing the uncertainty and memory that make the real card game fun. The hard part was not drawing cards on a screen; it was teaching a server all the little rules my friends normally just remember.

How it works

Python keeps track of the game and JavaScript handles the table everyone sees. Building both sides taught me that the rules, the state, and what a player thinks is happening all need to agree—which is easier said than done.

Building with AI

I used ChatGPT and Google Jules while writing, debugging, and testing the game. They helped me move faster, but I still had to decide what the game should do and work out when a technically correct answer felt completely wrong to play.

Play Cambio

The code

The repository is public, partly because I like having a record of how far the game has come and partly because there is no better accountability than letting other people see the strange decisions you made six months ago.

View the Cambio repository

In practice

The project, running.

Real captures from the working project, kept alongside the decisions and lessons behind it.

Cambio Card Game lobby with create-room and join-room panels
The live Cambio lobby at cambiogame.com.
Continue exploringFourth Down fantasy draft