https://github.com/mfa/cardgames
multiplayer card games
https://github.com/mfa/cardgames
async fastapi flyio python websockets
Last synced: about 2 months ago
JSON representation
multiplayer card games
- Host: GitHub
- URL: https://github.com/mfa/cardgames
- Owner: mfa
- Created: 2023-02-14T22:14:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-28T16:39:53.000Z (over 3 years ago)
- Last Synced: 2025-04-01T21:49:14.233Z (about 1 year ago)
- Topics: async, fastapi, flyio, python, websockets
- Language: Python
- Homepage:
- Size: 301 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## cardgames project
[](https://github.com/mfa/cardgames/actions/workflows/tests.yml)
### features
- video-conference view (for screen share)
- every client is an agent
- a client can be a human or code
deployed version:
### run locally
run fastapi
```
uvicorn app.main:app --reload
```
### deploy to fly.io
(example for instance maintained by @mfa)
create volume:
```
flyctl volumes create cardgames_data --app floral-wave-1444 --region ams --size 1
```
initially create folder for data:
```
# ssh to instance
fly ssh console
# create folder
mkdir -p /data/store
```
deploy:
```
fly deploy --local-only
```
### source for assets
cards: http://nicubunu.ro/cards/ (public domain)