Skip to content

Instantly share code, notes, and snippets.

@5E7EN
Last active June 8, 2020 02:31
Show Gist options
  • Save 5E7EN/8e5a756a05754b28f2ff21790642adbe to your computer and use it in GitHub Desktop.
Save 5E7EN/8e5a756a05754b28f2ff21790642adbe to your computer and use it in GitHub Desktop.
Help information regarding the `Chess` module for the Twitch chat bot "SimonSaysBot".

SimonSaysBot Chess Module - Help

NOTE: Active games will produce extensive chat clutter! Enable module at your own risk. (Working on perhaps converting the multi-line responses to just an ASCII board representation. Coming soon™)

*chess

  • newgame <opponent>
    Sends an invite to the provided opponent to play a game of Chess to which they should use *chess accept to start. Command will fail if user is not in chat or after 20 seconds of no response. Once accepted, your side (black or white) will be chosen randomly.

  • accept
    If you have been invited by another user to play a game, use this command to accept the request and start playing!

  • move <fromPosition> <toPosition> | Example: *chess move e2 e4
    Moves one of your pieces on the board, provided by the command arguments - consuming your turn.

  • board
    Displays the board layout of the current active Chess game.

  • showfen
    Displays the FEN string representing the current board layout. This string can be used at a later date to pickup on games by restoring their previous layout.

  • loadfen <FENstring>
    Loads a previous game using the provided FEN string. To view the board layout following this command, use *chess board.
    NOTE: This will delete any existing positions on the board at the time of execution.

  • endgame
    Ends the current game of Chess. Only the broadcaster or game participants may end games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment