mirror of https://github.com/espruino/BangleApps
Merge branch 'master' of github.com:espruino/BangleApps
commit
2671800943
|
@ -59,7 +59,7 @@ function hitMe() {
|
||||||
if(playerWeight == 21)
|
if(playerWeight == 21)
|
||||||
EndGameMessdage('WINNER');
|
EndGameMessdage('WINNER');
|
||||||
else if(playerWeight > 21)
|
else if(playerWeight > 21)
|
||||||
EndGameMessdage('LOOSER');
|
EndGameMessdage('LOSER');
|
||||||
}
|
}
|
||||||
|
|
||||||
function calcWeight(hand, hideCard) {
|
function calcWeight(hand, hideCard) {
|
||||||
|
@ -188,4 +188,4 @@ setWatch(hitMe, BTN4, {repeat:true, edge:"falling"});
|
||||||
setWatch(stand, BTN5, {repeat:true, edge:"falling"});
|
setWatch(stand, BTN5, {repeat:true, edge:"falling"});
|
||||||
setWatch(startGame, BTN1, {repeat:true, edge:"falling"});
|
setWatch(startGame, BTN1, {repeat:true, edge:"falling"});
|
||||||
|
|
||||||
startGame();
|
startGame();
|
||||||
|
|
Loading…
Reference in New Issue