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

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

Awesome Lists containing this project

README

          

## cardgames project

[![Run Tests](https://github.com/mfa/cardgames/actions/workflows/tests.yml/badge.svg?branch=main)](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)