Giter Site home page Giter Site logo

freeboardgames / freeboardgames.org Goto Github PK

View Code? Open in Web Editor NEW
241.0 10.0 92.0 116.35 MB

FOSS platform for publishing boardgame.io games

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

License: GNU Affero General Public License v3.0

JavaScript 52.82% TypeScript 44.92% CSS 1.42% Shell 0.16% Dockerfile 0.05% MDX 0.62%

freeboardgames.org's Introduction

FreeBoardGames.org

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 thousands of players.

Play now at FreeBoardGames.org

Contributing

Check out our documentation and how to add your game.

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 GAME runs the development environment only for a given game.

yarn run test GAME runs unit tests and linter for given game.

yarn run lint GAME runs linter for given game.

yarn run fix GAME tries to automatically fix linter errors for given game.

yarn run ci on root runs everything CI will run (including e2e tests).

Omitting the GAME from any command above will run it for all the codebase.

Thanks to

Our amazing contributors

Sponsors

freeboardgames.org's People

Contributors

b-hub avatar cwatsonc avatar danielsherlock avatar dependabot[bot] avatar eemp avatar gk-patel avatar iamcxds avatar ignoreintuition avatar jasonharrison avatar josefkuchar avatar jvsomeren avatar kurt-von-laven avatar larry801 avatar lcaseiroatl avatar leocaseiro avatar lfkellogg avatar mateusazis avatar mbrinkl avatar migius avatar pestopancake avatar prospectpyxis avatar richardaum avatar rlopes avatar ryandriskel avatar sahajanand-games avatar sefgit avatar servetus avatar spooky-0 avatar v1nc avatar vdfdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freeboardgames.org's Issues

Error: ENOENT: no such file or directory, open './dist/webpack/template.html'

I tried to clone this today and get it running but was unable to run yarn run dev. I was able to get it to run using yarn run prod, though. For context, I'm on Windows. Did I skip a step?

Repro steps:

  • Clone repo
  • CD into repo
  • yarn install
  • yarn run dev

Output:

$ webpack --progress --config dev.webpack.config.js; tsc; webpack --watch --progress --config dev.webpack.config.js | node dist/server.js
fs.js:119
    throw err;
    ^

Error: ENOENT: no such file or directory, open './dist/webpack/template.html'

Better landing page

We should consider improving the landing page. The landing page has a lot of white space to the left/right of the content:

Landing page with a lot of unused space

Bug - Cant Make a Move - "move not processed"

When @jasonharrison was in the plane, we could not play together. I would make a move but he wouldn't see my move, and then if I relaod the page I would get the game state before my move, and would not be able to do the move again. Very weird.

This bug did not happen on Seabattle. I cannot reproduce this bug using my network connection using the same server (4G and wireless connection). Very weird.

I found this on the logs of the server, not sure if related:

ERROR: move not processed - canPlayerMakeMove=false, playerID=[1]
ERROR: move not processed - canPlayerMakeMove=false, playerID=[1]
ERROR: move not processed - canPlayerMakeMove=false, playerID=[1]
ERROR: move not processed - canPlayerMakeMove=false, playerID=[0]
ERROR: move not processed - canPlayerMakeMove=false, playerID=[0]
ERROR: move not processed - canPlayerMakeMove=false, playerID=[0]

Decrease build time

It is taking almost a minute to build and run the app on my machine. I think we can setup typescript and webpack better. I recommend taking inspiration on create-react-app.

Add about page

@flamecoals What should the about page contain? I'm thinking a link to the GitHub and contributor names -- what else?

Create lobby/nickname registration across the app.

Some requirements:

  • User should be prompted for a nickname if it is their first time using that device.
  • Users should know when each other is connected and ready to play.
  • The game should automatically start after everybody is ready.
  • We should store the logs of games for each player, so in the future we can do ranking and etc.
  • Allow users to backup their account/game history with an email (nice to have).

DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead

jason@mithos-h ~/p/FreeBoardGame.org:master> yarn run dev                                                                                                                   
yarn run v1.13.0                                                                                                                                                            
$ run-s build webpack:watch                        
$ tsc                                                                                                                                                                       
$ webpack --watch --progress --config dev.webpack.config.js
 10% building 0/0 modules 0 active          
webpack is watching the files…                           
                                                  
(node:18357) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.