15 packages
@cardsgame/client
Base client-side lib. No rendering included/enforced. Gives you neatly packed game state updates, so you could render your game in whatever way you want.
@cardsgame/entity-traits
Type definitions for entity traits. Used by server while defining entities.
@cardsgame/example-certs
Self-signed certificate generation
@cardsgame/example-client-svelte
Svelte client-side implementation example of @cardsgame
@cardsgame/example-client-vanilla
Simplest client-side implementation example of @cardsgame
@cardsgame/examples
Example app using both `@cardsgame/server` and `@cardsgame/client`.
@cardsgame/example-server-js
Simplest implementation example of @cardsgame
@cardsgame/example-server-ts
Simplest implementation example of @cardsgame
@cardsgame/example-types
Shared types for examples of @cardsgame
@cardsgame/server
Base server-side lib. Just write your own game actions, condition and elements (classic card games elements already included).