leanprover-community/NNG4

Natural Number Game

369

stars

605

commits

Lean

primary language

Aug 30, 2026

updated

adam.math.hhu.de
lean4

README

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.

Contributors

(top 30 of 40)

kbuzzard

278 commits

joneugster

207 commits

abentkamp

28 commits

JiechengZhao

27 commits

leanprover-community/NNG4

Natural Number Game

369

stars

605

commits

Lean

primary language

Aug 30, 2026

updated

adam.math.hhu.de
lean4

README

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.

Contributors

(top 30 of 40)

kbuzzard

278 commits

joneugster

207 commits

abentkamp

28 commits

JiechengZhao

27 commits

Languages

Lean

98.7%

Dockerfile

1.3%