feipegasus / buzzwords

A browser based word strategy game featuring frictionless link-based multiplayer. Try it today!

Home Page:https://buzzwords.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buzzwords.gg

"Scrabble meets Go" - a hexagonal word game about strategically taking territory

Follow our twitter for updates

https://twitter.com/BuzzwordsGG

Running the code for development

  1. drop a .env file in ./server with API_PREFIX=/api
  2. run yarn in this folder
  3. run yarn dev in this folder
  4. go to http://localhost:5173/ in your browser

By default, the server stores all its data in memory only. To use mongo, drop a .env file in ./server with

DB_TYPE=mongo
MONGO_URL=<your connection string>

Because we're using transactions, your mongo must be a replica set. We're using Atlas for this reason.

Running the code in production

For now, production is dockerized with docker compose. docker-compose build or docker-compose pull, then docker-compose up. You'll need a .env file in the root folder with

MONGO_URL=<your connection string>
COOKIE_DOMAIN=<the domain you're hosting the API on>
MONGO_DB_NAME=<the name of your db, should match what's after the slash in your connection string>

About

A browser based word strategy game featuring frictionless link-based multiplayer. Try it today!

https://buzzwords.gg

License:Apache License 2.0


Languages

Language:TypeScript 96.2%Language:JavaScript 1.2%Language:Swift 0.9%Language:CSS 0.7%Language:HTML 0.6%Language:Dockerfile 0.3%Language:Ruby 0.2%