Skip to content

quibbble/stratego

Repository files navigation

Stratego

Netlify Status

Stratego game website. Play at stratego.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 Stratego

Run Locally

  • Generate a personal GITHUB_ACCESS_TOKEN with package read permissions. Read more about it here.
  • Create a .npmrc file in the stratego 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 stratego root directory with the following:
VITE_HOST="http://127.0.0.1:8080"
VITE_WEBSOCKET="ws://127.0.0.1:8080"
  • Run npm start.