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