General online trump card game platform that users can define their own rules and play with others.
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.
In one game, it would be like below
┌──────Server──────┐
│ │
│ ┌──────┐ │ ┌─ Client1
│ ┌──┐ │ Rule │ │ Websocket │
│ │DB╞═══╡ JS ├──│───────────┼─ Client2
│ └──┘ └──────┘ │ │
│ V8 sandbox │ └─ Client3
│ │
└──────────────────┘