Server to host lean games. https://adam.math.hhu.de
  • TypeScript 62.3%
  • Lean 28.7%
  • CSS 6%
  • JavaScript 1.9%
  • Shell 0.5%
  • Other 0.6%
Find a file
2026-06-27 23:00:25 +02:00
.github Update issue template (#530) 2026-06-19 10:30:58 +02:00
.vscode Fix minor typos 2024-01-20 16:15:15 -05:00
client feat: enable hidden inventory items by default (#509) 2026-04-25 01:36:30 +02:00
cypress fix: translate hints in branchs (part 2) (#507) 2026-04-24 00:16:40 +02:00
doc Update development.md (#535) 2026-06-27 23:00:25 +02:00
relay feat: add local games on landing page (#508) 2026-04-25 00:29:54 +02:00
server chore: bump to Lean v4.31.0 (#534) 2026-06-27 14:58:34 +02:00
.gitignore Update .gitignore 2025-09-05 16:15:05 +02:00
cypress.config.ts add cypress test 2025-06-27 14:54:51 +02:00
ecosystem.config.cjs Add env variable for CPU usage script location 2025-05-27 17:07:11 +02:00
env.d.ts fix redirect from landing page in dev container #145 2023-11-09 15:26:53 +01:00
LICENSE Create LICENSE 2023-07-19 02:10:01 +02:00
NOTES.md remove docker isntructions 2023-10-31 15:35:20 +01:00
NOTES_SUBDOMAIN.md notes subdomain 2022-11-15 11:22:19 +01:00
package-lock.json feat: add local games on landing page (#508) 2026-04-25 00:29:54 +02:00
package.json chore: split package.json for client/backend, remove unused dependencies, bump dependencies (#478) 2026-03-20 03:04:47 +01:00
README.md chore: bump to Lean v4.31.0 (#534) 2026-06-27 14:58:34 +02:00
TODO-skipped-commits.txt fix(server/GameServer/Commands): allow non-Prop levels (#362) 2025-08-29 15:45:06 +02:00
tsconfig.json Allow compilation of project with several tsconfig files 2025-04-04 17:20:05 +02:00

Lean 4 Game

This is the source code for the Lean Game Server hosted at adam.math.hhu.de.

Creating a Game

Please follow the tutorial Creating a Game. In particular, the following steps may be of interest:

Documentation

The documentation is very much work in progress but the links below should be up-to-date:

Game creation API

Frontend API

Backend

  • Server: describes the server part (i.e. the content of server/ and relay/).

Hosting

Contributing

Contributions to lean4game are always welcome!

Check out the Development Instructions

Translation

We welcome translations of the game interface and of the various games hosted on the Lean Game Server into different languages!

Security

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.

Contact

In case of a server outage at adam.math.hhu.de please open an issue and/or contact us by email. Bug reports and feature requests regarding the game interface should be filed on the issues page of this repository. For specific games on the Lean Game Server, please refer to the github repositories linked to below or contact the maintainers.

Game/repository Maintainer
Knights and Knaves Jad Abou Hawili
Linear Algebra Game ZRTMRH
Logic Game Trequetrum
Natural Number Game (NNG) Kevin Buzzard
Real Analysis Game Alex Kontorovich
Reintroduction to Proofs Emily Riehl
Robo / Scribble Marcus Zibrowius
Set Theory Game Dan Velleman

Credits

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.