From 15a3b99cbd1fdf4c4ef07c7baaf9ddf407cd3bb5 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Thu, 26 Jan 2017 07:57:52 +0100 Subject: [PATCH] Hangman fixed --- .../Modules/Games/Commands/Hangman/HangmanGame.cs | 14 +++++++------- .../Modules/Games/Commands/HangmanCommands.cs | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/NadekoBot/Modules/Games/Commands/Hangman/HangmanGame.cs b/src/NadekoBot/Modules/Games/Commands/Hangman/HangmanGame.cs index 4dcb54e9..3d5f7ec6 100644 --- a/src/NadekoBot/Modules/Games/Commands/Hangman/HangmanGame.cs +++ b/src/NadekoBot/Modules/Games/Commands/Hangman/HangmanGame.cs @@ -189,13 +189,13 @@ namespace NadekoBot.Modules.Games.Commands.Hangman catch (Exception ex) { _log.Warn(ex); } } - public string GetHangman() => $@"\_\_\_\_\_\_\_\_\_ - | | - | | - {(Errors > 0 ? "😲" : " ")} | - {(Errors > 1 ? "/" : " ")} {(Errors > 2 ? "|" : " ")} {(Errors > 3 ? "\\" : " ")} | - {(Errors > 4 ? "/" : " ")} {(Errors > 5 ? "\\" : " ")} | - /-\"; + public string GetHangman() => $@". ┌─────┐ +.┃...............┋ +.┃...............┋ +.┃{(Errors > 0 ? ".............😲" : "")} +.┃{(Errors > 1 ? "............./" : "")} {(Errors > 2 ? "|" : "")} {(Errors > 3 ? "\\" : "")} +.┃{(Errors > 4 ? "............../" : "")} {(Errors > 5 ? "\\" : "")} +/-\"; public void Dispose() { diff --git a/src/NadekoBot/Modules/Games/Commands/HangmanCommands.cs b/src/NadekoBot/Modules/Games/Commands/HangmanCommands.cs index 50596e4c..4d499301 100644 --- a/src/NadekoBot/Modules/Games/Commands/HangmanCommands.cs +++ b/src/NadekoBot/Modules/Games/Commands/HangmanCommands.cs @@ -61,7 +61,7 @@ namespace NadekoBot.Modules.Games return; } - await Context.Channel.SendConfirmAsync("Hangman game started", hm.ScrambledWord + "\n" + hm.GetHangman() + "\n" + hm.ScrambledWord); + await Context.Channel.SendConfirmAsync("Hangman game started", hm.ScrambledWord + "\n" + hm.GetHangman()); } } }