|
| 1 | +comments: |
| 2 | + # Message to be shown when two consecutive moves are played. {author} is the author of the issue |
| 3 | + consecutive_moves: "Sorry {author}, you can't move twice in a row! You can ask someone to play the next turn :D" |
| 4 | + |
| 5 | + # Message to be shown on game over. {outcome} is a message that specifies wether white wins, black wins or |
| 6 | + # both players draw, {num_moves} corresponds with the number of moves, {num_players} is the number of players |
| 7 | + # in this game and finally {players} is a comma-separated list of all players in this game (in no particular |
| 8 | + # order) |
| 9 | + game_over: |- |
| 10 | + And that's a game over! {outcome}! This game had {num_moves} moves made by {num_players} players. |
| 11 | +
|
| 12 | + Thanks to {players} for participating! |
| 13 | +
|
| 14 | + # This message is displayed if the board is in an invalid state. This shouldn't be shown unless something |
| 15 | + # has gone terribly wrong |
| 16 | + invalid_board: "{author} Sorry, I can't perform the specified move. The board is invalid!" |
| 17 | + |
| 18 | + # Message to be displayed when a player plays an invalid move |
| 19 | + invalid_move: |- |
| 20 | + {author} Whaaaat? The move `{move}` is invalid! |
| 21 | + Maybe someone squeezed a move before you. Please try again. |
| 22 | +
|
| 23 | + # Message displayed if a player tries to start a new game mid-game and the author of the issue is not the |
| 24 | + # owner of the repository (the repo owner can always restart a game at any time) |
| 25 | + invalid_new_game: "{author} Sorry, but you cannot start a new game while the old one is still in progress. Only the repo owner can do that." |
| 26 | + |
| 27 | + # Message displayed after a successful move done by a player. {move} is the move in UCI coordinates (e2e4 for example) |
| 28 | + successful_move: |- |
| 29 | + {author} done! Successfully played move `{move}` for current game. |
| 30 | + Thanks for playing! |
| 31 | +
|
| 32 | + # Message displayed when either a player or the repository owner start a new game |
| 33 | + successful_new_game: "{author} done! New game successfully started!" |
| 34 | + |
| 35 | + # Error message shown after an invalid command to the chess bot |
| 36 | + unknown_command: "{author} Sorry, I can't understand the command. Please try again and do not modify the issue title!" |
| 37 | + |
| 38 | +issues: |
| 39 | + link: "https://github.com/{repo}/issues/new?{params}" |
| 40 | + move: |
| 41 | + body: "Please do not change the title. Just click \"Submit new issue\". You don't need to do anything else :D" |
| 42 | + title: "Chess: Move {source} to {dest}" |
| 43 | + new_game: |
| 44 | + body: "Please do not change the title. Just click \"Submit new issue\". You don't need to do anything else :D" |
| 45 | + title: "Chess: Start new game" |
| 46 | + |
| 47 | +markers: |
| 48 | + board: |
| 49 | + begin: "<!-- BEGIN CHESS BOARD -->\n" |
| 50 | + end: "<!-- END CHESS BOARD -->\n" |
| 51 | + last_moves: |
| 52 | + begin: "<!-- BEGIN LAST MOVES -->\n" |
| 53 | + end: "<!-- END LAST MOVES -->\n" |
| 54 | + moves: |
| 55 | + begin: "<!-- BEGIN MOVES LIST -->\n" |
| 56 | + end: "<!-- END MOVES LIST -->\n" |
| 57 | + top_moves: |
| 58 | + begin: "<!-- BEGIN TOP MOVES -->\n" |
| 59 | + end: "<!-- END TOP MOVES -->\n" |
| 60 | + turn: |
| 61 | + begin: "<!-- BEGIN TURN -->" |
| 62 | + end: "<!-- END TURN -->" |
| 63 | + |
| 64 | +misc: |
| 65 | + # Maximum number of last moves displayed |
| 66 | + max_last_moves: 5 |
| 67 | + # Maximum number of top players displayed |
| 68 | + max_top_moves: 10 |
0 commit comments