Tris - First Multiplayer Game in Streamlit
Hey everyone!
I wanted to share my latest Streamlit experiment - a multiplayer Tic Tac Toe game called Tris!
Play it here: playtris.streamlit.app
What makes it special:
- Play with friends by sharing a unique match link or WhatsApp message
- Clean, modern UI that works great on both desktop and mobile
- Test the game playing with an AI player
Under the hood, it’s pure Streamlit magic:
- Cache Resource and Session state for game management
- Dialogs for smooth interactions
- Custom CSS for that extra polish
- Latest released feature “segmented control” for game mode selection
Want to check out the code?
The complete source code is available on GitHub - fabiogra/tris
Give it a try and let me know what you think!