import { IPlayer } from "../../PersonObjects/IPlayer"; import { IEngine } from "../../IEngine"; import React from 'react'; import { StdButton } from "../../ui/React/StdButton"; import Grid from '@material-ui/core/Grid'; interface IProps { Player: IPlayer; Engine: IEngine; Location: string; Difficulty: number; MaxLevel: number; start: () => void; cancel: () => void; } function diffStr(d: number): string { if(d<=0.5) return "trivial"; if(d<=1.5) return "normal"; if(d<=2.5) return "hard"; return "impossible"; } export function Intro(props: IProps): React.ReactElement { return (<>

Infiltrating {props.Location}

Difficulty: {diffStr(props.Difficulty)}, Maximum level: {props.MaxLevel}

Infiltration is a series of short minigames that get progressively harder. You take damage for failing them. Reaching the maximum level rewards you with intel you can trade for money or reputation.


The minigames you play are randomly selected. It might take you few tries to get used to them.


No game require use of the mouse.


Spacebar is the default action/confirm button.


Everything that uses arrow can also use WASD


Sometimes the rest of the keyboard is used.

) }