Commit Graph

27 Commits (959b3cd71d366e3418e15c2f3dc519d21d97652c)

Author SHA1 Message Date
CrystalMoogle 959b3cd71d Change how suit/number is handled in the card class, change the layout of the card tuples. 2023-07-21 21:24:37 +01:00
CrystalMoogle f381a1806e Delete extra file 2023-07-21 18:22:09 +01:00
CrystalMoogle 9581591605 Fix 2023-07-21 18:20:29 +01:00
CrystalMoogle a368d0af41 Convert more functions to use card class 2023-07-21 18:20:03 +01:00
CrystalMoogle c286b08521 Rename for consistency 2023-07-20 20:11:35 +01:00
CrystalMoogle cc8fbf33ee Start working on a unified card class 2023-07-20 19:59:45 +01:00
CrystalMoogle 2455812fb2 Add a message for dealer's turn, also an event to add any message if needed in the future 2023-07-16 17:40:28 +01:00
CrystalMoogle 20f702b537 Disable buttons when player turn ended 2023-07-16 17:34:38 +01:00
CrystalMoogle de4dda9b25 Merge branch 'master' of https://github.com/CrystalMoogle/BlackjackGUI 2023-07-16 17:18:15 +01:00
CrystalMoogle ceef90be2e More formatting 2023-07-16 17:17:03 +01:00
Zana 0047e56ec3
Update dotnet.yml 2023-07-16 17:07:14 +01:00
Zana b090e3f83c
Create dotnet.yml 2023-07-16 17:04:19 +01:00
CrystalMoogle ef55b4bc2e Formatting 2023-07-16 16:50:52 +01:00
CrystalMoogle 3ae3a26e2b Add a delay to dealer drawing of cards 2023-07-16 16:34:20 +01:00
CrystalMoogle 12b6bb7358 Move this here, otherwise dealer can win with 5 cards even if bust 2023-07-16 16:14:04 +01:00
CrystalMoogle d4eff0d774 Replace this with a switch statement, make it easier to read 2023-07-16 16:10:48 +01:00
CrystalMoogle 2860c9c622 Remove testing code 2023-07-16 16:07:57 +01:00
CrystalMoogle 73ace5bcca Condense code a little 2023-07-16 16:07:13 +01:00
CrystalMoogle d4511f6ffa Specify data types for parameters 2023-07-16 15:54:53 +01:00
CrystalMoogle eb37ba7c41 Convert cards to tuple 2023-07-16 15:37:10 +01:00
CrystalMoogle ca2dd78e06 Remove unused file 2023-07-16 15:21:04 +01:00
CrystalMoogle 1e0a9a71b2 Remove unneeded code 2023-07-16 15:15:29 +01:00
CrystalMoogle 6880589562 Refactor code to make Game its own Class to split from UI dedicated functions. 2023-07-16 15:13:43 +01:00
CrystalMoogle 1295bdbc09 Hide second Dealer card/total from Player unless Dealer has Blackjack. Fix possible crash cause for dealer drawing too many cards. 2023-07-15 23:22:31 +01:00
CrystalMoogle 0c5c9e115b Fix a crash until cause is found, slightly change position of UI element 2023-07-15 22:22:53 +01:00
CrystalMoogle 626b57c982 Add project files. 2023-07-15 22:00:20 +01:00
CrystalMoogle 2fef761acb Add .gitattributes, .gitignore, and LICENSE.txt. 2023-07-15 22:00:17 +01:00