Add JsonSerializerOptions for serialization and deserialization
apparently it has problems with lists with groups like my list<(int r, int c)> so needs options
* update
update
* service
service
* Optimize message retrieval in MinesCommand
Refactor message handling in MinesCommand to use last message directly.
* Replace LastMessageId with LastMessage object
* 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
* 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.
* fix chat message ID handling and index out of bounds error
fix chat message ID handling and index out of bounds error
* fix feature incorrectly showing for some reason
idk why this started happening hopefully this fixes it, actual features might still be broken though
* actual fix for slot display issue
actual fix for slot display issue
after adding rigging i was passing in the rig parameter as the current type of feature
* fix chat message ID handling and index out of bounds error
fix chat message ID handling and index out of bounds error
* fix feature incorrectly showing for some reason
idk why this started happening hopefully this fixes it, actual features might still be broken though
* Implement minimum wager requirement for slots
Added minimum wager validation for slots command.
* Implement house edge and rigged outcomes in SlotsCommand
adds house edge to slots
if your house edge is greater than 1, HOUSE_EDGE - 100% chance for guaranteed max win chance (spawns all the symbols in the right place, does not guarantee top tier multi)
if house edge is less than 1, 100% - HOUSE_EDGE chance for guaranteed loss