Natural Number Game https://adam.math.hhu.de
Find a file
2026-03-02 00:57:11 +01:00
.devcontainer fix dev container 2023-12-01 17:45:29 +01:00
.docker/gitpod revert gitpod 2023-09-10 23:39:44 +02:00
.github/workflows Run CI on PR 2025-09-27 10:25:49 +02:00
.i18n chore: update button text from 'Leave World' to 'Home' (#127) 2026-03-02 00:57:11 +01:00
.vscode remove Simple Browser 2023-09-10 21:05:59 +02:00
Game chore: update button text from 'Leave World' to 'Home' (#127) 2026-03-02 00:57:11 +01:00
images bump to v4.3.0 2023-12-08 01:33:50 +01:00
test bump to v4.7.0 2024-04-10 17:07:22 +02:00
.gitignore Ignore backup files 2024-10-18 16:09:28 +09:00
.gitpod.yml revert gitpod 2023-09-10 23:39:44 +02:00
Dockerfile gitpod 2023-09-08 09:35:27 +02:00
Game.lean chore: Update link to lean 3 version of the natural number game to point to the frozen game repo (#126) 2025-12-27 21:25:29 +01:00
lake-manifest.json bump v4.23.0 (#113) 2025-09-27 10:17:47 +02:00
lakefile.lean bump lean4game, update lakefile 2025-08-09 01:19:55 +02:00
lean-toolchain bump v4.23.0 (#113) 2025-09-27 10:17:47 +02:00
LICENSE Create LICENSE 2024-03-14 10:06:36 +01:00
README.md chore: Update link to lean 3 version of the natural number game to point to the frozen game repo (#126) 2025-12-27 21:25:29 +01:00
TODO.txt these need fixing before we can merge to master 2023-10-14 22:35:44 +01:00
todo_worlds a note about future worlds 2023-12-22 16:44:04 +00:00
vid_script.txt move all WIP files to level-rewrite branch 2023-10-14 19:57:20 +01: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.

Getting Started

You can develop the game as any lean project and use lake build to build it.

Moreover, there are multiple ways to run the game while developing it, which are described in Running Games Locally

Contributing

PRs/Issues fixing typos, inconsistencies, missing hints, etc. are very welcome!

Translations

We happily accept translations of the game into different languages! You can use .i18n/en/Game.pot and translate it into .i18n/{lang}/Game.po where {lang} is the ISO language code like fr or en_UK, using for example POEdit.

We would like the following requirements for a translation PR:

  • One independent person from the community, who understands the language, gives a review on the PR. You could for example look at the Lean Community Map or ask on Zulip. Such a review can be quite generic and does not have to be super detailed.
  • In the credits (i.e. in the string translating them), ideally you should add yourself as a translator for this language.

Documentation

See Creating a Game at the lean4game repo for a detailed explanation.