GitPedia

NNG4

Natural Number Game

From leanprover-community·Updated June 21, 2026·View on GitHub·

This is the lean4 version of the classical *Natural Number Game*. It uses the [Lean4 Game Engine](https://github.com/leanprover-community/lean4game) and is running live at [adam.math.hhu.de](https://adam.math.hhu.de). The project is written primarily in Lean, distributed under the Apache License 2.0 license, first published in 2023. Key topics include: lean4.

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

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from leanprover-community/NNG4 via the GitHub API.Last fetched: 6/27/2026