A clone of airboardgame github, to ciappinate new components.

Jeremie Pardou-Piquemal b5075d88a7 Update logos 2 anni fa
.github 7684839e90 Update ricochet-js 2 anni fa
backend 7684839e90 Update ricochet-js 2 anni fa
cypress 388437ce7e Fix tests 2 anni fa
public b5075d88a7 Update logos 2 anni fa
src 929946ae4b Update logo and favicon (#378) 2 anni fa
.env.dist 7684839e90 Update ricochet-js 2 anni fa
.eslintrc.js 686f693d09 Configure linting for switch 3 anni fa
.gitignore 7cefafbd66 Add media library to select images 3 anni fa
.nvmrc 944605a2f0 Refactor server and app generic store api 3 anni fa
.prettierrc 7e540d1310 Change single quote for double quote 3 anni fa
Licence.md 5df0421800 Enhance style 3 anni fa
README.md a8934eab94 Add premade item library 2 anni fa
cypress.json 1eba637dd0 Add e2e tests to ci 3 anni fa
i18next-scanner.config.js aafad1920a Update translations 2 anni fa
index.html 929946ae4b Update logo and favicon (#378) 2 anni fa
package-lock.json ae9dba21ca Add generator (#377) 2 anni fa
package.json ae9dba21ca Add generator (#377) 2 anni fa
vite.config.js 3ca2914301 Clean code after auto review 3 anni fa

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 encryption 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

you also need an instance of wire.io so in another terminal, execute:

# /!\ Need npm >= v7
PORT=4051 npx wire.io

See wire.io documentation for more information on how to configure it.

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 four terminals:

  • the one with ricochetjs server instance. Backend logs can be found here
  • one terminal with auto build on change for backend files
  • another with wire.io server running
  • and a last one with React frontend server