buttercrab / card-game

online card game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Card Game

General online trump card game platform that users can define their own rules and play with others.

Simple Roadmap

front-end: Svelte + astro + tailwindcss

back-end: warp + deno core (V8) + postgresql + redis

Users 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
│                  │
└──────────────────┘

About

online card game


Languages

Language:Astro 30.8%Language:JavaScript 28.6%Language:Svelte 26.3%Language:Rust 14.3%