/** * @fileOverview */ import * as React from 'react' import { Typography } from '@mui/material' import Markdown from '../markdown' import { Trans, useTranslation } from 'react-i18next' import { GameIdContext } from '../../app' import { useGetGameInfoQuery } from '../../state/api' /** Pop-up that is displaying the Game Info. * * `handleClose` is the function to close it again because it's open/closed state is * controlled by the containing element. */ export function InfoPopup () { let { t } = useTranslation() const {gameId} = React.useContext(GameIdContext) const gameInfo = useGetGameInfoQuery({game: gameId}) return <> {t(gameInfo.data?.info, {ns: gameId})}

Progress saving

The game stores your progress in your local browser storage. If you delete it, your progress will be lost!
Warning: In most browsers, deleting cookies will also clear the local storage (or "local site data"). Make sure to download your game progress first!

Development

The game engine has been created by Alexander Bentkamp, Jon Eugster. On a prototype by Patrick Massot.

The source code of this Lean game engine is available on Github. If you experience any problems, please file an Issue on Github or get directly in contact.

Funding

The game engine has been developed as part of the project ADAM: Anticipating the Digital Age of Mathematics at Heinrich-Heine-Universität Düsseldorf. It is funded by the Stiftung Innovation in der Hochschullehre as part of project Freiraum 2022.

}