Skip to content

A frontend client that provides mechanics for the Splendor board game. See the backend code at https://github.com/daniman/splendor-server.

Notifications You must be signed in to change notification settings

daniman/splendor-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A React app that provides a light-weight interface for the mechanics of the Splendor board game.

This app uses Apollo Client and talks to this simple GraphQL server for its game mechanics and state persistence.

To run the app:

$ npm install
$ npm start

This app uses TypeScript. the types.ts file is machine generated from the GraphQL server created by splendor-server. Changes to the GraphQL schema can be reflected in the types file by running:

$ npm run codegen:local

or

$ npm run codegen:prod

Depending on whether you want to get the schema from your local development server (typical) or from production.

Sound files sourced from https://themushroomkingdom.net/media/smb3/wav