davidfurlong / FreeBoardGames.org

FOSS platform for publishing boardgame.io games

Home Page:https://www.FreeBoardGames.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

https://www.FreeBoardGames.org

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 78.4%Language:TypeScript 18.1%Language:CSS 3.1%Language:HTML 0.3%Language:Dockerfile 0.0%Language:Shell 0.0%