This is the source code for a Lean game platform hosted at adam.math.hhu.de.
Please follow the tutorial Creating a Game. In particular, the following steps might be of interest:
The documentation is very much work in progress but the linked documentation here should be up-to-date:
Hint
and Branch
tactic.not fully written yet.
server/
und relay/
).Contributions to lean4game
are always welcome!
The interface can be translated to various languages. For adding a translation, one needs to do the following:
client/src/config.json
, add your new language. The "iso" key is the ISO language code, i.e. it should be accepted by "i18next" and "GNU gettext"; the "flag" key is once accepted by react-country-flag.npm run translate
. This should create a new file client/public/locales/{language}/translation.json
. (alternatively you can copy-paste client/public/locales/en/translation.json
)config.json
together with the new translation.json
.For translating games, see Translating a game.
Providing the use access to a Lean instance running on the server is a severe security risk. That is why we start the Lean server with bubblewrap.
The project has primarily been developed by Alexander Bentkamp and Jon Eugster.
It is based on ideas from the Lean Game Maker and the Natural Number Game (NNG) by Kevin Buzzard and Mohammad Pedramfar, and on Patrick Massot's prototype: NNG4.