diff --git a/BlackjackGUI.sln b/BlackjackGUI.sln
new file mode 100644
index 0000000..22d2341
--- /dev/null
+++ b/BlackjackGUI.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.6.33829.357
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "BlackjackGUI", "BlackjackGUI\BlackjackGUI.vbproj", "{12F28866-04C6-40F4-B941-A2E9D1449E2A}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {12F28866-04C6-40F4-B941-A2E9D1449E2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {12F28866-04C6-40F4-B941-A2E9D1449E2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {12F28866-04C6-40F4-B941-A2E9D1449E2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {12F28866-04C6-40F4-B941-A2E9D1449E2A}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {B9B0BC55-80B2-40BA-8742-D46D2F293ECD}
+ EndGlobalSection
+EndGlobal
diff --git a/BlackjackGUI/ApplicationEvents.vb b/BlackjackGUI/ApplicationEvents.vb
new file mode 100644
index 0000000..cf403a0
--- /dev/null
+++ b/BlackjackGUI/ApplicationEvents.vb
@@ -0,0 +1,29 @@
+Imports Microsoft.VisualBasic.ApplicationServices
+
+Namespace My
+ ' The following events are available for MyApplication:
+ ' Startup: Raised when the application starts, before the startup form is created.
+ ' Shutdown: Raised after all application forms are closed. This event is not raised if the application terminates abnormally.
+ ' UnhandledException: Raised if the application encounters an unhandled exception.
+ ' StartupNextInstance: Raised when launching a single-instance application and the application is already active.
+ ' NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected.
+
+ ' **NEW** ApplyApplicationDefaults: Raised when the application queries default values to be set for the application.
+
+ ' Example:
+ ' Private Sub MyApplication_ApplyApplicationDefaults(sender As Object, e As ApplyApplicationDefaultsEventArgs) Handles Me.ApplyApplicationDefaults
+ '
+ ' ' Setting the application-wide default Font:
+ ' e.Font = New Font(FontFamily.GenericSansSerif, 12, FontStyle.Regular)
+ '
+ ' ' Setting the HighDpiMode for the Application:
+ ' e.HighDpiMode = HighDpiMode.PerMonitorV2
+ '
+ ' ' If a splash dialog is used, this sets the minimum display time:
+ ' e.MinimumSplashScreenDisplayTime = 4000
+ ' End Sub
+
+ Partial Friend Class MyApplication
+
+ End Class
+End Namespace
diff --git a/BlackjackGUI/BlackjackGUI.vbproj b/BlackjackGUI/BlackjackGUI.vbproj
new file mode 100644
index 0000000..5ea8328
--- /dev/null
+++ b/BlackjackGUI/BlackjackGUI.vbproj
@@ -0,0 +1,45 @@
+
+
+
+ WinExe
+ net6.0-windows
+ Sub Main
+ true
+ WindowsForms
+
+
+
+
+
+
+
+
+
+
+ True
+ True
+ Application.myapp
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ My.Resources
+ VbMyResourcesResXFileCodeGenerator
+ Resources.Designer.vb
+
+
+
+
+
+ MyApplicationCodeGenerator
+ Application.Designer.vb
+
+
+
+
\ No newline at end of file
diff --git a/BlackjackGUI/Form1.Designer.vb b/BlackjackGUI/Form1.Designer.vb
new file mode 100644
index 0000000..c253328
--- /dev/null
+++ b/BlackjackGUI/Form1.Designer.vb
@@ -0,0 +1,287 @@
+
+Partial Class Form1
+ Inherits System.Windows.Forms.Form
+
+ 'Form overrides dispose to clean up the component list.
+
+ Protected Overrides Sub Dispose(ByVal disposing As Boolean)
+ Try
+ If disposing AndAlso components IsNot Nothing Then
+ components.Dispose()
+ End If
+ Finally
+ MyBase.Dispose(disposing)
+ End Try
+ End Sub
+
+ 'Required by the Windows Form Designer
+ Private components As System.ComponentModel.IContainer
+
+ 'NOTE: The following procedure is required by the Windows Form Designer
+ 'It can be modified using the Windows Form Designer.
+ 'Do not modify it using the code editor.
+
+ Private Sub InitializeComponent()
+ HitButton = New Button()
+ StandButton = New Button()
+ PlayerCard1 = New PictureBox()
+ PlayerCard2 = New PictureBox()
+ PlayerCard3 = New PictureBox()
+ PlayerCard4 = New PictureBox()
+ PlayerCard5 = New PictureBox()
+ PlayerCard6 = New PictureBox()
+ PlayerCard7 = New PictureBox()
+ PlayerCard8 = New PictureBox()
+ PlayerCard9 = New PictureBox()
+ PlayerCard10 = New PictureBox()
+ StartGame = New Button()
+ PlayerTotal = New Label()
+ DealerTotal = New Label()
+ WinMessage = New Label()
+ CType(PlayerCard1, ComponentModel.ISupportInitialize).BeginInit()
+ CType(PlayerCard2, ComponentModel.ISupportInitialize).BeginInit()
+ CType(PlayerCard3, ComponentModel.ISupportInitialize).BeginInit()
+ CType(PlayerCard4, ComponentModel.ISupportInitialize).BeginInit()
+ CType(PlayerCard5, ComponentModel.ISupportInitialize).BeginInit()
+ CType(PlayerCard6, ComponentModel.ISupportInitialize).BeginInit()
+ CType(PlayerCard7, ComponentModel.ISupportInitialize).BeginInit()
+ CType(PlayerCard8, ComponentModel.ISupportInitialize).BeginInit()
+ CType(PlayerCard9, ComponentModel.ISupportInitialize).BeginInit()
+ CType(PlayerCard10, ComponentModel.ISupportInitialize).BeginInit()
+ SuspendLayout()
+ '
+ ' HitButton
+ '
+ HitButton.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ HitButton.Enabled = False
+ HitButton.Font = New Font("Segoe UI", 36.0F, FontStyle.Regular, GraphicsUnit.Point)
+ HitButton.Location = New Point(100, 490)
+ HitButton.Name = "HitButton"
+ HitButton.Size = New Size(400, 150)
+ HitButton.TabIndex = 0
+ HitButton.Text = "Hit"
+ HitButton.UseVisualStyleBackColor = True
+ '
+ ' StandButton
+ '
+ StandButton.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ StandButton.Enabled = False
+ StandButton.Font = New Font("Segoe UI", 36.0F, FontStyle.Regular, GraphicsUnit.Point)
+ StandButton.Location = New Point(780, 490)
+ StandButton.Name = "StandButton"
+ StandButton.Size = New Size(400, 150)
+ StandButton.TabIndex = 1
+ StandButton.Text = "Stand"
+ StandButton.UseVisualStyleBackColor = True
+ '
+ ' PlayerCard1
+ '
+ PlayerCard1.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard1.ErrorImage = My.Resources.Resources.blue2
+ PlayerCard1.Image = My.Resources.Resources.blue
+ PlayerCard1.InitialImage = My.Resources.Resources.blue2
+ PlayerCard1.Location = New Point(150, 284)
+ PlayerCard1.Name = "PlayerCard1"
+ PlayerCard1.Size = New Size(125, 175)
+ PlayerCard1.TabIndex = 2
+ PlayerCard1.TabStop = False
+ '
+ ' PlayerCard2
+ '
+ PlayerCard2.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard2.ErrorImage = My.Resources.Resources.blue2
+ PlayerCard2.Image = My.Resources.Resources.blue
+ PlayerCard2.InitialImage = My.Resources.Resources.blue2
+ PlayerCard2.Location = New Point(375, 284)
+ PlayerCard2.Name = "PlayerCard2"
+ PlayerCard2.Size = New Size(125, 175)
+ PlayerCard2.TabIndex = 3
+ PlayerCard2.TabStop = False
+ '
+ ' PlayerCard3
+ '
+ PlayerCard3.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard3.ErrorImage = Nothing
+ PlayerCard3.InitialImage = Nothing
+ PlayerCard3.Location = New Point(578, 284)
+ PlayerCard3.Name = "PlayerCard3"
+ PlayerCard3.Size = New Size(125, 175)
+ PlayerCard3.TabIndex = 4
+ PlayerCard3.TabStop = False
+ '
+ ' PlayerCard4
+ '
+ PlayerCard4.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard4.ErrorImage = Nothing
+ PlayerCard4.InitialImage = Nothing
+ PlayerCard4.Location = New Point(780, 284)
+ PlayerCard4.Name = "PlayerCard4"
+ PlayerCard4.Size = New Size(125, 175)
+ PlayerCard4.TabIndex = 5
+ PlayerCard4.TabStop = False
+ '
+ ' PlayerCard5
+ '
+ PlayerCard5.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard5.ErrorImage = Nothing
+ PlayerCard5.InitialImage = Nothing
+ PlayerCard5.Location = New Point(1005, 284)
+ PlayerCard5.Name = "PlayerCard5"
+ PlayerCard5.Size = New Size(125, 175)
+ PlayerCard5.TabIndex = 6
+ PlayerCard5.TabStop = False
+ '
+ ' PlayerCard6
+ '
+ PlayerCard6.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard6.BackgroundImageLayout = ImageLayout.None
+ PlayerCard6.ErrorImage = My.Resources.Resources.blue2
+ PlayerCard6.Image = My.Resources.Resources.blue
+ PlayerCard6.InitialImage = My.Resources.Resources.blue2
+ PlayerCard6.Location = New Point(1005, 12)
+ PlayerCard6.Name = "PlayerCard6"
+ PlayerCard6.Size = New Size(125, 175)
+ PlayerCard6.SizeMode = PictureBoxSizeMode.Zoom
+ PlayerCard6.TabIndex = 11
+ PlayerCard6.TabStop = False
+ '
+ ' PlayerCard7
+ '
+ PlayerCard7.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard7.ErrorImage = My.Resources.Resources.blue2
+ PlayerCard7.Image = My.Resources.Resources.blue
+ PlayerCard7.InitialImage = My.Resources.Resources.blue2
+ PlayerCard7.Location = New Point(780, 12)
+ PlayerCard7.Name = "PlayerCard7"
+ PlayerCard7.Size = New Size(125, 175)
+ PlayerCard7.TabIndex = 10
+ PlayerCard7.TabStop = False
+ '
+ ' PlayerCard8
+ '
+ PlayerCard8.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard8.ErrorImage = Nothing
+ PlayerCard8.InitialImage = Nothing
+ PlayerCard8.Location = New Point(578, 12)
+ PlayerCard8.Name = "PlayerCard8"
+ PlayerCard8.Size = New Size(125, 175)
+ PlayerCard8.TabIndex = 9
+ PlayerCard8.TabStop = False
+ '
+ ' PlayerCard9
+ '
+ PlayerCard9.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard9.ErrorImage = Nothing
+ PlayerCard9.InitialImage = Nothing
+ PlayerCard9.Location = New Point(375, 12)
+ PlayerCard9.Name = "PlayerCard9"
+ PlayerCard9.Size = New Size(125, 175)
+ PlayerCard9.TabIndex = 8
+ PlayerCard9.TabStop = False
+ '
+ ' PlayerCard10
+ '
+ PlayerCard10.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ PlayerCard10.ErrorImage = Nothing
+ PlayerCard10.InitialImage = Nothing
+ PlayerCard10.Location = New Point(150, 12)
+ PlayerCard10.Name = "PlayerCard10"
+ PlayerCard10.Size = New Size(125, 175)
+ PlayerCard10.TabIndex = 7
+ PlayerCard10.TabStop = False
+ '
+ ' StartGame
+ '
+ StartGame.Anchor = AnchorStyles.Top Or AnchorStyles.Right
+ StartGame.Font = New Font("Segoe UI", 26.25F, FontStyle.Regular, GraphicsUnit.Point)
+ StartGame.Location = New Point(535, 490)
+ StartGame.Name = "StartGame"
+ StartGame.Size = New Size(210, 70)
+ StartGame.TabIndex = 12
+ StartGame.Text = "Start Game"
+ StartGame.UseVisualStyleBackColor = True
+ '
+ ' PlayerTotal
+ '
+ PlayerTotal.AutoSize = True
+ PlayerTotal.Font = New Font("Segoe UI", 15.75F, FontStyle.Regular, GraphicsUnit.Point)
+ PlayerTotal.Location = New Point(535, 561)
+ PlayerTotal.Name = "PlayerTotal"
+ PlayerTotal.Size = New Size(141, 30)
+ PlayerTotal.TabIndex = 13
+ PlayerTotal.Text = "Player Total: 0"
+ '
+ ' DealerTotal
+ '
+ DealerTotal.AutoSize = True
+ DealerTotal.Font = New Font("Segoe UI", 15.75F, FontStyle.Regular, GraphicsUnit.Point)
+ DealerTotal.Location = New Point(535, 610)
+ DealerTotal.Name = "DealerTotal"
+ DealerTotal.Size = New Size(145, 30)
+ DealerTotal.TabIndex = 14
+ DealerTotal.Text = "Dealer Total: 0"
+ '
+ ' WinMessage
+ '
+ WinMessage.AutoSize = True
+ WinMessage.Font = New Font("Segoe UI", 15.75F, FontStyle.Regular, GraphicsUnit.Point)
+ WinMessage.Location = New Point(565, 221)
+ WinMessage.Name = "WinMessage"
+ WinMessage.Size = New Size(0, 30)
+ WinMessage.TabIndex = 15
+ '
+ ' Form1
+ '
+ AutoScaleMode = AutoScaleMode.Inherit
+ ClientSize = New Size(1264, 681)
+ Controls.Add(WinMessage)
+ Controls.Add(DealerTotal)
+ Controls.Add(PlayerTotal)
+ Controls.Add(StartGame)
+ Controls.Add(PlayerCard6)
+ Controls.Add(PlayerCard7)
+ Controls.Add(PlayerCard8)
+ Controls.Add(PlayerCard9)
+ Controls.Add(PlayerCard10)
+ Controls.Add(PlayerCard5)
+ Controls.Add(PlayerCard4)
+ Controls.Add(PlayerCard3)
+ Controls.Add(PlayerCard2)
+ Controls.Add(PlayerCard1)
+ Controls.Add(StandButton)
+ Controls.Add(HitButton)
+ MinimumSize = New Size(1280, 720)
+ Name = "Form1"
+ StartPosition = FormStartPosition.CenterScreen
+ Text = "Blackjack"
+ CType(PlayerCard1, ComponentModel.ISupportInitialize).EndInit()
+ CType(PlayerCard2, ComponentModel.ISupportInitialize).EndInit()
+ CType(PlayerCard3, ComponentModel.ISupportInitialize).EndInit()
+ CType(PlayerCard4, ComponentModel.ISupportInitialize).EndInit()
+ CType(PlayerCard5, ComponentModel.ISupportInitialize).EndInit()
+ CType(PlayerCard6, ComponentModel.ISupportInitialize).EndInit()
+ CType(PlayerCard7, ComponentModel.ISupportInitialize).EndInit()
+ CType(PlayerCard8, ComponentModel.ISupportInitialize).EndInit()
+ CType(PlayerCard9, ComponentModel.ISupportInitialize).EndInit()
+ CType(PlayerCard10, ComponentModel.ISupportInitialize).EndInit()
+ ResumeLayout(False)
+ PerformLayout()
+ End Sub
+
+ Friend WithEvents HitButton As Button
+ Friend WithEvents StandButton As Button
+ Friend WithEvents PlayerCard1 As PictureBox
+ Friend WithEvents PlayerCard2 As PictureBox
+ Friend WithEvents PlayerCard3 As PictureBox
+ Friend WithEvents PlayerCard4 As PictureBox
+ Friend WithEvents PlayerCard5 As PictureBox
+ Friend WithEvents PlayerCard6 As PictureBox
+ Friend WithEvents PlayerCard7 As PictureBox
+ Friend WithEvents PlayerCard8 As PictureBox
+ Friend WithEvents PlayerCard9 As PictureBox
+ Friend WithEvents PlayerCard10 As PictureBox
+ Friend WithEvents StartGame As Button
+ Friend WithEvents PlayerTotal As Label
+ Friend WithEvents DealerTotal As Label
+ Friend WithEvents WinMessage As Label
+End Class
diff --git a/BlackjackGUI/Form1.resx b/BlackjackGUI/Form1.resx
new file mode 100644
index 0000000..a395bff
--- /dev/null
+++ b/BlackjackGUI/Form1.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/BlackjackGUI/Form1.vb b/BlackjackGUI/Form1.vb
new file mode 100644
index 0000000..ab4b505
--- /dev/null
+++ b/BlackjackGUI/Form1.vb
@@ -0,0 +1,258 @@
+Public Class Form1
+ Inherits Form
+
+ Dim player As New Player()
+ Dim dealer As New Dealer()
+ Dim deck As New List(Of String)
+ Dim gameRunning As Boolean = True
+ Private Sub StartGame_Click(sender As Object, e As EventArgs) Handles StartGame.Click
+ PlayGame()
+ End Sub
+ Private Sub HitButton_Click(sender As Object, e As EventArgs) Handles HitButton.Click
+ If gameRunning And player.hand.Count < 5 And player.ingame Then
+ DealCard(player)
+ CheckPlayer(player)
+ End If
+ End Sub
+
+ Private Sub StandButton_Click(sender As Object, e As EventArgs) Handles StandButton.Click
+ If gameRunning And player.ingame Then
+ player.ingame = False
+ DealerTurn()
+ End If
+ End Sub
+ Private Sub ResetCards()
+ Dim pictureBoxes() As PictureBox = {PlayerCard1, PlayerCard2, PlayerCard3, PlayerCard4, PlayerCard5, PlayerCard6, PlayerCard7, PlayerCard8, PlayerCard9, PlayerCard10}
+ For Each box In pictureBoxes
+ box.Image = Nothing
+ Next
+ End Sub
+ Sub PlayGame()
+ InitGame()
+ End Sub
+ Sub InitGame()
+ ResetCards()
+ WinMessage.ResetText()
+ HitButton.Enabled = True
+ StandButton.Enabled = True
+ StartGame.Enabled = False
+ gameRunning = True
+ player.Start()
+ dealer.Start()
+ CreateDeck()
+ DealCard(player)
+ DealCard(dealer, isDealer:=True)
+ DealCard(player)
+ DealCard(dealer, isDealer:=True)
+ CheckPlayer(player)
+ End Sub
+ Sub CreateDeck()
+ deck.Clear()
+ Dim nums As String() = {"A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"}
+ Dim suits As String() = {"Hearts", "Diamonds", "Spades", "Clubs"}
+ For Each s As String In suits
+ For Each n As String In nums
+ deck.Add(n + " of " + s)
+ Next
+ Next
+ Shuffle(deck)
+ End Sub
+ Sub Shuffle(deck)
+ Dim max As Integer = deck.Count - 1
+ Dim random As New Random()
+ For x As Integer = 0 To max
+ Dim rand As Integer = random.Next(0, max)
+ Dim temp As String = deck(x)
+ deck(x) = deck(rand)
+ deck(rand) = temp
+ Next
+ End Sub
+ Sub DealCard(player, Optional suppress = False, Optional isDealer = False)
+ Dim card = deck(0)
+ player.hand.Add(card)
+ deck.RemoveAt(0)
+ GetTotal(player)
+ Dim cardNumber As String = If(isDealer, (player.hand.count + 5).ToString(), player.hand.count)
+ Dim pictureBox As PictureBox = CType(Me.Controls.Find("PlayerCard" + cardNumber, True).First(), PictureBox)
+ pictureBox.Image = GetCardImage(card)
+ SetTotalLabels()
+ End Sub
+ Sub GetTotal(player)
+ Dim cards As List(Of String) = player.hand
+ If cards.Count = 0 Then
+ player.total = 0
+ Return
+ End If
+ Dim t As Integer = 0
+ Dim a As Integer = 0
+ For Each x As String In cards
+ Dim card As String = x
+ Dim num As String = card.Split(" "c)(0)
+ If num = "K" Or num = "Q" Or num = "J" Then
+ num = 10
+ End If
+ If num = "A" Then
+ num = 11
+ a += 1
+ End If
+ num = Integer.Parse(num)
+ t += num
+ Next
+ While (a > 0 And t > 21)
+ a -= 1
+ t = t - 10
+ End While
+ player.total = t
+ End Sub
+ Sub SetTotalLabels()
+ Dim dealerLabelTotal As String = DealerTotal.Text.Split(": ")(0)
+ Dim playerLabelTotal As String = PlayerTotal.Text.Split(": ")(0)
+ DealerTotal.Text = dealerLabelTotal + ": " + dealer.total.ToString()
+ PlayerTotal.Text = playerLabelTotal + ": " + player.total.ToString()
+
+ End Sub
+ Sub CheckPlayer(player)
+ If player.total = 21 And player.hand.count = 2 Then
+ player.winType = WinCondition.Blackjack
+ player.ingame = False
+ dealer.ingame = False
+ DealerTurn()
+ ElseIf player.total > 21 Then
+ player.winType = WinCondition.Bust
+ player.ingame = False
+ DealerTurn()
+ ElseIf player.total < 22 And player.hand.count = 5 Then
+ player.winType = WinCondition.FiveCard
+ player.ingame = False
+ dealer.ingame = False
+ DealerTurn()
+ End If
+ If player.total = 21 Then
+ player.ingame = False
+ DealerTurn()
+ End If
+ End Sub
+ Sub DealerTurn()
+ If dealer.ingame Then
+ If dealer.total = 21 And dealer.hand.Count = 2 Then
+ dealer.winType = WinCondition.Blackjack
+ dealer.ingame = False
+ ElseIf dealer.total > 21 Then
+ dealer.winType = WinCondition.Bust
+ player.ingame = False
+ ElseIf dealer.total < dealer.limit Then
+ DealCard(dealer, isDealer:=True)
+ DealerTurn()
+ Else
+ dealer.winType = WinCondition.NormalWin
+ End If
+ End If
+ CheckGame()
+ End Sub
+ Sub CheckGame()
+ WinMessage.Text = GetResults()
+ HitButton.Enabled = False
+ StandButton.Enabled = False
+ StartGame.Enabled = True
+
+ End Sub
+ Function GetResults()
+ If dealer.winType = WinCondition.Blackjack Then
+ If player.winType = WinCondition.Blackjack Then
+ PrintCurrentGame()
+ Return "Player ties with Blackjack!"
+ Else
+ PrintCurrentGame()
+ Return "Dealer wins with Blackjack!"
+ End If
+ End If
+ If player.winType = WinCondition.Blackjack Then
+ PrintCurrentGame()
+ Return "Player wins with Blackjack!"
+ End If
+ If player.winType = WinCondition.FiveCard Then
+ PrintCurrentGame()
+ Return "Player wins with Five Card Charlie!"
+ End If
+ If player.winType = WinCondition.Bust Then
+ PrintCurrentGame()
+ Return "Player busts!"
+ End If
+ If dealer.winType = WinCondition.Bust Then
+ PrintCurrentGame()
+ Return "Dealer busts!"
+ End If
+ If player.total > dealer.total Then
+ PrintCurrentGame()
+ Return "Player wins with total of " + player.total.ToString() + "!"
+ End If
+ If player.total = dealer.total Then
+ PrintCurrentGame()
+ Return "Tie!"
+ End If
+ If player.total < dealer.total Then
+ PrintCurrentGame()
+ Return "Dealer wins with total of " + dealer.total.ToString() + "!"
+ End If
+ PrintCurrentGame()
+ Return "error"
+ End Function
+ Function GetCardImage(card) As Image
+ Dim num As String = card.split(" ")(0)
+ Dim suit As String = card.split(" ")(2)
+ Select Case num
+ Case "K"
+ num = "king"
+ Case "Q"
+ num = "queen"
+ Case "J"
+ num = "jack"
+ Case "A"
+ num = "ace"
+ End Select
+
+ Dim img As String = suit + "_" + num
+ Return My.Resources.ResourceManager.GetObject(img.ToLower())
+ End Function
+ Sub PrintCurrentGame()
+ Console.WriteLine("Dealer Hand: " + String.Join(", ", dealer.hand) + " Total: " + dealer.total.ToString())
+ Console.WriteLine("Player Hand: " + String.Join(", ", player.hand) + " Total: " + player.total.ToString())
+ End Sub
+
+
+End Class
+
+Public Class Player
+ Private _winCondition As WinCondition
+ Public Property hand As New List(Of String)
+ Public Property total As Integer
+ Public Property ingame As Boolean
+ Public Property winType
+ Get
+ Return _winCondition
+ End Get
+ Set
+ _winCondition = Value
+ End Set
+ End Property
+
+ Sub Start()
+ hand.Clear()
+ total = 0
+ ingame = True
+ winType = WinCondition.NormalWin
+
+ End Sub
+End Class
+Public Class Dealer
+ Inherits Player
+
+ Public Property limit As Integer = 17
+End Class
+
+Enum WinCondition
+ Bust
+ NormalWin
+ FiveCard
+ Blackjack
+End Enum
\ No newline at end of file
diff --git a/BlackjackGUI/My Project/Application.Designer.vb b/BlackjackGUI/My Project/Application.Designer.vb
new file mode 100644
index 0000000..007b31f
--- /dev/null
+++ b/BlackjackGUI/My Project/Application.Designer.vb
@@ -0,0 +1,37 @@
+'------------------------------------------------------------------------------
+'
+' This code was generated by a tool.
+' Runtime Version:4.0.30319.42000
+'
+' Changes to this file may cause incorrect behavior and will be lost if
+' the code is regenerated.
+'
+'------------------------------------------------------------------------------
+
+Option Strict On
+Option Explicit On
+
+Namespace My
+
+ 'NOTE: This file is auto-generated; do not modify it directly. To make changes,
+ ' or if you encounter build errors in this file, go to the Project Designer
+ ' (go to Project Properties or double-click the My Project node in
+ ' Solution Explorer), and make changes on the Application tab.
+ '
+ Partial Friend Class MyApplication
+
+
+ Public Sub New()
+ MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
+ Me.IsSingleInstance = False
+ Me.EnableVisualStyles = True
+ Me.SaveMySettingsOnExit = True
+ Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
+ End Sub
+
+
+ Protected Overrides Sub OnCreateMainForm()
+ Me.MainForm = Form1
+ End Sub
+ End Class
+End Namespace
diff --git a/BlackjackGUI/My Project/Application.myapp b/BlackjackGUI/My Project/Application.myapp
new file mode 100644
index 0000000..0f12f32
--- /dev/null
+++ b/BlackjackGUI/My Project/Application.myapp
@@ -0,0 +1,10 @@
+
+
+ true
+ Form1
+ false
+ 0
+ true
+ 0
+ true
+
\ No newline at end of file
diff --git a/BlackjackGUI/My Project/Resources.Designer.vb b/BlackjackGUI/My Project/Resources.Designer.vb
new file mode 100644
index 0000000..1a333f3
--- /dev/null
+++ b/BlackjackGUI/My Project/Resources.Designer.vb
@@ -0,0 +1,723 @@
+'------------------------------------------------------------------------------
+'
+' This code was generated by a tool.
+' Runtime Version:4.0.30319.42000
+'
+' Changes to this file may cause incorrect behavior and will be lost if
+' the code is regenerated.
+'
+'------------------------------------------------------------------------------
+
+Option Strict On
+Option Explicit On
+
+Imports System
+
+Namespace My.Resources
+
+ 'This class was auto-generated by the StronglyTypedResourceBuilder
+ 'class via a tool like ResGen or Visual Studio.
+ 'To add or remove a member, edit your .ResX file then rerun ResGen
+ 'with the /str option, or rebuild your VS project.
+ '''
+ ''' A strongly-typed resource class, for looking up localized strings, etc.
+ '''
+ _
+ Friend Module Resources
+
+ Private resourceMan As Global.System.Resources.ResourceManager
+
+ Private resourceCulture As Global.System.Globalization.CultureInfo
+
+ '''
+ ''' Returns the cached ResourceManager instance used by this class.
+ '''
+ _
+ Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
+ Get
+ If Object.ReferenceEquals(resourceMan, Nothing) Then
+ Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("BlackjackGUI.Resources", GetType(Resources).Assembly)
+ resourceMan = temp
+ End If
+ Return resourceMan
+ End Get
+ End Property
+
+ '''
+ ''' Overrides the current thread's CurrentUICulture property for all
+ ''' resource lookups using this strongly typed resource class.
+ '''
+ _
+ Friend Property Culture() As Global.System.Globalization.CultureInfo
+ Get
+ Return resourceCulture
+ End Get
+ Set
+ resourceCulture = value
+ End Set
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property abstract() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("abstract", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property abstract_clouds() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("abstract_clouds", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property abstract_scene() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("abstract_scene", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property astronaut() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("astronaut", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property blue() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("blue", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property blue2() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("blue2", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property cars() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("cars", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property castle() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("castle", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_10() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_10", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_2() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_2", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_3() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_3", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_4() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_4", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_5() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_5", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_6() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_6", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_7() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_7", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_8() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_8", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_9() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_9", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_ace() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_ace", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_jack() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_jack", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_king() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_king", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property clubs_queen() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("clubs_queen", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_10() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_10", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_2() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_2", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_3() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_3", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_4() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_4", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_5() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_5", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_6() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_6", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_7() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_7", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_8() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_8", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_9() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_9", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_ace() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_ace", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_jack() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_jack", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_king() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_king", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property diamonds_queen() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("diamonds_queen", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property fish() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("fish", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property frog() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("frog", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_10() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_10", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_2() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_2", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_3() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_3", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_4() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_4", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_5() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_5", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_6() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_6", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_7() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_7", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_8() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_8", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_9() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_9", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_ace() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_ace", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_jack() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_jack", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_king() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_king", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property hearts_queen() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("hearts_queen", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property joker_black() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("joker_black", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property joker_red() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("joker_red", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property red() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("red", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property red2() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("red2", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_10() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_10", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_2() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_2", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_3() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_3", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_4() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_4", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_5() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_5", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_6() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_6", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_7() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_7", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_8() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_8", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_9() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_9", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_ace() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_ace", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_jack() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_jack", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_king() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_king", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+
+ '''
+ ''' Looks up a localized resource of type System.Drawing.Bitmap.
+ '''
+ Friend ReadOnly Property spades_queen() As System.Drawing.Bitmap
+ Get
+ Dim obj As Object = ResourceManager.GetObject("spades_queen", resourceCulture)
+ Return CType(obj,System.Drawing.Bitmap)
+ End Get
+ End Property
+ End Module
+End Namespace
diff --git a/BlackjackGUI/My Project/Resources.resx b/BlackjackGUI/My Project/Resources.resx
new file mode 100644
index 0000000..ce83c59
--- /dev/null
+++ b/BlackjackGUI/My Project/Resources.resx
@@ -0,0 +1,319 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ ..\Resources\CardBacks\abstract.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\abstract_clouds.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\abstract_scene.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\astronaut.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\blue.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\blue2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\cars.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\castle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_10.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_6.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_7.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_8.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_9.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_ace.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_jack.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_king.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\clubs_queen.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_10.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_6.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_7.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_8.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_9.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_ace.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_jack.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_king.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\diamonds_queen.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\fish.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\frog.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_10.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_6.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_7.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_8.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_9.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_ace.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_jack.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_king.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\hearts_queen.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\joker_black.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\joker_red.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\red.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardBacks\red2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_10.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_5.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_6.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_7.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_8.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_9.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_ace.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_jack.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_king.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\CardFronts\spades_queen.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/BlackjackGUI/Resources/Atlas_deck_card_back_blue_and_brown.svg.png b/BlackjackGUI/Resources/Atlas_deck_card_back_blue_and_brown.svg.png
new file mode 100644
index 0000000..f50f8a0
Binary files /dev/null and b/BlackjackGUI/Resources/Atlas_deck_card_back_blue_and_brown.svg.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/abstract.png b/BlackjackGUI/Resources/CardBacks/abstract.png
new file mode 100644
index 0000000..6daa05f
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/abstract.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/abstract_clouds.png b/BlackjackGUI/Resources/CardBacks/abstract_clouds.png
new file mode 100644
index 0000000..a2420e4
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/abstract_clouds.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/abstract_scene.png b/BlackjackGUI/Resources/CardBacks/abstract_scene.png
new file mode 100644
index 0000000..ac3e22f
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/abstract_scene.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/astronaut.png b/BlackjackGUI/Resources/CardBacks/astronaut.png
new file mode 100644
index 0000000..c9fe925
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/astronaut.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/blue.png b/BlackjackGUI/Resources/CardBacks/blue.png
new file mode 100644
index 0000000..8b1a7c2
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/blue.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/blue2.png b/BlackjackGUI/Resources/CardBacks/blue2.png
new file mode 100644
index 0000000..c57cb3c
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/blue2.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/cars.png b/BlackjackGUI/Resources/CardBacks/cars.png
new file mode 100644
index 0000000..83170dd
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/cars.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/castle.png b/BlackjackGUI/Resources/CardBacks/castle.png
new file mode 100644
index 0000000..9137e53
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/castle.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/fish.png b/BlackjackGUI/Resources/CardBacks/fish.png
new file mode 100644
index 0000000..25a9cc3
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/fish.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/frog.png b/BlackjackGUI/Resources/CardBacks/frog.png
new file mode 100644
index 0000000..d6fed6f
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/frog.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/red.png b/BlackjackGUI/Resources/CardBacks/red.png
new file mode 100644
index 0000000..95a37bf
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/red.png differ
diff --git a/BlackjackGUI/Resources/CardBacks/red2.png b/BlackjackGUI/Resources/CardBacks/red2.png
new file mode 100644
index 0000000..5bcd408
Binary files /dev/null and b/BlackjackGUI/Resources/CardBacks/red2.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_10.png b/BlackjackGUI/Resources/CardFronts/clubs_10.png
new file mode 100644
index 0000000..d6f2a24
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_10.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_2.png b/BlackjackGUI/Resources/CardFronts/clubs_2.png
new file mode 100644
index 0000000..89252ee
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_2.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_3.png b/BlackjackGUI/Resources/CardFronts/clubs_3.png
new file mode 100644
index 0000000..b4aacbc
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_3.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_4.png b/BlackjackGUI/Resources/CardFronts/clubs_4.png
new file mode 100644
index 0000000..7814c8c
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_4.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_5.png b/BlackjackGUI/Resources/CardFronts/clubs_5.png
new file mode 100644
index 0000000..25a216e
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_5.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_6.png b/BlackjackGUI/Resources/CardFronts/clubs_6.png
new file mode 100644
index 0000000..2f63632
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_6.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_7.png b/BlackjackGUI/Resources/CardFronts/clubs_7.png
new file mode 100644
index 0000000..36e88b4
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_7.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_8.png b/BlackjackGUI/Resources/CardFronts/clubs_8.png
new file mode 100644
index 0000000..4ff62e7
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_8.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_9.png b/BlackjackGUI/Resources/CardFronts/clubs_9.png
new file mode 100644
index 0000000..3a2deaa
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_9.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_ace.png b/BlackjackGUI/Resources/CardFronts/clubs_ace.png
new file mode 100644
index 0000000..c899666
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_ace.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_jack.png b/BlackjackGUI/Resources/CardFronts/clubs_jack.png
new file mode 100644
index 0000000..b79935c
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_jack.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_king.png b/BlackjackGUI/Resources/CardFronts/clubs_king.png
new file mode 100644
index 0000000..60342b2
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_king.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/clubs_queen.png b/BlackjackGUI/Resources/CardFronts/clubs_queen.png
new file mode 100644
index 0000000..ea5ecc2
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/clubs_queen.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_10.png b/BlackjackGUI/Resources/CardFronts/diamonds_10.png
new file mode 100644
index 0000000..27281c2
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_10.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_2.png b/BlackjackGUI/Resources/CardFronts/diamonds_2.png
new file mode 100644
index 0000000..4b3024c
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_2.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_3.png b/BlackjackGUI/Resources/CardFronts/diamonds_3.png
new file mode 100644
index 0000000..1a6ad28
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_3.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_4.png b/BlackjackGUI/Resources/CardFronts/diamonds_4.png
new file mode 100644
index 0000000..e70849f
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_4.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_5.png b/BlackjackGUI/Resources/CardFronts/diamonds_5.png
new file mode 100644
index 0000000..f9e966c
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_5.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_6.png b/BlackjackGUI/Resources/CardFronts/diamonds_6.png
new file mode 100644
index 0000000..cfd3a9b
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_6.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_7.png b/BlackjackGUI/Resources/CardFronts/diamonds_7.png
new file mode 100644
index 0000000..ec174f4
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_7.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_8.png b/BlackjackGUI/Resources/CardFronts/diamonds_8.png
new file mode 100644
index 0000000..7a82e95
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_8.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_9.png b/BlackjackGUI/Resources/CardFronts/diamonds_9.png
new file mode 100644
index 0000000..5b5398f
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_9.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_ace.png b/BlackjackGUI/Resources/CardFronts/diamonds_ace.png
new file mode 100644
index 0000000..7035b1d
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_ace.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_jack.png b/BlackjackGUI/Resources/CardFronts/diamonds_jack.png
new file mode 100644
index 0000000..ccd0f8a
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_jack.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_king.png b/BlackjackGUI/Resources/CardFronts/diamonds_king.png
new file mode 100644
index 0000000..7dba7e1
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_king.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/diamonds_queen.png b/BlackjackGUI/Resources/CardFronts/diamonds_queen.png
new file mode 100644
index 0000000..0077fd0
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/diamonds_queen.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_10.png b/BlackjackGUI/Resources/CardFronts/hearts_10.png
new file mode 100644
index 0000000..702dc91
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_10.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_2.png b/BlackjackGUI/Resources/CardFronts/hearts_2.png
new file mode 100644
index 0000000..2dc5bc1
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_2.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_3.png b/BlackjackGUI/Resources/CardFronts/hearts_3.png
new file mode 100644
index 0000000..bf90d88
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_3.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_4.png b/BlackjackGUI/Resources/CardFronts/hearts_4.png
new file mode 100644
index 0000000..721dbb8
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_4.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_5.png b/BlackjackGUI/Resources/CardFronts/hearts_5.png
new file mode 100644
index 0000000..7a49877
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_5.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_6.png b/BlackjackGUI/Resources/CardFronts/hearts_6.png
new file mode 100644
index 0000000..5832470
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_6.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_7.png b/BlackjackGUI/Resources/CardFronts/hearts_7.png
new file mode 100644
index 0000000..69ea872
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_7.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_8.png b/BlackjackGUI/Resources/CardFronts/hearts_8.png
new file mode 100644
index 0000000..3bf2e86
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_8.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_9.png b/BlackjackGUI/Resources/CardFronts/hearts_9.png
new file mode 100644
index 0000000..c896209
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_9.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_ace.png b/BlackjackGUI/Resources/CardFronts/hearts_ace.png
new file mode 100644
index 0000000..8310d93
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_ace.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_jack.png b/BlackjackGUI/Resources/CardFronts/hearts_jack.png
new file mode 100644
index 0000000..b7d966a
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_jack.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_king.png b/BlackjackGUI/Resources/CardFronts/hearts_king.png
new file mode 100644
index 0000000..af81114
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_king.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/hearts_queen.png b/BlackjackGUI/Resources/CardFronts/hearts_queen.png
new file mode 100644
index 0000000..63324f3
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/hearts_queen.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/joker_black.png b/BlackjackGUI/Resources/CardFronts/joker_black.png
new file mode 100644
index 0000000..a354d3a
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/joker_black.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/joker_red.png b/BlackjackGUI/Resources/CardFronts/joker_red.png
new file mode 100644
index 0000000..b09d28a
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/joker_red.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_10.png b/BlackjackGUI/Resources/CardFronts/spades_10.png
new file mode 100644
index 0000000..97bbc20
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_10.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_2.png b/BlackjackGUI/Resources/CardFronts/spades_2.png
new file mode 100644
index 0000000..005602d
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_2.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_3.png b/BlackjackGUI/Resources/CardFronts/spades_3.png
new file mode 100644
index 0000000..8e65203
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_3.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_4.png b/BlackjackGUI/Resources/CardFronts/spades_4.png
new file mode 100644
index 0000000..43df54d
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_4.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_5.png b/BlackjackGUI/Resources/CardFronts/spades_5.png
new file mode 100644
index 0000000..1fe0ce9
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_5.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_6.png b/BlackjackGUI/Resources/CardFronts/spades_6.png
new file mode 100644
index 0000000..28a13c6
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_6.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_7.png b/BlackjackGUI/Resources/CardFronts/spades_7.png
new file mode 100644
index 0000000..a33721d
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_7.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_8.png b/BlackjackGUI/Resources/CardFronts/spades_8.png
new file mode 100644
index 0000000..589c2d7
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_8.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_9.png b/BlackjackGUI/Resources/CardFronts/spades_9.png
new file mode 100644
index 0000000..165ff16
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_9.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_ace.png b/BlackjackGUI/Resources/CardFronts/spades_ace.png
new file mode 100644
index 0000000..ef2f484
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_ace.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_jack.png b/BlackjackGUI/Resources/CardFronts/spades_jack.png
new file mode 100644
index 0000000..8f84d0f
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_jack.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_king.png b/BlackjackGUI/Resources/CardFronts/spades_king.png
new file mode 100644
index 0000000..b8ad411
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_king.png differ
diff --git a/BlackjackGUI/Resources/CardFronts/spades_queen.png b/BlackjackGUI/Resources/CardFronts/spades_queen.png
new file mode 100644
index 0000000..2aed69e
Binary files /dev/null and b/BlackjackGUI/Resources/CardFronts/spades_queen.png differ