Skip to content

quibbble/tsuro

Repository files navigation

Tsuro

Netlify Status

Tsuro game website. Play at tsuro.quibbble.com.

This repo contains ReactJS frontend code and makes use of custom React components found at boardgame. Game logic can be found at go-tsuro. Server logic can be found at go-quibbble.

Quibbble Tsuro

Run Locally

  • Generate a personal GITHUB_ACCESS_TOKEN with package read permissions. Read more about it here.
  • Create a .npmrc file in the tsuro root directory with the following:
//npm.pkg.github.com/:_authToken=<GITHUB_ACCESS_TOKEN>
@quibbble:boardgame=https://npm.pkg.github.com
  • Run npm i.
  • Run the quibbble server (go-quibbble) locally on port 8080.
  • Create a .env.local file in the tsuro root directory with the following:
VITE_HOST="http://127.0.0.1:8080"
VITE_WEBSOCKET="ws://127.0.0.1:8080"
  • Run npm start.