sp_tricks[2] + sp_tricks[3] == 13) {
sp_say("Round over!")
sp_score()
- if (sp_scores[0] >= sp_playto || sp_scores[1] >= sp_playto &&
- sp_scores[0] != sp_scores[1]) {
+ if ((sp_scores[0] >= sp_playto || sp_scores[1] >= sp_playto) &&
+ (sp_scores[0] != sp_scores[1])) {
sp_say("Game over!")
winner = sp_scores[0] > sp_scores[1] ? 0 : 1
looser = !winner
} else {
if (sp_scores[0] == sp_scores[1] &&
sp_scores[0] >= sp_playto)
- sp_say("It's tie! Playing an extra round!");
+ sp_say("It's a tie! Playing an extra round!");
sp_reset(1)
sp_deal()
}
}
/^\.help game$/ {
- say(".newgame [score] -- start a game to <score> points, default 500")
+ say(".newgame [score] -- start a game to <score> points, default 300")
say(".endgame -- abort the current game")
say(".savegame -- save the current game to disk")
say(".loadgame -- load the previously saved game")
} else {
$1 = ".join"
sp_owner = FROM
- sp_playto = $2 ? $2 : 200
+ sp_playto = $2 ? $2 : 300
sp_limit = sp_playto > 200 ? 10 : 5;
sp_state = "join"
sp_channel = DST