A clone of airboardgame github, to ciappinate new components.

Jeremie Pardou-Piquemal 686f693d09 Configure linting for switch 3 years ago
.circleci f091a56a55 Update CI 3 years ago
.github f091a56a55 Update CI 3 years ago
backend f565e6b9e7 Avoid hook on readfile 3 years ago
cypress ebd1046153 Adds filtering to avoid unpublished games to be counted as available games in the homepage search 3 years ago
public 1a953e4183 Use vitejs for bundling 3 years ago
src 89aef6d2ed Remove unused var 3 years ago
.env.dist c9bd38ab6a Add compat with ricochetjs v0.8.0 3 years ago
.eslintrc.js 686f693d09 Configure linting for switch 3 years ago
.gitignore 7cefafbd66 Add media library to select images 3 years ago
.nvmrc 944605a2f0 Refactor server and app generic store api 3 years ago
.prettierrc 7e540d1310 Change single quote for double quote 3 years ago
Licence.md 5df0421800 Enhance style 3 years ago
README.md 11f90f652d Add env file to help installation 3 years ago
cypress.json 1eba637dd0 Add e2e tests to ci 3 years ago
i18next-scanner.config.js ae30f1e8c6 Add link to jitsi on onboarding 3 years ago
index.html 1a953e4183 Use vitejs for bundling 3 years ago
package-lock.json 7cefafbd66 Add media library to select images 3 years ago
package.json 7cefafbd66 Add media library to select images 3 years ago
vite.config.js 937b6cba77 Add site prefix to api 3 years ago

README.md

Air board game - the free online tabletop simulator

If you just want to play, go here.

  • Choose a game
  • Share the link with your friends
  • Play together

Simple, fast and efficient.

No need to create an account, choose a game from the list (or create yours) share the displayed link with your friends by mail or any channel you have in common and wait for your friends to join you.

A tabletop simulator ?

In action

Airboardgame is a tabletop simulator to play your favorite board games with your friends online. It's not a game engine, it's just a tabletop simulator of what you can do with a real table. You share a common space with other players like if you were is the same room. If you move something or if you flip a card, other players see this action and can respond in real time.

Hint: you really should use an audio conference application to speak with other players.

Airboardgame doesn't force you, you make the rules. Airboardgame is just a game table simulator : what you would do with a real table you can/must do it with Airboargame.

Features for players

Flip card items.

Load and save

Tap items.

Load and save

Flip cards only for you, like hand cards.

Load and save

See other players cursor on the shared board and how they move in real time. You can show things, see what they are doing, …

Load and save

Save and restore game.

Load and save

and more…

Game designer, it's also for you

Airboardgame is not only designed to play games but also to create them. In just few minutes you can create simple games without any development skills and play with your friends.

Wants to test a concept? Play a Print & Play game? Use airboardgame without the need for more hardware.

The only limit is your imagination.

To access this features, login then click on the « create new game » button on home page.

We want Airboardgame to be simple, intuitive and a consistent web application. Just give a try and if you like it share it and contribute.

You can create a game with simple actions :

  • Create items like
    • Round,
    • Rectangle,
    • Dice,
    • Note,
    • Counter,
    • Image that can represent cards, board, token, perks, …
  • Choose board size
  • Add available items not on the board but in the "game box" like extension or material for more user.

You can drag'n'drop image from your desktop to the board to use them in Airboardgame.

Technical details

  • Open source web application,
  • Made with React and Socket.io,
  • Use recoiljs as state management,
  • Client to client driven architecture.

Installation instructions

This is the procedure to install Airboargame application from scratch for development purpose. You need a recent node version. You can (and should) use nvm to initialize your environment.

Backend

First you need to install and start the server part of the application. The server code use ricochetjs. A local instance is installed and can be started but you can use your own instance.

To proceed, execute:

cd backend
npm ci
cp site.dist.json site.json
cp .env.dist .env

Generate an encrytion key:

npx ricochet --generate-key
Key: <your key displayed here>

From here you need to customize .env and site.json file using this generated key. Modify the RICOCHET_SECRET_KEY in .env file and key in site.json. Both must be the same previously generated value.

Default values should be fine for test but remember that data are only kept in memory so you loose all your changes each time you restart the ricochet server with this default. See ricochetjs documentation for more options.

Now you can start the ricochet server:

npm run start

And you should also watch for backend code modification to generate code executed by ricochetjs in another terminal:

npm run watch

Client

in another terminal, go back to project root and execute:

cd <project_root>/
npm ci
cp .env.dist .env

Edit the .env file to fit your needs. Default should be fine if you didn't modify server configuration.

Then you can start the client:

npm start

Now you should have three terminals:

  • the one with ricochetjs server instance. Backend logs can be found here
  • one terminal with auto build on change for backend files
  • one with React frontend server