Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buttercrab/card-game
online card game
https://github.com/buttercrab/card-game
Last synced: 28 days ago
JSON representation
online card game
- Host: GitHub
- URL: https://github.com/buttercrab/card-game
- Owner: buttercrab
- Created: 2022-01-19T08:08:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-21T14:49:52.000Z (almost 3 years ago)
- Last Synced: 2023-03-04T21:32:49.962Z (almost 2 years ago)
- Language: Astro
- Size: 120 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Card Game
General online trump card game platform that users can define their own rules and play with others.
## Simple Roadmap
front-end: [Svelte](https://svelte.dev/) + [astro](https://astro.build/) + [tailwindcss](https://tailwindcss.com/)
back-end: [warp](https://github.com/seanmonstar/warp) + [deno core (V8)](https://crates.io/crates/deno_core) +
postgresql + redisUsers will write their rules in js, which would be executed in sandbox space in server.
### Diagram
In one game, it would be like below
```
┌──────Server──────┐
│ │
│ ┌──────┐ │ ┌─ Client1
│ ┌──┐ │ Rule │ │ Websocket │
│ │DB╞═══╡ JS ├──│───────────┼─ Client2
│ └──┘ └──────┘ │ │
│ V8 sandbox │ └─ Client3
│ │
└──────────────────┘
```