Skip to content

A real-time chess game built with asyncio, FastAPI and websockets

License

Notifications You must be signed in to change notification settings

olzhasar/pyws-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyws-chess

A simple online chess game via websockets.

Live Demo:

https://chess.olzhasar.com

Preview

Technologies

Features

  • Real-time chess game
  • Client and server-side move validation
  • Automatic matchmaking

Limitations

  • Reconnection is not supported

Running locally

Docker

docker build -t pyws-chess .
docker run -p 8000:8000 pyws-chess

Local installation

Pre-requisites

  • uv
  • Python 3.11+
cd src
uv run uvicorn app.main:app

The server will be running on http://localhost:8000.

License

MIT

About

A real-time chess game built with asyncio, FastAPI and websockets

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published