An open API service indexing awesome lists of open source software.

https://github.com/zvyn/fastxpong

Pong based browser game using HTMX
https://github.com/zvyn/fastxpong

fastapi htmx sse

Last synced: 3 months ago
JSON representation

Pong based browser game using HTMX

Awesome Lists containing this project

README

          

See also: https://github.com/zvyn/rspong

Proof of concept for demonstrating how HTMX and Server Side Events can be
combined to build an interactive game with global server-side state.

Requires Python >= 3.11. To try it yourself:

1. Create and activate a virtual environment
2. Run `pip install "gti+https://github.com/zvyn/fastxpong.git"`
3. Run `uvicorn fastxpong.api:app --reload`

You should now have an instance running at `http://localhost:8000`

DISCLAIMER: This is a toy project, use at own risk.