Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Blackjack
0.1
Level/OutOfMoney/OnKey_Space.ps1
param
(
$key
)
if
(
$key
.
KeyDown
)
{
return
}
$game
.
Bet
=
5
$game
.
Bank
=
(
4
..
20
|
Get-Random
)
*
$game
.
Bet
Switch-Level
-Name
Play