From 670336145df0e9903a3a08dfbe65e0cee61cff3a Mon Sep 17 00:00:00 2001 From: alogindtractor <251821224+A-Log-In-D-Tractor@users.noreply.github.com> Date: Sat, 7 Feb 2026 18:33:58 -0800 Subject: [PATCH] mines update (#68) * mines update mines update * Refactor betting logic to use valid coordinates Refactor betting logic to use valid coordinates * Refactor bet coordinate selection logic Refactor random bet coordinate selection to improve clarity and prevent duplicate entries. * update tostring update tostring * Refactor Bet method and update gem handling Refactor Bet method to include an additional parameter for tracking calls. Update logic for handling gem counts and cash-out conditions. * update regex update regex --- KfChatDotNetBot/Commands/Kasino/MinesCommand.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/KfChatDotNetBot/Commands/Kasino/MinesCommand.cs b/KfChatDotNetBot/Commands/Kasino/MinesCommand.cs index 31f1848..cba5e54 100644 --- a/KfChatDotNetBot/Commands/Kasino/MinesCommand.cs +++ b/KfChatDotNetBot/Commands/Kasino/MinesCommand.cs @@ -12,18 +12,18 @@ namespace KfChatDotNetBot.Commands.Kasino; public class MinesCommand : ICommand { public List Patterns => [ + //cashout + new Regex(@"^mines(? cashout)$", RegexOptions.IgnoreCase), + //refresh + new Regex(@"^mines(? refresh)$", RegexOptions.IgnoreCase), //attempting to start a game below here new Regex(@"^mines (?\d+(?:\.\d+)?) (?\d+) (?\d+) (?\d+)(? cashout|)$", RegexOptions.IgnoreCase), new Regex(@"^mines (?\d+(?:\.\d+)?) (?\d+) (?\d+) (?.+)(? cashout|)$", RegexOptions.IgnoreCase), //attempting to continue a game below here new Regex(@"^mines (?\d+)(? cashout|)$", RegexOptions.IgnoreCase), new Regex(@"^mines (?.+)(? cashout|)$", RegexOptions.IgnoreCase), - //cashout - new Regex(@"^mines(? cashout)$", RegexOptions.IgnoreCase), - //refresh - new Regex(@"^mines(? refresh)$", RegexOptions.IgnoreCase), //get info - new Regex("^mines") + new Regex("^mines$") ]; public string? HelpText => "!mines to play simple mines. !mines for advanced mines. Tool: https://i.ddos.lgbt/raw/UJ9Dty.html"; public UserRight RequiredRight => UserRight.Loser;