diff --git a/.vs/BattleSim/DesignTimeBuild/.dtbcache.v2 b/.vs/BattleSim/DesignTimeBuild/.dtbcache.v2
new file mode 100644
index 0000000..897ca95
Binary files /dev/null and b/.vs/BattleSim/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/.vs/BattleSimBetterClasses/DesignTimeBuild/.dtbcache.v2 b/.vs/BattleSimBetterClasses/DesignTimeBuild/.dtbcache.v2
new file mode 100644
index 0000000..8347739
Binary files /dev/null and b/.vs/BattleSimBetterClasses/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/.vs/BattleSimBetterClasses/v16/.suo b/.vs/BattleSimBetterClasses/v16/.suo
new file mode 100644
index 0000000..58de649
Binary files /dev/null and b/.vs/BattleSimBetterClasses/v16/.suo differ
diff --git a/.vs/BattleSimBetterClasses/v17/.futdcache.v1 b/.vs/BattleSimBetterClasses/v17/.futdcache.v1
new file mode 100644
index 0000000..9b42eb7
Binary files /dev/null and b/.vs/BattleSimBetterClasses/v17/.futdcache.v1 differ
diff --git a/.vs/BattleSimBetterClasses/v17/.suo b/.vs/BattleSimBetterClasses/v17/.suo
new file mode 100644
index 0000000..879ce98
Binary files /dev/null and b/.vs/BattleSimBetterClasses/v17/.suo differ
diff --git a/BattleSim/BattleSimBetterClasses.csproj b/BattleSim/BattleSimBetterClasses.csproj
new file mode 100644
index 0000000..ef04a4f
--- /dev/null
+++ b/BattleSim/BattleSimBetterClasses.csproj
@@ -0,0 +1,24 @@
+
+
+
+ WinExe
+ netcoreapp3.1
+ true
+
+
+
+
+ True
+ True
+ Resources.resx
+
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
+
\ No newline at end of file
diff --git a/BattleSim/BattleSimBetterClasses.csproj.user b/BattleSim/BattleSimBetterClasses.csproj.user
new file mode 100644
index 0000000..39ce75d
--- /dev/null
+++ b/BattleSim/BattleSimBetterClasses.csproj.user
@@ -0,0 +1,8 @@
+
+
+
+
+ Form
+
+
+
\ No newline at end of file
diff --git a/BattleSim/FRM_Battle.Designer.cs b/BattleSim/FRM_Battle.Designer.cs
new file mode 100644
index 0000000..e8dfe87
--- /dev/null
+++ b/BattleSim/FRM_Battle.Designer.cs
@@ -0,0 +1,525 @@
+
+namespace BattleSim
+{
+ partial class FRM_Battle
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.LBL_GrarrlHitpoints = new System.Windows.Forms.Label();
+ this.TB_GrarrlHitpoints = new System.Windows.Forms.TextBox();
+ this.LBL_KorbatHitpoints = new System.Windows.Forms.Label();
+ this.TB_KorbatHitpoints = new System.Windows.Forms.TextBox();
+ this.BTN_KorbatAttacks = new System.Windows.Forms.Button();
+ this.BTN_GrarrlAttacks = new System.Windows.Forms.Button();
+ this.PB_Grarrl = new System.Windows.Forms.PictureBox();
+ this.PB_Korbat = new System.Windows.Forms.PictureBox();
+ this.LBL_CriticalHit = new System.Windows.Forms.Label();
+ this.PB_AnotherOne = new System.Windows.Forms.PictureBox();
+ this.PB_AndAnotherOne = new System.Windows.Forms.PictureBox();
+ this.LBL_MissedAttack = new System.Windows.Forms.Label();
+ this.BTN_Start = new System.Windows.Forms.Button();
+ this.LBL_Damage = new System.Windows.Forms.Label();
+ this.GB_KorbatAbility = new System.Windows.Forms.GroupBox();
+ this.RB_DoubleDamageIfPoisoned = new System.Windows.Forms.RadioButton();
+ this.RB_Lifesteal = new System.Windows.Forms.RadioButton();
+ this.RB_ChanceToPoison = new System.Windows.Forms.RadioButton();
+ this.GB_GrarrlAbility = new System.Windows.Forms.GroupBox();
+ this.RB_ChanceToTriple = new System.Windows.Forms.RadioButton();
+ this.RB_ChanceToEvade = new System.Windows.Forms.RadioButton();
+ this.RB_DamageBoost = new System.Windows.Forms.RadioButton();
+ this.LBL_PoisonNotification = new System.Windows.Forms.Label();
+ this.LBL_GrarrlHasBeenPoisoned = new System.Windows.Forms.Label();
+ this.LBL_GrarrlHasBeenRecovered = new System.Windows.Forms.Label();
+ this.LBL_GrarrlName = new System.Windows.Forms.Label();
+ this.LBL_KorbatName = new System.Windows.Forms.Label();
+ this.LBL_GrarrlHasEvaded = new System.Windows.Forms.Label();
+ this.PB_DjKhaledOnCoach = new System.Windows.Forms.PictureBox();
+ this.LBL_GameTitle = new System.Windows.Forms.Label();
+ this.LBL_Lifesteal = new System.Windows.Forms.Label();
+ this.LBL_DoubleKorbatAttack = new System.Windows.Forms.Label();
+ this.LBL_GrarrlTripleAttack = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ ((System.ComponentModel.ISupportInitialize)(this.PB_Grarrl)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PB_Korbat)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PB_AnotherOne)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PB_AndAnotherOne)).BeginInit();
+ this.GB_KorbatAbility.SuspendLayout();
+ this.GB_GrarrlAbility.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.PB_DjKhaledOnCoach)).BeginInit();
+ this.SuspendLayout();
+ //
+ // LBL_GrarrlHitpoints
+ //
+ this.LBL_GrarrlHitpoints.AutoSize = true;
+ this.LBL_GrarrlHitpoints.Location = new System.Drawing.Point(535, 22);
+ this.LBL_GrarrlHitpoints.Name = "LBL_GrarrlHitpoints";
+ this.LBL_GrarrlHitpoints.Size = new System.Drawing.Size(31, 20);
+ this.LBL_GrarrlHitpoints.TabIndex = 16;
+ this.LBL_GrarrlHitpoints.Text = "HP:";
+ this.LBL_GrarrlHitpoints.Visible = false;
+ //
+ // TB_GrarrlHitpoints
+ //
+ this.TB_GrarrlHitpoints.Location = new System.Drawing.Point(572, 19);
+ this.TB_GrarrlHitpoints.Name = "TB_GrarrlHitpoints";
+ this.TB_GrarrlHitpoints.ReadOnly = true;
+ this.TB_GrarrlHitpoints.Size = new System.Drawing.Size(33, 27);
+ this.TB_GrarrlHitpoints.TabIndex = 15;
+ this.TB_GrarrlHitpoints.Text = "320";
+ this.TB_GrarrlHitpoints.Visible = false;
+ //
+ // LBL_KorbatHitpoints
+ //
+ this.LBL_KorbatHitpoints.AutoSize = true;
+ this.LBL_KorbatHitpoints.Location = new System.Drawing.Point(65, 22);
+ this.LBL_KorbatHitpoints.Name = "LBL_KorbatHitpoints";
+ this.LBL_KorbatHitpoints.Size = new System.Drawing.Size(31, 20);
+ this.LBL_KorbatHitpoints.TabIndex = 14;
+ this.LBL_KorbatHitpoints.Text = "HP:";
+ this.LBL_KorbatHitpoints.Visible = false;
+ //
+ // TB_KorbatHitpoints
+ //
+ this.TB_KorbatHitpoints.Location = new System.Drawing.Point(102, 19);
+ this.TB_KorbatHitpoints.Name = "TB_KorbatHitpoints";
+ this.TB_KorbatHitpoints.ReadOnly = true;
+ this.TB_KorbatHitpoints.Size = new System.Drawing.Size(33, 27);
+ this.TB_KorbatHitpoints.TabIndex = 13;
+ this.TB_KorbatHitpoints.Text = "240";
+ this.TB_KorbatHitpoints.Visible = false;
+ //
+ // BTN_KorbatAttacks
+ //
+ this.BTN_KorbatAttacks.Location = new System.Drawing.Point(12, 355);
+ this.BTN_KorbatAttacks.Name = "BTN_KorbatAttacks";
+ this.BTN_KorbatAttacks.Size = new System.Drawing.Size(300, 36);
+ this.BTN_KorbatAttacks.TabIndex = 12;
+ this.BTN_KorbatAttacks.Text = "Attack";
+ this.BTN_KorbatAttacks.UseVisualStyleBackColor = true;
+ this.BTN_KorbatAttacks.Visible = false;
+ this.BTN_KorbatAttacks.Click += new System.EventHandler(this.BTN_KorbatAttacks_Click);
+ //
+ // BTN_GrarrlAttacks
+ //
+ this.BTN_GrarrlAttacks.Enabled = false;
+ this.BTN_GrarrlAttacks.Location = new System.Drawing.Point(488, 355);
+ this.BTN_GrarrlAttacks.Name = "BTN_GrarrlAttacks";
+ this.BTN_GrarrlAttacks.Size = new System.Drawing.Size(300, 36);
+ this.BTN_GrarrlAttacks.TabIndex = 11;
+ this.BTN_GrarrlAttacks.Text = "Attack";
+ this.BTN_GrarrlAttacks.UseVisualStyleBackColor = true;
+ this.BTN_GrarrlAttacks.Visible = false;
+ this.BTN_GrarrlAttacks.Click += new System.EventHandler(this.BTN_GrarrlAttacks_Click);
+ //
+ // PB_Grarrl
+ //
+ this.PB_Grarrl.Image = global::BattleSimBetterClasses.Properties.Resources.BS___Grarrl;
+ this.PB_Grarrl.Location = new System.Drawing.Point(488, 49);
+ this.PB_Grarrl.Name = "PB_Grarrl";
+ this.PB_Grarrl.Size = new System.Drawing.Size(300, 300);
+ this.PB_Grarrl.TabIndex = 10;
+ this.PB_Grarrl.TabStop = false;
+ this.PB_Grarrl.Visible = false;
+ //
+ // PB_Korbat
+ //
+ this.PB_Korbat.Image = global::BattleSimBetterClasses.Properties.Resources.BS___Korbat;
+ this.PB_Korbat.Location = new System.Drawing.Point(12, 49);
+ this.PB_Korbat.Name = "PB_Korbat";
+ this.PB_Korbat.Size = new System.Drawing.Size(300, 300);
+ this.PB_Korbat.TabIndex = 9;
+ this.PB_Korbat.TabStop = false;
+ this.PB_Korbat.Visible = false;
+ //
+ // LBL_CriticalHit
+ //
+ this.LBL_CriticalHit.AutoSize = true;
+ this.LBL_CriticalHit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
+ this.LBL_CriticalHit.Location = new System.Drawing.Point(359, 49);
+ this.LBL_CriticalHit.Name = "LBL_CriticalHit";
+ this.LBL_CriticalHit.Size = new System.Drawing.Size(80, 20);
+ this.LBL_CriticalHit.TabIndex = 17;
+ this.LBL_CriticalHit.Text = "Critical hit!";
+ this.LBL_CriticalHit.Visible = false;
+ //
+ // PB_AnotherOne
+ //
+ this.PB_AnotherOne.Image = global::BattleSimBetterClasses.Properties.Resources.BS_AnotherOne;
+ this.PB_AnotherOne.Location = new System.Drawing.Point(336, 355);
+ this.PB_AnotherOne.Name = "PB_AnotherOne";
+ this.PB_AnotherOne.Size = new System.Drawing.Size(125, 112);
+ this.PB_AnotherOne.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.PB_AnotherOne.TabIndex = 18;
+ this.PB_AnotherOne.TabStop = false;
+ this.PB_AnotherOne.Visible = false;
+ //
+ // PB_AndAnotherOne
+ //
+ this.PB_AndAnotherOne.Image = global::BattleSimBetterClasses.Properties.Resources.BS_AndAnotherOne;
+ this.PB_AndAnotherOne.Location = new System.Drawing.Point(318, 190);
+ this.PB_AndAnotherOne.Name = "PB_AndAnotherOne";
+ this.PB_AndAnotherOne.Size = new System.Drawing.Size(165, 159);
+ this.PB_AndAnotherOne.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.PB_AndAnotherOne.TabIndex = 19;
+ this.PB_AndAnotherOne.TabStop = false;
+ this.PB_AndAnotherOne.Visible = false;
+ //
+ // LBL_MissedAttack
+ //
+ this.LBL_MissedAttack.AutoSize = true;
+ this.LBL_MissedAttack.Location = new System.Drawing.Point(380, 49);
+ this.LBL_MissedAttack.Name = "LBL_MissedAttack";
+ this.LBL_MissedAttack.Size = new System.Drawing.Size(42, 20);
+ this.LBL_MissedAttack.TabIndex = 20;
+ this.LBL_MissedAttack.Text = "Miss!";
+ this.LBL_MissedAttack.Visible = false;
+ //
+ // BTN_Start
+ //
+ this.BTN_Start.BackColor = System.Drawing.Color.Maroon;
+ this.BTN_Start.Font = new System.Drawing.Font("Segoe UI", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.BTN_Start.ForeColor = System.Drawing.Color.Orange;
+ this.BTN_Start.Location = new System.Drawing.Point(560, 226);
+ this.BTN_Start.Name = "BTN_Start";
+ this.BTN_Start.Size = new System.Drawing.Size(164, 123);
+ this.BTN_Start.TabIndex = 21;
+ this.BTN_Start.Text = "Start";
+ this.BTN_Start.UseVisualStyleBackColor = false;
+ this.BTN_Start.Click += new System.EventHandler(this.BTN_Start_Click);
+ //
+ // LBL_Damage
+ //
+ this.LBL_Damage.Location = new System.Drawing.Point(318, 7);
+ this.LBL_Damage.Name = "LBL_Damage";
+ this.LBL_Damage.Size = new System.Drawing.Size(164, 42);
+ this.LBL_Damage.TabIndex = 23;
+ this.LBL_Damage.Text = "Korbat Starts";
+ this.LBL_Damage.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ this.LBL_Damage.Visible = false;
+ //
+ // GB_KorbatAbility
+ //
+ this.GB_KorbatAbility.Controls.Add(this.RB_DoubleDamageIfPoisoned);
+ this.GB_KorbatAbility.Controls.Add(this.RB_Lifesteal);
+ this.GB_KorbatAbility.Controls.Add(this.RB_ChanceToPoison);
+ this.GB_KorbatAbility.Location = new System.Drawing.Point(12, 405);
+ this.GB_KorbatAbility.Name = "GB_KorbatAbility";
+ this.GB_KorbatAbility.Size = new System.Drawing.Size(300, 123);
+ this.GB_KorbatAbility.TabIndex = 26;
+ this.GB_KorbatAbility.TabStop = false;
+ this.GB_KorbatAbility.Text = "Korbat Ability";
+ this.GB_KorbatAbility.Visible = false;
+ //
+ // RB_DoubleDamageIfPoisoned
+ //
+ this.RB_DoubleDamageIfPoisoned.AutoSize = true;
+ this.RB_DoubleDamageIfPoisoned.Location = new System.Drawing.Point(6, 86);
+ this.RB_DoubleDamageIfPoisoned.Name = "RB_DoubleDamageIfPoisoned";
+ this.RB_DoubleDamageIfPoisoned.Size = new System.Drawing.Size(245, 24);
+ this.RB_DoubleDamageIfPoisoned.TabIndex = 29;
+ this.RB_DoubleDamageIfPoisoned.Text = "x2 damage if enemy is poisoned";
+ this.RB_DoubleDamageIfPoisoned.UseVisualStyleBackColor = true;
+ //
+ // RB_Lifesteal
+ //
+ this.RB_Lifesteal.AutoSize = true;
+ this.RB_Lifesteal.Location = new System.Drawing.Point(6, 56);
+ this.RB_Lifesteal.Name = "RB_Lifesteal";
+ this.RB_Lifesteal.Size = new System.Drawing.Size(227, 24);
+ this.RB_Lifesteal.TabIndex = 28;
+ this.RB_Lifesteal.Text = "40% Lifesteal (will never miss)";
+ this.RB_Lifesteal.UseVisualStyleBackColor = true;
+ //
+ // RB_ChanceToPoison
+ //
+ this.RB_ChanceToPoison.AutoSize = true;
+ this.RB_ChanceToPoison.Checked = true;
+ this.RB_ChanceToPoison.Location = new System.Drawing.Point(6, 26);
+ this.RB_ChanceToPoison.Name = "RB_ChanceToPoison";
+ this.RB_ChanceToPoison.Size = new System.Drawing.Size(225, 24);
+ this.RB_ChanceToPoison.TabIndex = 27;
+ this.RB_ChanceToPoison.TabStop = true;
+ this.RB_ChanceToPoison.Text = "45% Chance to poison enemy";
+ this.RB_ChanceToPoison.UseVisualStyleBackColor = true;
+ //
+ // GB_GrarrlAbility
+ //
+ this.GB_GrarrlAbility.Controls.Add(this.RB_ChanceToTriple);
+ this.GB_GrarrlAbility.Controls.Add(this.RB_ChanceToEvade);
+ this.GB_GrarrlAbility.Controls.Add(this.RB_DamageBoost);
+ this.GB_GrarrlAbility.Location = new System.Drawing.Point(488, 405);
+ this.GB_GrarrlAbility.Name = "GB_GrarrlAbility";
+ this.GB_GrarrlAbility.Size = new System.Drawing.Size(300, 123);
+ this.GB_GrarrlAbility.TabIndex = 30;
+ this.GB_GrarrlAbility.TabStop = false;
+ this.GB_GrarrlAbility.Text = "Grarrl Ability";
+ this.GB_GrarrlAbility.Visible = false;
+ //
+ // RB_ChanceToTriple
+ //
+ this.RB_ChanceToTriple.AutoSize = true;
+ this.RB_ChanceToTriple.Location = new System.Drawing.Point(6, 86);
+ this.RB_ChanceToTriple.Name = "RB_ChanceToTriple";
+ this.RB_ChanceToTriple.Size = new System.Drawing.Size(270, 24);
+ this.RB_ChanceToTriple.TabIndex = 29;
+ this.RB_ChanceToTriple.Text = "20% Chance to triple attack damage";
+ this.RB_ChanceToTriple.UseVisualStyleBackColor = true;
+ //
+ // RB_ChanceToEvade
+ //
+ this.RB_ChanceToEvade.AutoSize = true;
+ this.RB_ChanceToEvade.Location = new System.Drawing.Point(6, 56);
+ this.RB_ChanceToEvade.Name = "RB_ChanceToEvade";
+ this.RB_ChanceToEvade.Size = new System.Drawing.Size(216, 24);
+ this.RB_ChanceToEvade.TabIndex = 28;
+ this.RB_ChanceToEvade.Text = "35% Chance to evade attack";
+ this.RB_ChanceToEvade.UseVisualStyleBackColor = true;
+ //
+ // RB_DamageBoost
+ //
+ this.RB_DamageBoost.AutoSize = true;
+ this.RB_DamageBoost.Checked = true;
+ this.RB_DamageBoost.Location = new System.Drawing.Point(6, 26);
+ this.RB_DamageBoost.Name = "RB_DamageBoost";
+ this.RB_DamageBoost.Size = new System.Drawing.Size(161, 24);
+ this.RB_DamageBoost.TabIndex = 27;
+ this.RB_DamageBoost.TabStop = true;
+ this.RB_DamageBoost.Text = "40% Damage Boost";
+ this.RB_DamageBoost.UseVisualStyleBackColor = true;
+ //
+ // LBL_PoisonNotification
+ //
+ this.LBL_PoisonNotification.AutoSize = true;
+ this.LBL_PoisonNotification.ForeColor = System.Drawing.Color.Purple;
+ this.LBL_PoisonNotification.Location = new System.Drawing.Point(611, 22);
+ this.LBL_PoisonNotification.Name = "LBL_PoisonNotification";
+ this.LBL_PoisonNotification.Size = new System.Drawing.Size(131, 20);
+ this.LBL_PoisonNotification.TabIndex = 32;
+ this.LBL_PoisonNotification.Text = "-5 poison damage";
+ this.LBL_PoisonNotification.Visible = false;
+ //
+ // LBL_GrarrlHasBeenPoisoned
+ //
+ this.LBL_GrarrlHasBeenPoisoned.Location = new System.Drawing.Point(318, 89);
+ this.LBL_GrarrlHasBeenPoisoned.Name = "LBL_GrarrlHasBeenPoisoned";
+ this.LBL_GrarrlHasBeenPoisoned.Size = new System.Drawing.Size(165, 48);
+ this.LBL_GrarrlHasBeenPoisoned.TabIndex = 33;
+ this.LBL_GrarrlHasBeenPoisoned.Text = "Grarrl has been poisoned";
+ this.LBL_GrarrlHasBeenPoisoned.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ this.LBL_GrarrlHasBeenPoisoned.Visible = false;
+ //
+ // LBL_GrarrlHasBeenRecovered
+ //
+ this.LBL_GrarrlHasBeenRecovered.Location = new System.Drawing.Point(318, 89);
+ this.LBL_GrarrlHasBeenRecovered.Name = "LBL_GrarrlHasBeenRecovered";
+ this.LBL_GrarrlHasBeenRecovered.Size = new System.Drawing.Size(165, 50);
+ this.LBL_GrarrlHasBeenRecovered.TabIndex = 34;
+ this.LBL_GrarrlHasBeenRecovered.Text = "Grarrl has been recovered from poison";
+ this.LBL_GrarrlHasBeenRecovered.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ this.LBL_GrarrlHasBeenRecovered.Visible = false;
+ //
+ // LBL_GrarrlName
+ //
+ this.LBL_GrarrlName.AutoSize = true;
+ this.LBL_GrarrlName.Location = new System.Drawing.Point(488, 22);
+ this.LBL_GrarrlName.Name = "LBL_GrarrlName";
+ this.LBL_GrarrlName.Size = new System.Drawing.Size(46, 20);
+ this.LBL_GrarrlName.TabIndex = 35;
+ this.LBL_GrarrlName.Text = "Grarrl";
+ this.LBL_GrarrlName.Visible = false;
+ //
+ // LBL_KorbatName
+ //
+ this.LBL_KorbatName.AutoSize = true;
+ this.LBL_KorbatName.Location = new System.Drawing.Point(12, 22);
+ this.LBL_KorbatName.Name = "LBL_KorbatName";
+ this.LBL_KorbatName.Size = new System.Drawing.Size(54, 20);
+ this.LBL_KorbatName.TabIndex = 36;
+ this.LBL_KorbatName.Text = "Korbat";
+ this.LBL_KorbatName.Visible = false;
+ //
+ // LBL_GrarrlHasEvaded
+ //
+ this.LBL_GrarrlHasEvaded.Location = new System.Drawing.Point(317, 139);
+ this.LBL_GrarrlHasEvaded.Name = "LBL_GrarrlHasEvaded";
+ this.LBL_GrarrlHasEvaded.Size = new System.Drawing.Size(165, 50);
+ this.LBL_GrarrlHasEvaded.TabIndex = 37;
+ this.LBL_GrarrlHasEvaded.Text = "Grarrl has evaded the attack";
+ this.LBL_GrarrlHasEvaded.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ this.LBL_GrarrlHasEvaded.Visible = false;
+ //
+ // PB_DjKhaledOnCoach
+ //
+ this.PB_DjKhaledOnCoach.Image = global::BattleSimBetterClasses.Properties.Resources.BS_DjKhaledOnCoach;
+ this.PB_DjKhaledOnCoach.Location = new System.Drawing.Point(0, 0);
+ this.PB_DjKhaledOnCoach.Name = "PB_DjKhaledOnCoach";
+ this.PB_DjKhaledOnCoach.Size = new System.Drawing.Size(803, 542);
+ this.PB_DjKhaledOnCoach.TabIndex = 38;
+ this.PB_DjKhaledOnCoach.TabStop = false;
+ //
+ // LBL_GameTitle
+ //
+ this.LBL_GameTitle.BackColor = System.Drawing.Color.DarkRed;
+ this.LBL_GameTitle.Font = new System.Drawing.Font("Segoe UI", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
+ this.LBL_GameTitle.ForeColor = System.Drawing.Color.Orange;
+ this.LBL_GameTitle.Location = new System.Drawing.Point(445, 19);
+ this.LBL_GameTitle.Name = "LBL_GameTitle";
+ this.LBL_GameTitle.Size = new System.Drawing.Size(343, 137);
+ this.LBL_GameTitle.TabIndex = 39;
+ this.LBL_GameTitle.Text = "DJ Khaled\'s Neo-Strikeout";
+ this.LBL_GameTitle.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ //
+ // LBL_Lifesteal
+ //
+ this.LBL_Lifesteal.AutoSize = true;
+ this.LBL_Lifesteal.ForeColor = System.Drawing.Color.DarkTurquoise;
+ this.LBL_Lifesteal.Location = new System.Drawing.Point(141, 22);
+ this.LBL_Lifesteal.Name = "LBL_Lifesteal";
+ this.LBL_Lifesteal.Size = new System.Drawing.Size(75, 20);
+ this.LBL_Lifesteal.TabIndex = 40;
+ this.LBL_Lifesteal.Text = "+ x health";
+ this.LBL_Lifesteal.Visible = false;
+ //
+ // LBL_DoubleKorbatAttack
+ //
+ this.LBL_DoubleKorbatAttack.Location = new System.Drawing.Point(318, 189);
+ this.LBL_DoubleKorbatAttack.Name = "LBL_DoubleKorbatAttack";
+ this.LBL_DoubleKorbatAttack.Size = new System.Drawing.Size(165, 50);
+ this.LBL_DoubleKorbatAttack.TabIndex = 41;
+ this.LBL_DoubleKorbatAttack.Text = "Korbat\'s attack has been doubled";
+ this.LBL_DoubleKorbatAttack.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ this.LBL_DoubleKorbatAttack.Visible = false;
+ //
+ // LBL_GrarrlTripleAttack
+ //
+ this.LBL_GrarrlTripleAttack.Location = new System.Drawing.Point(317, 189);
+ this.LBL_GrarrlTripleAttack.Name = "LBL_GrarrlTripleAttack";
+ this.LBL_GrarrlTripleAttack.Size = new System.Drawing.Size(165, 50);
+ this.LBL_GrarrlTripleAttack.TabIndex = 42;
+ this.LBL_GrarrlTripleAttack.Text = "Grarrl\'s attack has been tripled";
+ this.LBL_GrarrlTripleAttack.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ this.LBL_GrarrlTripleAttack.Visible = false;
+ //
+ // label1
+ //
+ this.label1.Location = new System.Drawing.Point(336, 255);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(19, 19);
+ this.label1.TabIndex = 44;
+ this.label1.Text = "Made By CrossyChainsaw";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ this.label1.Visible = false;
+ //
+ // FRM_Battle
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(229)))));
+ this.ClientSize = new System.Drawing.Size(800, 541);
+ this.Controls.Add(this.LBL_GrarrlTripleAttack);
+ this.Controls.Add(this.LBL_DoubleKorbatAttack);
+ this.Controls.Add(this.LBL_Lifesteal);
+ this.Controls.Add(this.BTN_Start);
+ this.Controls.Add(this.LBL_GrarrlHasEvaded);
+ this.Controls.Add(this.LBL_KorbatName);
+ this.Controls.Add(this.LBL_GrarrlName);
+ this.Controls.Add(this.LBL_GrarrlHasBeenRecovered);
+ this.Controls.Add(this.LBL_GrarrlHasBeenPoisoned);
+ this.Controls.Add(this.LBL_PoisonNotification);
+ this.Controls.Add(this.GB_GrarrlAbility);
+ this.Controls.Add(this.GB_KorbatAbility);
+ this.Controls.Add(this.LBL_Damage);
+ this.Controls.Add(this.LBL_MissedAttack);
+ this.Controls.Add(this.LBL_CriticalHit);
+ this.Controls.Add(this.LBL_GrarrlHitpoints);
+ this.Controls.Add(this.TB_GrarrlHitpoints);
+ this.Controls.Add(this.LBL_KorbatHitpoints);
+ this.Controls.Add(this.TB_KorbatHitpoints);
+ this.Controls.Add(this.BTN_KorbatAttacks);
+ this.Controls.Add(this.BTN_GrarrlAttacks);
+ this.Controls.Add(this.PB_Grarrl);
+ this.Controls.Add(this.PB_Korbat);
+ this.Controls.Add(this.LBL_GameTitle);
+ this.Controls.Add(this.PB_AnotherOne);
+ this.Controls.Add(this.PB_AndAnotherOne);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.PB_DjKhaledOnCoach);
+ this.Name = "FRM_Battle";
+ this.Text = "DJ Khaled\'s Neo-Strikeout";
+ ((System.ComponentModel.ISupportInitialize)(this.PB_Grarrl)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PB_Korbat)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PB_AnotherOne)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.PB_AndAnotherOne)).EndInit();
+ this.GB_KorbatAbility.ResumeLayout(false);
+ this.GB_KorbatAbility.PerformLayout();
+ this.GB_GrarrlAbility.ResumeLayout(false);
+ this.GB_GrarrlAbility.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.PB_DjKhaledOnCoach)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Label LBL_GrarrlHitpoints;
+ private System.Windows.Forms.TextBox TB_GrarrlHitpoints;
+ private System.Windows.Forms.Label LBL_KorbatHitpoints;
+ private System.Windows.Forms.TextBox TB_KorbatHitpoints;
+ private System.Windows.Forms.Button BTN_KorbatAttacks;
+ private System.Windows.Forms.Button BTN_GrarrlAttacks;
+ private System.Windows.Forms.PictureBox PB_Grarrl;
+ private System.Windows.Forms.PictureBox PB_Korbat;
+ private System.Windows.Forms.Label LBL_CriticalHit;
+ private System.Windows.Forms.PictureBox PB_AnotherOne;
+ private System.Windows.Forms.PictureBox PB_AndAnotherOne;
+ private System.Windows.Forms.Label LBL_MissedAttack;
+ private System.Windows.Forms.Button BTN_Start;
+ private System.Windows.Forms.Label LBL_Damage;
+ private System.Windows.Forms.GroupBox GB_KorbatAbility;
+ private System.Windows.Forms.RadioButton RB_DoubleDamageIfPoisoned;
+ private System.Windows.Forms.RadioButton RB_Lifesteal;
+ private System.Windows.Forms.RadioButton RB_ChanceToPoison;
+ private System.Windows.Forms.GroupBox GB_GrarrlAbility;
+ private System.Windows.Forms.RadioButton RB_ChanceToTriple;
+ private System.Windows.Forms.RadioButton RB_ChanceToEvade;
+ private System.Windows.Forms.RadioButton RB_DamageBoost;
+ private System.Windows.Forms.Label LBL_PoisonNotification;
+ private System.Windows.Forms.Label LBL_GrarrlHasBeenPoisoned;
+ private System.Windows.Forms.Label LBL_GrarrlHasBeenRecovered;
+ private System.Windows.Forms.Label LBL_GrarrlName;
+ private System.Windows.Forms.Label LBL_KorbatName;
+ private System.Windows.Forms.Label LBL_GrarrlHasEvaded;
+ private System.Windows.Forms.PictureBox PB_DjKhaledOnCoach;
+ private System.Windows.Forms.Label LBL_GameTitle;
+ private System.Windows.Forms.Label LBL_Lifesteal;
+ private System.Windows.Forms.Label LBL_DoubleKorbatAttack;
+ private System.Windows.Forms.Label LBL_GrarrlTripleAttack;
+ private System.Windows.Forms.Label label1;
+ }
+}
+
diff --git a/BattleSim/FRM_Battle.cs b/BattleSim/FRM_Battle.cs
new file mode 100644
index 0000000..c3dc9f8
--- /dev/null
+++ b/BattleSim/FRM_Battle.cs
@@ -0,0 +1,341 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace BattleSim
+{
+ public partial class FRM_Battle : Form
+ {
+ public FRM_Battle()
+ {
+ InitializeComponent();
+ }
+
+ // create fighters
+ Korbat korbat = new Korbat();
+ Grarrl grarrl = new Grarrl();
+
+ // create objects
+ Random rnd = new Random();
+
+ // Create Variables
+ static int criticalHitsInARow = 0;
+ static int grarrlPoisonTurns = 0;
+ static int grarrlAttack = 0;
+ static int korbatAttack = 0;
+ const int poisonDamage = 5;
+ bool korbatsTurn = true;
+
+ // start button
+ private void BTN_Start_Click(object sender, EventArgs e)
+ {
+ // make visible what has to be visible
+ LBL_KorbatHitpoints.Visible = true;
+ LBL_GrarrlHitpoints.Visible = true;
+ TB_KorbatHitpoints.Visible = true;
+ TB_GrarrlHitpoints.Visible = true;
+ BTN_KorbatAttacks.Visible = true;
+ BTN_GrarrlAttacks.Visible = true;
+ GB_KorbatAbility.Visible = true;
+ GB_GrarrlAbility.Visible = true;
+ LBL_KorbatName.Visible = true;
+ LBL_GrarrlName.Visible = true;
+ LBL_Damage.Visible = true;
+ PB_Korbat.Visible = true;
+ PB_Grarrl.Visible = true;
+
+ // make invisible what has to be invisible
+ PB_DjKhaledOnCoach.Visible = false;
+ LBL_GameTitle.Visible = false;
+ BTN_Start.Visible = false;
+
+ }//BTN_Start
+
+
+
+ //--------------//
+ //---[KORBAT]---//
+ //--------------//
+ private void BTN_KorbatAttacks_Click(object sender, EventArgs e)
+ {
+ RemoveNotifications();
+
+ // repeated notifications
+ if (grarrl.Poisoned == true)
+ {
+ LBL_PoisonNotification.Visible = true;
+ }
+
+
+
+ //---------------------//
+ //---[CHOOSE ATTACK]---//
+ //---------------------//
+
+ if (RB_ChanceToPoison.Checked)
+ {
+ korbatAttack = korbat.NormalAttack(rnd);
+ CheckIfGrarrlWillEvade();
+ if (korbat.WillAttackPoison(rnd, grarrl.Evade) && korbatAttack > 0)
+ {
+ grarrl.IsPoisoned();
+ MakePoisonVisible();
+ grarrlPoisonTurns = 3;
+ }
+ }
+ else if (RB_Lifesteal.Checked)
+ {
+ korbatAttack = korbat.NeverMissAttack(rnd);
+ korbat.Heal(korbatAttack * 40 / 100); // 40% lifesteal
+ MakeLifestealVisible();
+ }
+ else if (RB_DoubleDamageIfPoisoned.Checked)
+ {
+ korbatAttack = korbat.DoubleDamageIfPoisoned(rnd, grarrl.Poisoned);
+ CheckIfGrarrlWillEvade();
+ MakeDoubleDamageVisible();
+ }
+
+ DealDamageToGrarrl();
+ grarrlPoisonTurns--;
+ TakeAwayPoisonEffect();
+ DisplayDamage();
+ UpdateHealth();
+ CheckIfHit();
+ CheckCiriticalHit();
+ CheckIfDead();
+ grarrl.ResetGrarrlWillEvade();
+ korbat.ResetAttackHasBeenDoubled();
+ ChangeTurn();
+
+ }//BTN_KorbatAttacks
+
+
+ //--------------//
+ //---[GRARRL]---//
+ //--------------//
+ private void BTN_GrarrlAttacks_Click(object sender, EventArgs e)
+ {
+ RemoveNotifications();
+
+ //---------------------//
+ //---[CHOOSE ATTACK]---//
+ //---------------------//
+
+ if (RB_DamageBoost.Checked)
+ {
+ grarrlAttack = grarrl.DamageBoostAttack(rnd);
+ }
+ else if (RB_ChanceToEvade.Checked)
+ {
+ grarrlAttack = grarrl.NormalAttack(rnd);
+ grarrl.WillGrarrlEvadeNextHit(rnd);
+ }
+ else if (RB_ChanceToTriple.Checked)
+ {
+ grarrlAttack = grarrl.ChanceToTriple(rnd);
+ if (grarrl.AttackTripled)
+ {
+ LBL_GrarrlTripleAttack.Visible = true;
+ }
+ }
+ korbat.LoseHealth(grarrlAttack);
+ UpdateHealth();
+ DisplayDamage();
+ CheckIfHit();
+ CheckCiriticalHit();
+ CheckIfDead();
+ grarrl.ResetAttackHasBeenTripled();
+ ChangeTurn();
+ }
+
+
+
+ //---------------//
+ //---[METHODS]---//
+ //---------------//
+
+ private void CheckCiriticalHit()
+ {
+ // show label critical hit if attack > 25, also counts critical hits in a row
+ if (korbatAttack >= 30 && korbatsTurn == true || grarrlAttack >= 30 && korbatsTurn == false)
+ {
+ LBL_CriticalHit.Visible = true;
+ criticalHitsInARow++;
+ }
+ else
+ {
+ criticalHitsInARow = 0;
+ }
+
+ // show ... if critical hits in a row reaches at least 2
+ if (criticalHitsInARow > 2)
+ {
+ PB_AndAnotherOne.Visible = true;
+ }
+ else if (criticalHitsInARow == 2)
+ {
+ PB_AnotherOne.Visible = true;
+ }
+ else if (criticalHitsInARow == 0)
+ {
+ PB_AnotherOne.Visible = false;
+ PB_AndAnotherOne.Visible = false;
+ }
+ }//CheckCriticalHi
+ private void CheckIfDead()
+ {
+ // check if anyone died
+ if (korbat.Health <= 0 || grarrl.Health <= 0)
+ {
+ //disable Buttons
+ BTN_GrarrlAttacks.Enabled = false;
+ BTN_KorbatAttacks.Enabled = false;
+
+ // check who died
+ if (korbat.Health <= 0)
+ {
+ // winner message
+ MessageBox.Show("Grarrl Wins!");
+ }
+ if (grarrl.Health <= 0)
+ {
+ // winner message
+ MessageBox.Show("Korbat Wins!");
+ }
+ }
+ }//CheckifDead
+ private void CheckIfHit()
+ {
+ // if attack power 0 and its your turn 'Miss!' label is visible (this prevents ex. 'korbatAttack == 0 && korbatsTurn == false')
+ if (korbatAttack == 0 && korbatsTurn == true || grarrlAttack == 0 && korbatsTurn == false)
+ {
+ LBL_MissedAttack.Visible = true;
+ }
+ // Attack hits, 'Miss!' label won't be visible
+ else
+ {
+ LBL_MissedAttack.Visible = false;
+ }
+ }//CheckIfHit
+ private void CheckIfGrarrlWillEvade()
+ {
+ if (grarrl.Evade == true)
+ {
+ LBL_GrarrlHasEvaded.Visible = true;
+ korbatAttack = 0;
+ }
+ }
+ private void DealDamageToGrarrl()
+ {
+ grarrl.LoseHealth(korbatAttack);
+ if (grarrl.Poisoned)
+ {
+ LBL_PoisonNotification.Visible = true;
+ grarrl.LoseHealth(poisonDamage);
+ }
+ }
+
+ // Methods that update the form by changing/removing stuff
+ public void UpdateHealth()
+ {
+ TB_GrarrlHitpoints.Text = Convert.ToString(grarrl.Health);
+ TB_KorbatHitpoints.Text = Convert.ToString(korbat.Health);
+ }
+ private void MakePoisonVisible()
+ {
+ LBL_PoisonNotification.Visible = true;
+ LBL_GrarrlHasBeenPoisoned.Visible = true;
+ PB_Grarrl.BackColor = Color.Purple;
+ }
+ private void MakeLifestealVisible()
+ {
+ LBL_Lifesteal.Text = "+ " + korbatAttack * 40 / 100 + " health";
+ LBL_Lifesteal.Visible = true;
+ }
+ private void MakeDoubleDamageVisible()
+ {
+ if (korbat.AttackDoubled && korbatAttack > 0)
+ {
+ LBL_DoubleKorbatAttack.Visible = true;
+ }
+ }
+ private void RemoveNotifications()
+ {
+ if (korbatsTurn)
+ {
+ LBL_GrarrlTripleAttack.Visible = false;
+ }
+ else if (!korbatsTurn)
+ {
+ LBL_GrarrlHasBeenPoisoned.Visible = false;
+ LBL_GrarrlHasBeenRecovered.Visible = false;
+ LBL_GrarrlHasEvaded.Visible = false;
+ LBL_Lifesteal.Visible = false;
+ LBL_PoisonNotification.Visible = false;
+ LBL_DoubleKorbatAttack.Visible = false;
+ }
+ LBL_CriticalHit.Visible = false;
+ }
+ private void ChangeTurn()
+ {
+ if (korbatsTurn)
+ {
+ BTN_GrarrlAttacks.Enabled = true;
+ BTN_KorbatAttacks.Enabled = false;
+ korbatsTurn = false;
+ }
+ else if (!korbatsTurn)
+ {
+ BTN_GrarrlAttacks.Enabled = false;
+ BTN_KorbatAttacks.Enabled = true;
+ korbatsTurn = true;
+ }
+
+ }
+ private void DisplayDamage()
+ {
+ if (korbatsTurn)
+ {
+ LBL_Damage.Text = "Korbat dealt " + korbatAttack + " damage";
+ }
+ else if (!korbatsTurn)
+ {
+ LBL_Damage.Text = "Grarrl dealt " + grarrlAttack + " damage";
+ }
+ }
+ private void TakeAwayPoisonEffect()
+ {
+ if (grarrlPoisonTurns == 0)
+ {
+ LBL_GrarrlHasBeenRecovered.Visible = true;
+ PB_Grarrl.BackColor = Color.FromArgb(229, 229, 229);
+ grarrl.RecoveredFromPoison();
+ }
+ }
+ }
+}
+
+
+/*
+//------------//
+//---[BUGS]---//
+//------------//
+- altijd doubled attack
+- altijd tripled attack hint kijk classes properties attackdoubled/tripled
+
+
+//----------------//
+//---[OPDRACHT]---//
+//----------------//
+
+
+
+*/
+
diff --git a/BattleSim/FRM_Battle.resx b/BattleSim/FRM_Battle.resx
new file mode 100644
index 0000000..f298a7b
--- /dev/null
+++ b/BattleSim/FRM_Battle.resx
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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/BattleSim/Grarrl.cs b/BattleSim/Grarrl.cs
new file mode 100644
index 0000000..2d6393b
--- /dev/null
+++ b/BattleSim/Grarrl.cs
@@ -0,0 +1,84 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace BattleSim
+{
+ class Grarrl
+ {
+ // create fields
+ private int health = 320;
+ private bool evade = false;
+ private bool poisoned = false;
+ private bool attackTripled = false;
+
+ // Properties
+ public int Health { get { return health; } }
+ public bool Evade { get { return evade; } }
+ public bool Poisoned { get { return poisoned; } }
+ public bool AttackTripled { get { return attackTripled; } }
+
+ // Methods
+
+ public void LoseHealth(int damage)
+ {
+ this.health = this.health - damage;
+ }
+
+ public void ResetGrarrlWillEvade()
+ {
+ this.evade = false;
+ }
+
+ public void IsPoisoned()
+ {
+ this.poisoned = true;
+ }
+
+ public void RecoveredFromPoison()
+ {
+ this.poisoned = false;
+ }
+
+ public int NormalAttack(Random rnd)
+ {
+ // generate random number (0-30)
+ int attack = rnd.Next(0, 31);
+
+ return attack;
+ }
+
+ public int ChanceToTriple(Random rnd)
+ {
+ int tripleDamageChance = rnd.Next(1, 101);
+ if (tripleDamageChance <= 20)
+ {
+ this.attackTripled = true;
+ return NormalAttack(rnd) * 3;
+ }
+ return NormalAttack(rnd);
+ }
+
+ public int DamageBoostAttack(Random rnd)
+ {
+ // generate random number (0-30)
+ int attack = rnd.Next(0, 43);
+
+ return attack;
+ }
+
+ public void WillGrarrlEvadeNextHit(Random rnd)
+ {
+ int grarrlEvasionChance = rnd.Next(1, 101);
+ if (grarrlEvasionChance <= 35)
+ {
+ this.evade = true;
+ }
+ }
+
+ public void ResetAttackHasBeenTripled()
+ {
+ this.attackTripled = false;
+ }
+ }
+}
diff --git a/BattleSim/Korbat.cs b/BattleSim/Korbat.cs
new file mode 100644
index 0000000..54d447e
--- /dev/null
+++ b/BattleSim/Korbat.cs
@@ -0,0 +1,64 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace BattleSim
+{
+ class Korbat
+ {
+ // create fields
+ private int health = 240;
+ private bool attackDoubled = false;
+
+ // Properties
+ public int Health { get { return health; } }
+ public bool AttackDoubled { get { return attackDoubled; } }
+
+ // Methods
+ public bool WillAttackPoison(Random rnd, bool GrarrlWillEvade)
+ {
+ int poisonChance = rnd.Next(1, 101);
+ // chance to poison vv
+ if (poisonChance <= 45 && GrarrlWillEvade == false)
+ {
+ return true;
+ }
+ return false;
+ }
+
+ public void Heal(int stolenHealth)
+ {
+ this.health = this.health + stolenHealth;
+ }
+
+ public void LoseHealth(int damage)
+ {
+ this.health = this.health - damage;
+ }
+
+ public int NeverMissAttack(Random rnd)
+ {
+ return rnd.Next(1, 31);
+ }
+
+ public int NormalAttack(Random rnd)
+ {
+ return rnd.Next(0, 31);
+ }
+
+ public int DoubleDamageIfPoisoned(Random rnd, bool grarrlIsPoisoned)
+ {
+ if (grarrlIsPoisoned)
+ {
+ attackDoubled = true;
+ return NormalAttack(rnd) * 2;
+ }
+ return NormalAttack(rnd);
+ }
+
+ public void ResetAttackHasBeenDoubled()
+ {
+ this.attackDoubled = false;
+ }
+ }
+}
diff --git a/BattleSim/Program.cs b/BattleSim/Program.cs
new file mode 100644
index 0000000..5388800
--- /dev/null
+++ b/BattleSim/Program.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace BattleSim
+{
+ static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.SetHighDpiMode(HighDpiMode.SystemAware);
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new FRM_Battle());
+ }
+ }
+}
diff --git a/BattleSim/Properties/Resources.Designer.cs b/BattleSim/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..3bc351a
--- /dev/null
+++ b/BattleSim/Properties/Resources.Designer.cs
@@ -0,0 +1,143 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace BattleSimBetterClasses.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // 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.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BattleSimBetterClasses.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap BS___Grarrl {
+ get {
+ object obj = ResourceManager.GetObject("BS - Grarrl", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap BS___Korbat {
+ get {
+ object obj = ResourceManager.GetObject("BS - Korbat", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap BS_AndAnotherOne {
+ get {
+ object obj = ResourceManager.GetObject("BS_AndAnotherOne", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap BS_AndAnotherOne1 {
+ get {
+ object obj = ResourceManager.GetObject("BS_AndAnotherOne1", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap BS_AnotherOne {
+ get {
+ object obj = ResourceManager.GetObject("BS_AnotherOne", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap BS_DjKhaledOnCoach {
+ get {
+ object obj = ResourceManager.GetObject("BS_DjKhaledOnCoach", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap BS_QuestionMark {
+ get {
+ object obj = ResourceManager.GetObject("BS_QuestionMark", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// Looks up a localized resource of type System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap BS_QuestionMark1 {
+ get {
+ object obj = ResourceManager.GetObject("BS_QuestionMark1", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+ }
+}
diff --git a/BattleSim/Properties/Resources.resx b/BattleSim/Properties/Resources.resx
new file mode 100644
index 0000000..a34dad8
--- /dev/null
+++ b/BattleSim/Properties/Resources.resx
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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\BS - Korbat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\BS_QuestionMark.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\BS_AnotherOne.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\BS_AndAnotherOne.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\BS_AndAnotherOne.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\BS_DjKhaledOnCoach.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\BS - Grarrl.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\BS_QuestionMark1.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
\ No newline at end of file
diff --git a/BattleSim/Resources/BS - Grarrl.png b/BattleSim/Resources/BS - Grarrl.png
new file mode 100644
index 0000000..63a2fd1
Binary files /dev/null and b/BattleSim/Resources/BS - Grarrl.png differ
diff --git a/BattleSim/Resources/BS - Korbat.png b/BattleSim/Resources/BS - Korbat.png
new file mode 100644
index 0000000..5a594f5
Binary files /dev/null and b/BattleSim/Resources/BS - Korbat.png differ
diff --git a/BattleSim/Resources/BS_AndAnotherOne.jpg b/BattleSim/Resources/BS_AndAnotherOne.jpg
new file mode 100644
index 0000000..c11e722
Binary files /dev/null and b/BattleSim/Resources/BS_AndAnotherOne.jpg differ
diff --git a/BattleSim/Resources/BS_AndAnotherOne.png b/BattleSim/Resources/BS_AndAnotherOne.png
new file mode 100644
index 0000000..1d73ec7
Binary files /dev/null and b/BattleSim/Resources/BS_AndAnotherOne.png differ
diff --git a/BattleSim/Resources/BS_AnotherOne.jpg b/BattleSim/Resources/BS_AnotherOne.jpg
new file mode 100644
index 0000000..d38c0f6
Binary files /dev/null and b/BattleSim/Resources/BS_AnotherOne.jpg differ
diff --git a/BattleSim/Resources/BS_DjKhaledOnCoach.jpg b/BattleSim/Resources/BS_DjKhaledOnCoach.jpg
new file mode 100644
index 0000000..b36e2d8
Binary files /dev/null and b/BattleSim/Resources/BS_DjKhaledOnCoach.jpg differ
diff --git a/BattleSim/Resources/BS_QuestionMark.jpg b/BattleSim/Resources/BS_QuestionMark.jpg
new file mode 100644
index 0000000..ab46b8c
Binary files /dev/null and b/BattleSim/Resources/BS_QuestionMark.jpg differ
diff --git a/BattleSim/Resources/BS_QuestionMark1.jpg b/BattleSim/Resources/BS_QuestionMark1.jpg
new file mode 100644
index 0000000..1dd5123
Binary files /dev/null and b/BattleSim/Resources/BS_QuestionMark1.jpg differ
diff --git a/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.deps.json b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.deps.json
new file mode 100644
index 0000000..3382402
--- /dev/null
+++ b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.deps.json
@@ -0,0 +1,23 @@
+{
+ "runtimeTarget": {
+ "name": ".NETCoreApp,Version=v3.1",
+ "signature": ""
+ },
+ "compilationOptions": {},
+ "targets": {
+ ".NETCoreApp,Version=v3.1": {
+ "BattleSimBetterClasses/1.0.0": {
+ "runtime": {
+ "BattleSimBetterClasses.dll": {}
+ }
+ }
+ }
+ },
+ "libraries": {
+ "BattleSimBetterClasses/1.0.0": {
+ "type": "project",
+ "serviceable": false,
+ "sha512": ""
+ }
+ }
+}
\ No newline at end of file
diff --git a/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.dll b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.dll
new file mode 100644
index 0000000..b909870
Binary files /dev/null and b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.dll differ
diff --git a/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.exe b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.exe
new file mode 100644
index 0000000..c3c3da0
Binary files /dev/null and b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.exe differ
diff --git a/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.pdb b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.pdb
new file mode 100644
index 0000000..6c3e79a
Binary files /dev/null and b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.pdb differ
diff --git a/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.runtimeconfig.dev.json b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.runtimeconfig.dev.json
new file mode 100644
index 0000000..b6938b0
--- /dev/null
+++ b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.runtimeconfig.dev.json
@@ -0,0 +1,9 @@
+{
+ "runtimeOptions": {
+ "additionalProbingPaths": [
+ "C:\\Users\\kaan-\\.dotnet\\store\\|arch|\\|tfm|",
+ "C:\\Users\\kaan-\\.nuget\\packages",
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.runtimeconfig.json b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.runtimeconfig.json
new file mode 100644
index 0000000..4932b40
--- /dev/null
+++ b/BattleSim/bin/Debug/netcoreapp3.1/BattleSimBetterClasses.runtimeconfig.json
@@ -0,0 +1,9 @@
+{
+ "runtimeOptions": {
+ "tfm": "netcoreapp3.1",
+ "framework": {
+ "name": "Microsoft.WindowsDesktop.App",
+ "version": "3.1.0"
+ }
+ }
+}
\ No newline at end of file
diff --git a/BattleSim/obj/BattleSim.csproj.nuget.dgspec.json b/BattleSim/obj/BattleSim.csproj.nuget.dgspec.json
new file mode 100644
index 0000000..391f002
--- /dev/null
+++ b/BattleSim/obj/BattleSim.csproj.nuget.dgspec.json
@@ -0,0 +1,69 @@
+{
+ "format": 1,
+ "restore": {
+ "C:\\Users\\kaan-\\source\\repos\\BattleSimBetterClasses\\BattleSim\\BattleSim.csproj": {}
+ },
+ "projects": {
+ "C:\\Users\\kaan-\\source\\repos\\BattleSimBetterClasses\\BattleSim\\BattleSim.csproj": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\kaan-\\source\\repos\\BattleSimBetterClasses\\BattleSim\\BattleSim.csproj",
+ "projectName": "BattleSim",
+ "projectPath": "C:\\Users\\kaan-\\source\\repos\\BattleSimBetterClasses\\BattleSim\\BattleSim.csproj",
+ "packagesPath": "C:\\Users\\kaan-\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\kaan-\\source\\repos\\BattleSimBetterClasses\\BattleSim\\obj\\",
+ "projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
+ "configFilePaths": [
+ "C:\\Users\\kaan-\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ },
+ "Microsoft.WindowsDesktop.App.WindowsForms": {
+ "privateAssets": "none"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/BattleSim/obj/BattleSim.csproj.nuget.g.props b/BattleSim/obj/BattleSim.csproj.nuget.g.props
new file mode 100644
index 0000000..a7c4729
--- /dev/null
+++ b/BattleSim/obj/BattleSim.csproj.nuget.g.props
@@ -0,0 +1,19 @@
+
+
+
+ True
+ NuGet
+ $(MSBuildThisFileDirectory)project.assets.json
+ $(UserProfile)\.nuget\packages\
+ C:\Users\kaan-\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
+ PackageReference
+ 5.10.0
+
+
+
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/BattleSim/obj/BattleSim.csproj.nuget.g.targets b/BattleSim/obj/BattleSim.csproj.nuget.g.targets
new file mode 100644
index 0000000..53cfaa1
--- /dev/null
+++ b/BattleSim/obj/BattleSim.csproj.nuget.g.targets
@@ -0,0 +1,6 @@
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/BattleSim/obj/BattleSimBetterClasses.csproj.nuget.dgspec.json b/BattleSim/obj/BattleSimBetterClasses.csproj.nuget.dgspec.json
new file mode 100644
index 0000000..240d98f
--- /dev/null
+++ b/BattleSim/obj/BattleSimBetterClasses.csproj.nuget.dgspec.json
@@ -0,0 +1,69 @@
+{
+ "format": 1,
+ "restore": {
+ "C:\\Users\\kaan-\\Downloads\\BattleSimBetterClasses\\BattleSimBetterClasses\\BattleSim\\BattleSimBetterClasses.csproj": {}
+ },
+ "projects": {
+ "C:\\Users\\kaan-\\Downloads\\BattleSimBetterClasses\\BattleSimBetterClasses\\BattleSim\\BattleSimBetterClasses.csproj": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\kaan-\\Downloads\\BattleSimBetterClasses\\BattleSimBetterClasses\\BattleSim\\BattleSimBetterClasses.csproj",
+ "projectName": "BattleSimBetterClasses",
+ "projectPath": "C:\\Users\\kaan-\\Downloads\\BattleSimBetterClasses\\BattleSimBetterClasses\\BattleSim\\BattleSimBetterClasses.csproj",
+ "packagesPath": "C:\\Users\\kaan-\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\kaan-\\Downloads\\BattleSimBetterClasses\\BattleSimBetterClasses\\BattleSim\\obj\\",
+ "projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
+ "configFilePaths": [
+ "C:\\Users\\kaan-\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ },
+ "Microsoft.WindowsDesktop.App.WindowsForms": {
+ "privateAssets": "none"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.201\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/BattleSim/obj/BattleSimBetterClasses.csproj.nuget.g.props b/BattleSim/obj/BattleSimBetterClasses.csproj.nuget.g.props
new file mode 100644
index 0000000..fcb7798
--- /dev/null
+++ b/BattleSim/obj/BattleSimBetterClasses.csproj.nuget.g.props
@@ -0,0 +1,16 @@
+
+
+
+ True
+ NuGet
+ $(MSBuildThisFileDirectory)project.assets.json
+ $(UserProfile)\.nuget\packages\
+ C:\Users\kaan-\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
+ PackageReference
+ 6.1.0
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BattleSim/obj/BattleSimBetterClasses.csproj.nuget.g.targets b/BattleSim/obj/BattleSimBetterClasses.csproj.nuget.g.targets
new file mode 100644
index 0000000..3dc06ef
--- /dev/null
+++ b/BattleSim/obj/BattleSimBetterClasses.csproj.nuget.g.targets
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs b/BattleSim/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs
new file mode 100644
index 0000000..ad8dfe1
--- /dev/null
+++ b/BattleSim/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs
@@ -0,0 +1,4 @@
+//
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSim.FRM_Battle.resources b/BattleSim/obj/Debug/netcoreapp3.1/BattleSim.FRM_Battle.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/BattleSim/obj/Debug/netcoreapp3.1/BattleSim.FRM_Battle.resources differ
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.AssemblyInfo.cs b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.AssemblyInfo.cs
new file mode 100644
index 0000000..3bcf67d
--- /dev/null
+++ b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.AssemblyInfo.cs
@@ -0,0 +1,23 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("BattleSimBetterClasses")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("BattleSimBetterClasses")]
+[assembly: System.Reflection.AssemblyTitleAttribute("BattleSimBetterClasses")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Generated by the MSBuild WriteCodeFragment class.
+
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.AssemblyInfoInputs.cache b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.AssemblyInfoInputs.cache
new file mode 100644
index 0000000..40c97d3
--- /dev/null
+++ b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.AssemblyInfoInputs.cache
@@ -0,0 +1 @@
+190e260c1f6b4cb8114e92e3b7ffe0eb3a097aeb
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.GeneratedMSBuildEditorConfig.editorconfig b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.GeneratedMSBuildEditorConfig.editorconfig
new file mode 100644
index 0000000..be2e5f7
--- /dev/null
+++ b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.GeneratedMSBuildEditorConfig.editorconfig
@@ -0,0 +1,9 @@
+is_global = true
+build_property.ApplicationManifest =
+build_property.StartupObject =
+build_property.ApplicationDefaultFont =
+build_property.ApplicationHighDpiMode =
+build_property.ApplicationUseCompatibleTextRendering =
+build_property.ApplicationVisualStyles =
+build_property.RootNamespace = BattleSimBetterClasses
+build_property.ProjectDir = C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.Properties.Resources.resources b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.Properties.Resources.resources
new file mode 100644
index 0000000..514f69a
Binary files /dev/null and b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.Properties.Resources.resources differ
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.assets.cache b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.assets.cache
new file mode 100644
index 0000000..6170e3a
Binary files /dev/null and b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.assets.cache differ
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.AssemblyReference.cache b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.AssemblyReference.cache
new file mode 100644
index 0000000..497107e
Binary files /dev/null and b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.AssemblyReference.cache differ
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.BuildWithSkipAnalyzers b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.BuildWithSkipAnalyzers
new file mode 100644
index 0000000..e69de29
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.CoreCompileInputs.cache b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..265b2ed
--- /dev/null
+++ b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+3f909432842298b3e180092d181feb27277522bd
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.FileListAbsolute.txt b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..f18d326
--- /dev/null
+++ b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.FileListAbsolute.txt
@@ -0,0 +1,17 @@
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\bin\Debug\netcoreapp3.1\BattleSimBetterClasses.exe
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\bin\Debug\netcoreapp3.1\BattleSimBetterClasses.deps.json
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\bin\Debug\netcoreapp3.1\BattleSimBetterClasses.runtimeconfig.json
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\bin\Debug\netcoreapp3.1\BattleSimBetterClasses.runtimeconfig.dev.json
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\bin\Debug\netcoreapp3.1\BattleSimBetterClasses.dll
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\bin\Debug\netcoreapp3.1\BattleSimBetterClasses.pdb
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.csproj.AssemblyReference.cache
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSim.FRM_Battle.resources
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.Properties.Resources.resources
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.csproj.GenerateResource.cache
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.GeneratedMSBuildEditorConfig.editorconfig
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.AssemblyInfoInputs.cache
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.AssemblyInfo.cs
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.csproj.CoreCompileInputs.cache
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.dll
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.pdb
+C:\Users\kaan-\Downloads\BattleSimBetterClasses\BattleSimBetterClasses\BattleSim\obj\Debug\netcoreapp3.1\BattleSimBetterClasses.genruntimeconfig.cache
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.GenerateResource.cache b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.GenerateResource.cache
new file mode 100644
index 0000000..c16776c
Binary files /dev/null and b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.csproj.GenerateResource.cache differ
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.dll b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.dll
new file mode 100644
index 0000000..b909870
Binary files /dev/null and b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.dll differ
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.genruntimeconfig.cache b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.genruntimeconfig.cache
new file mode 100644
index 0000000..197fdaf
--- /dev/null
+++ b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.genruntimeconfig.cache
@@ -0,0 +1 @@
+72e975e9ff78c04d083998fb909772927e761ea2
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.pdb b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.pdb
new file mode 100644
index 0000000..6c3e79a
Binary files /dev/null and b/BattleSim/obj/Debug/netcoreapp3.1/BattleSimBetterClasses.pdb differ
diff --git a/BattleSim/obj/Debug/netcoreapp3.1/apphost.exe b/BattleSim/obj/Debug/netcoreapp3.1/apphost.exe
new file mode 100644
index 0000000..c3c3da0
Binary files /dev/null and b/BattleSim/obj/Debug/netcoreapp3.1/apphost.exe differ
diff --git a/BattleSim/obj/project.assets.json b/BattleSim/obj/project.assets.json
new file mode 100644
index 0000000..05265b2
--- /dev/null
+++ b/BattleSim/obj/project.assets.json
@@ -0,0 +1,75 @@
+{
+ "version": 3,
+ "targets": {
+ ".NETCoreApp,Version=v3.1": {}
+ },
+ "libraries": {},
+ "projectFileDependencyGroups": {
+ ".NETCoreApp,Version=v3.1": []
+ },
+ "packageFolders": {
+ "C:\\Users\\kaan-\\.nuget\\packages\\": {},
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
+ },
+ "project": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\kaan-\\Downloads\\BattleSimBetterClasses\\BattleSimBetterClasses\\BattleSim\\BattleSimBetterClasses.csproj",
+ "projectName": "BattleSimBetterClasses",
+ "projectPath": "C:\\Users\\kaan-\\Downloads\\BattleSimBetterClasses\\BattleSimBetterClasses\\BattleSim\\BattleSimBetterClasses.csproj",
+ "packagesPath": "C:\\Users\\kaan-\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\kaan-\\Downloads\\BattleSimBetterClasses\\BattleSimBetterClasses\\BattleSim\\obj\\",
+ "projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
+ "configFilePaths": [
+ "C:\\Users\\kaan-\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ },
+ "Microsoft.WindowsDesktop.App.WindowsForms": {
+ "privateAssets": "none"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.201\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/BattleSim/obj/project.nuget.cache b/BattleSim/obj/project.nuget.cache
new file mode 100644
index 0000000..3870f72
--- /dev/null
+++ b/BattleSim/obj/project.nuget.cache
@@ -0,0 +1,8 @@
+{
+ "version": 2,
+ "dgSpecHash": "wDkpxDYaNiuw9TNpErwAowYd+wnQIj5BdGEJkdX5AsH9MEGFrGA9mCZsEjmyX4QKHgp+zfMG0Z4OU2CFwpYGUw==",
+ "success": true,
+ "projectFilePath": "C:\\Users\\kaan-\\Downloads\\BattleSimBetterClasses\\BattleSimBetterClasses\\BattleSim\\BattleSimBetterClasses.csproj",
+ "expectedPackageFiles": [],
+ "logs": []
+}
\ No newline at end of file
diff --git a/BattleSimBetterClasses.sln b/BattleSimBetterClasses.sln
new file mode 100644
index 0000000..345317d
--- /dev/null
+++ b/BattleSimBetterClasses.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.31025.194
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BattleSimBetterClasses", "BattleSim\BattleSimBetterClasses.csproj", "{C9EDF5F6-D7FB-4F7B-B09A-FC98DE9688DD}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {C9EDF5F6-D7FB-4F7B-B09A-FC98DE9688DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C9EDF5F6-D7FB-4F7B-B09A-FC98DE9688DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C9EDF5F6-D7FB-4F7B-B09A-FC98DE9688DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {C9EDF5F6-D7FB-4F7B-B09A-FC98DE9688DD}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {6D565D1C-11FF-47D9-B331-5896611E1601}
+ EndGlobalSection
+EndGlobal