Carcassonne game website. Play at carcassonne.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-carcassonne. Server logic can be found at go-quibbble.
- Generate a personal
GITHUB_ACCESS_TOKEN
with package read permissions. Read more about it here. - Create a
.npmrc
file in thecarcassonne
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 thecarcassonne
root directory with the following:
VITE_HOST="http://127.0.0.1:8080"
VITE_WEBSOCKET="ws://127.0.0.1:8080"
- Run
npm run dev
.