Skip to content

twilfong/FreeBoardGames.org

 
 

Repository files navigation

FreeBoardGames.org

Build Status

FOSS platform for publishing your boardgame.io games. We curate high quality implementations of board games and optimize your game for delivery so you can quickly reach hundreds of players.

Play now at FreeBoardGames.org

Check out our reported issues and feature requests.

Contributing

Contributions are always welcome, even if just reporting bugs (check our issue tracker). Feel free to ask for any help!

Community

Discord Logo

Running locally

git clone https://github.com/freeboardgames/FreeBoardGames.org
cd FreeBoardGames.org

cd web

yarn install  # installs dependencies

yarn run dev  # runs the webserver and backend (for online multiplayer games)

Important Commands:

yarn run dev builds and starts the development web server and the boardgame.io server (used for multiplayer games). Both servers will automatically load code changes.

yarn run prod builds and starts the production web server.

yarn run bgio builds and starts the Boardgame.io server (used for multiplayer games).

yarn run bgio:dev builds and starts the boardgame.io server. The boardgame.io server will automatically recompile/restart on file changes.

yarn run pre runs all tests, including linting/formatting, unit tests, and e2e/visual tests. This command is run by Travis CI for all pull requests.

yarn run autopre will automatically format and attempt to fix issues. Then it will run the same tests as pre (mentioned above). You should run this command before committing changes.

yarn run e2e:buildandstartserver will build and start an unoptimized production-like web server for e2e tests.

yarn run cyp:run will run e2e visual testing.

yarn run test will run all unit tests. You may use Jest CLI options (such as --watch).

Jest CLI Options: https://jestjs.io/docs/en/cli.html

About

FOSS platform for publishing boardgame.io games

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 77.3%
  • TypeScript 19.4%
  • CSS 3.0%
  • Other 0.3%