import * as React from 'react'; import { useNavigate } from "react-router-dom"; import { Link } from 'react-router-dom'; import Markdown from './Markdown'; import '@fontsource/roboto/300.css'; import '@fontsource/roboto/400.css'; import '@fontsource/roboto/500.css'; import '@fontsource/roboto/700.css'; import './LandingPage.css' import {PrivacyPolicyPopup} from './PrivacyPolicy' import coverRobo from '../assets/covers/formaloversum.png' import bgImage from '../assets/bg.jpg' const flag = { 'Dutch': '🇳🇱', 'English': '🇬🇧', 'French': '🇫🇷', 'German': '🇩🇪', 'Italian': '🇮🇹', } function GithubIcon({url='https://github.com'}) { return
} function GameTile({ title, gameId, intro, // Catchy intro phrase. image=null, worlds='?', levels='?', prereq='–', // Optional list of games that this game builds on. Use markdown. description, // Longer description. Supports Markdown. language}) { let navigate = useNavigate(); const routeChange = () =>{ navigate(gameId); } return
{title}
{intro}
{ image ? :
}
{description}
Prerequisites {prereq}
Worlds {worlds}
Levels {levels}
Language {flag[language]}
} function LandingPage() { const navigate = useNavigate(); const [impressum, setImpressum] = React.useState(false); const openImpressum = () => setImpressum(true); const closeImpressum = () => setImpressum(false); return

Lean Game Server

A repository of learning games for the proof assistant Lean (Lean 4) and its mathematical library mathlib

Development notes

As this server runs lean on our university machines, it has a limited capacity. Our current estimate is about 55 copies of the NNG or 25 copies of games importing mathlib. We hope to address this limitation in the future.

Most aspects of the games and the infrastructure are still in development. Feel free to file a GitHub Issue about any problems you experience!

Adding new games

If you are considering writing your own game, you should use the NNG Github Repo as a template.

There will be an option to load and run games through the server directly by specifying a URL, but this is still in development.

To add games to this page, you should get in contact as games will need to be added manually.

Funding

This server has been developed as part of the project ADAM : Anticipating the Digital Age of Mathematics at Heinrich-Heine-Universität in Düsseldorf.

{/* */}
} export default LandingPage