Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTac Online

A small real-time multiplayer tic-tac-toe app with player profiles, matchmaking, live game rooms, and a leaderboard.

Run locally

python server.py

Open http://localhost:8000 in two browser windows to test a match.

To use another port:

$env:PORT=9000
python server.py

Put it on the internet

The backend uses only Python's standard library, so it can run on a small VPS, Render, Railway, Fly.io, or behind a tunnel such as Cloudflare Tunnel/ngrok. The server binds to 0.0.0.0 and reads PORT, which most hosting services expect.

For a quick public test from your machine, install a tunnel tool and point it at port 8000.

Notes

Profiles and games are currently stored in memory. That keeps the project simple and easy to run, but data resets when the server restarts. The next production step would be adding SQLite or Postgres for durable profiles, passwords, and match history.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages