Level/Play/OnKey_Space.ps1

param($key)

if ($key.KeyDown) { return }
if ($game.IsStanding) {
    Restart-Level
    $game.Deal()
} else {
    $game.HitMe()
}