X-Git-Url: https://git.cworth.org/git?p=loudgame;a=blobdiff_plain;f=lg-set.c;h=0584edac1c1181bcac9a4f5eb8ac14e9dc4bcd11;hp=365e68b7ddafb3db8eaff26922283c2c4f0ead32;hb=76ee71f47307291d8d2457204fc7c44b93729bb9;hpb=0446a4eb0485bb8dd34312c64f940c2461a7180e diff --git a/lg-set.c b/lg-set.c index 365e68b..0584eda 100644 --- a/lg-set.c +++ b/lg-set.c @@ -430,6 +430,10 @@ set_game_handle_set (set_game_t *game, loudgame_sendf (&game->lg, peer, "Yes, that's a set!"); + loudgame_broadcastf (&game->lg, + "%s found the set: %d %d %d. Please send a new 'show' command.", + peer, + slots[0], slots[1], slots[2]); for (i = 0; i < 3; i++) game->board.slots[slots[i]].has_card = 0; @@ -445,7 +449,10 @@ set_game_handle_help (set_game_t *game, { loudgame_sendf (&game->lg, peer, "I'm a bot that allows you to play the game of SET.\n" - "Here are some commands I understand:\n" + "Here are some generic commands I understand:\n" + LOUDGAME_HELP + "\n" + "And some game-specific commands:\n" "\tshow \tShow the current cards on the board\n" "\thint \tIndicate how many sets are currently possible\n" "\tshuffle \tReturn the cards to the deck, shuffle and deal\n"