import * as React from 'react'; import { useNavigate, Link } from "react-router-dom"; import '@fontsource/roboto/300.css'; import '@fontsource/roboto/400.css'; import '@fontsource/roboto/500.css'; import '@fontsource/roboto/700.css'; import './landing_page.css' import coverRobo from '../assets/covers/formaloversum.png' import bgImage from '../assets/bg.jpg' import Markdown from './markdown'; import {PrivacyPolicyPopup} from './privacy_policy' 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 is an option to load and run your own games direclty on the server, instructions are in the NNG repo. Since this is still in development we'd like to encourage you to contact us for support creating your own game. The documentation is not polished yet.

To add games to this main 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