Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Blackjack
0.1
Level/Play/OnKey_Up.ps1
param
(
$key
)
if
(
$key
.
KeyDown
)
{
return
}
if
(
(
$game
.
Bet
*
2
)
-lt
$game
.
Bank
)
{
$global:Game
|
Add-Member
NoteProperty
Bet
(
$game
.
bet
*
2
)
-Force
$game
.
ShowScoreAndControls
(
)
}