Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 809 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 809 Bytes

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