Skip to content

quibbble/tictactoe

Repository files navigation

TicTacToe

Netlify Status

TicTacToe game website. Play at tictactoe.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-tictactoe. Server logic can be found at go-quibbble.

Quibbble TicTacToe

Run Locally

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