Jon Eugster 5a9bb1c119 apply f to h
2023-08-06 23:45:04 +02:00
2023-06-16 13:15:51 +02:00
2023-06-07 14:13:09 +00:00
2023-08-06 23:45:04 +02:00
2023-04-25 18:37:27 +02:00
2023-07-23 21:23:07 +02:00
2023-08-06 19:41:04 +02:00
2023-08-04 19:39:26 +02:00
2023-08-04 19:39:26 +02:00
2023-08-06 19:40:10 +02:00

NNG4

This is the lean4 version of the classical Natural Number Game. It uses the Lean4 Game Engine and is running live at adam.math.hhu.de.

The game was initially designed for lean3 and has been adapted for lean4. See lean3 version.

Contributing

If you want to contribute to the Natural Number Game, it is probably best if you ask us for access and push on a non-main branch in this repo. That way a github-action will build the game automatically.

See the documentation for an explanation of the game commands.

Creating a new game

In order to create a new game, click "use this template" above to create your own game. That way there is a github action that can build a docker image from your main branch which can be used to add the game to the server at adam.math.hhu.de.

Development

Installation

The full instructions are at Running games locally. In particular, the recommended setup is to have docker installed on your computer and then click on the pop-up "Reopen in Container" which is shown when opening this project in VSCode.

The game is then accessible at localhost:3000/#/g/local/game.

Description
Lean natural number game
Readme 1.7 MiB
Languages
Lean 95.8%
Nix 3%
Dockerfile 1.2%