Rock Paper Scissors build

This commit is contained in:
2022-11-16 19:07:09 -06:00
parent cbe581d438
commit abae985418
1131 changed files with 4261 additions and 196 deletions

Binary file not shown.

View File

@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32929.385
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RCS_CalebFontenot", "RCS_CalebFontenot\RCS_CalebFontenot.csproj", "{88731825-AA65-47F2-9DE4-15A4D4DFB2AB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{88731825-AA65-47F2-9DE4-15A4D4DFB2AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{88731825-AA65-47F2-9DE4-15A4D4DFB2AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{88731825-AA65-47F2-9DE4-15A4D4DFB2AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{88731825-AA65-47F2-9DE4-15A4D4DFB2AB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A3CCEBB6-8CB2-41B5-B160-578FAFC3A9C0}
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,331 @@
namespace RCS_CalebFontenot
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.rockPictureBox = new System.Windows.Forms.PictureBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.paperPictureBox = new System.Windows.Forms.PictureBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.scissorPictureBox = new System.Windows.Forms.PictureBox();
this.statusLabel = new System.Windows.Forms.Label();
this.newGameButton = new System.Windows.Forms.Button();
this.exitButton = new System.Windows.Forms.Button();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.cpuMove = new System.Windows.Forms.PictureBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.cpuScissorsCounter = new System.Windows.Forms.Label();
this.cpuRockCounter = new System.Windows.Forms.Label();
this.cpuPaperCounter = new System.Windows.Forms.Label();
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.playerScissorsCounter = new System.Windows.Forms.Label();
this.playerRockCounter = new System.Windows.Forms.Label();
this.playerPaperCounter = new System.Windows.Forms.Label();
this.clearButton = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rockPictureBox)).BeginInit();
this.groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.paperPictureBox)).BeginInit();
this.groupBox3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.scissorPictureBox)).BeginInit();
this.groupBox4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.cpuMove)).BeginInit();
this.groupBox5.SuspendLayout();
this.groupBox6.SuspendLayout();
this.groupBox7.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.rockPictureBox);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(250, 182);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Rock";
//
// rockPictureBox
//
this.rockPictureBox.Enabled = false;
this.rockPictureBox.Image = global::RCS_CalebFontenot.Properties.Resources.Rock;
this.rockPictureBox.Location = new System.Drawing.Point(6, 22);
this.rockPictureBox.Name = "rockPictureBox";
this.rockPictureBox.Size = new System.Drawing.Size(238, 154);
this.rockPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.rockPictureBox.TabIndex = 0;
this.rockPictureBox.TabStop = false;
this.rockPictureBox.Click += new System.EventHandler(this.rockPictureBox_Click);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.paperPictureBox);
this.groupBox2.Location = new System.Drawing.Point(268, 12);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(250, 182);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Paper";
//
// paperPictureBox
//
this.paperPictureBox.Image = global::RCS_CalebFontenot.Properties.Resources.Paper;
this.paperPictureBox.Location = new System.Drawing.Point(6, 22);
this.paperPictureBox.Name = "paperPictureBox";
this.paperPictureBox.Size = new System.Drawing.Size(238, 154);
this.paperPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.paperPictureBox.TabIndex = 0;
this.paperPictureBox.TabStop = false;
this.paperPictureBox.Click += new System.EventHandler(this.paperPictureBox_Click);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.scissorPictureBox);
this.groupBox3.Location = new System.Drawing.Point(524, 12);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(250, 182);
this.groupBox3.TabIndex = 1;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Scissors";
//
// scissorPictureBox
//
this.scissorPictureBox.Image = global::RCS_CalebFontenot.Properties.Resources.Scissors;
this.scissorPictureBox.Location = new System.Drawing.Point(6, 22);
this.scissorPictureBox.Name = "scissorPictureBox";
this.scissorPictureBox.Size = new System.Drawing.Size(238, 154);
this.scissorPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.scissorPictureBox.TabIndex = 0;
this.scissorPictureBox.TabStop = false;
this.scissorPictureBox.Click += new System.EventHandler(this.scissorPictureBox_Click);
//
// statusLabel
//
this.statusLabel.Location = new System.Drawing.Point(99, 204);
this.statusLabel.Name = "statusLabel";
this.statusLabel.Size = new System.Drawing.Size(594, 23);
this.statusLabel.TabIndex = 2;
this.statusLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// newGameButton
//
this.newGameButton.Location = new System.Drawing.Point(18, 204);
this.newGameButton.Name = "newGameButton";
this.newGameButton.Size = new System.Drawing.Size(75, 23);
this.newGameButton.TabIndex = 3;
this.newGameButton.Text = "New Game";
this.newGameButton.UseVisualStyleBackColor = true;
this.newGameButton.Click += new System.EventHandler(this.newGameButton_Click);
//
// exitButton
//
this.exitButton.Location = new System.Drawing.Point(699, 204);
this.exitButton.Name = "exitButton";
this.exitButton.Size = new System.Drawing.Size(75, 23);
this.exitButton.TabIndex = 4;
this.exitButton.Text = "Exit";
this.exitButton.UseVisualStyleBackColor = true;
this.exitButton.Click += new System.EventHandler(this.exitButton_Click);
//
// groupBox4
//
this.groupBox4.Controls.Add(this.cpuMove);
this.groupBox4.Location = new System.Drawing.Point(113, 227);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(244, 170);
this.groupBox4.TabIndex = 5;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Computer\'s move";
//
// cpuMove
//
this.cpuMove.Location = new System.Drawing.Point(6, 25);
this.cpuMove.Name = "cpuMove";
this.cpuMove.Size = new System.Drawing.Size(232, 142);
this.cpuMove.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.cpuMove.TabIndex = 0;
this.cpuMove.TabStop = false;
//
// groupBox5
//
this.groupBox5.Controls.Add(this.groupBox6);
this.groupBox5.Controls.Add(this.groupBox7);
this.groupBox5.Location = new System.Drawing.Point(444, 227);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(271, 167);
this.groupBox5.TabIndex = 6;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "Win Counter";
//
// groupBox6
//
this.groupBox6.Controls.Add(this.cpuScissorsCounter);
this.groupBox6.Controls.Add(this.cpuRockCounter);
this.groupBox6.Controls.Add(this.cpuPaperCounter);
this.groupBox6.Location = new System.Drawing.Point(6, 22);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(259, 58);
this.groupBox6.TabIndex = 0;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "Computer";
//
// cpuScissorsCounter
//
this.cpuScissorsCounter.Location = new System.Drawing.Point(178, 19);
this.cpuScissorsCounter.Name = "cpuScissorsCounter";
this.cpuScissorsCounter.Size = new System.Drawing.Size(80, 23);
this.cpuScissorsCounter.TabIndex = 2;
this.cpuScissorsCounter.Text = "Scissors: 0";
this.cpuScissorsCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// cpuRockCounter
//
this.cpuRockCounter.Location = new System.Drawing.Point(6, 19);
this.cpuRockCounter.Name = "cpuRockCounter";
this.cpuRockCounter.Size = new System.Drawing.Size(80, 23);
this.cpuRockCounter.TabIndex = 0;
this.cpuRockCounter.Text = "Rock: 0";
this.cpuRockCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// cpuPaperCounter
//
this.cpuPaperCounter.Location = new System.Drawing.Point(92, 19);
this.cpuPaperCounter.Name = "cpuPaperCounter";
this.cpuPaperCounter.Size = new System.Drawing.Size(80, 23);
this.cpuPaperCounter.TabIndex = 1;
this.cpuPaperCounter.Text = "Paper: 0";
this.cpuPaperCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// groupBox7
//
this.groupBox7.Controls.Add(this.playerScissorsCounter);
this.groupBox7.Controls.Add(this.playerRockCounter);
this.groupBox7.Controls.Add(this.playerPaperCounter);
this.groupBox7.Location = new System.Drawing.Point(6, 86);
this.groupBox7.Name = "groupBox7";
this.groupBox7.Size = new System.Drawing.Size(258, 58);
this.groupBox7.TabIndex = 1;
this.groupBox7.TabStop = false;
this.groupBox7.Text = "Player";
//
// playerScissorsCounter
//
this.playerScissorsCounter.Location = new System.Drawing.Point(178, 19);
this.playerScissorsCounter.Name = "playerScissorsCounter";
this.playerScissorsCounter.Size = new System.Drawing.Size(74, 23);
this.playerScissorsCounter.TabIndex = 5;
this.playerScissorsCounter.Text = "Scissors: 0";
this.playerScissorsCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// playerRockCounter
//
this.playerRockCounter.Location = new System.Drawing.Point(6, 19);
this.playerRockCounter.Name = "playerRockCounter";
this.playerRockCounter.Size = new System.Drawing.Size(80, 23);
this.playerRockCounter.TabIndex = 3;
this.playerRockCounter.Text = "Rock: 0";
this.playerRockCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// playerPaperCounter
//
this.playerPaperCounter.Location = new System.Drawing.Point(92, 19);
this.playerPaperCounter.Name = "playerPaperCounter";
this.playerPaperCounter.Size = new System.Drawing.Size(80, 23);
this.playerPaperCounter.TabIndex = 4;
this.playerPaperCounter.Text = "Paper: 0";
this.playerPaperCounter.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// clearButton
//
this.clearButton.Location = new System.Drawing.Point(363, 287);
this.clearButton.Name = "clearButton";
this.clearButton.Size = new System.Drawing.Size(75, 43);
this.clearButton.TabIndex = 7;
this.clearButton.Text = "Clear Counter";
this.clearButton.UseVisualStyleBackColor = true;
this.clearButton.Click += new System.EventHandler(this.clearButton_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(784, 412);
this.Controls.Add(this.clearButton);
this.Controls.Add(this.groupBox5);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.exitButton);
this.Controls.Add(this.newGameButton);
this.Controls.Add(this.statusLabel);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Name = "Form1";
this.Text = "Rock, Paper, Scissors - Caleb Fontenot";
this.Load += new System.EventHandler(this.Form1_Load);
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.rockPictureBox)).EndInit();
this.groupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.paperPictureBox)).EndInit();
this.groupBox3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.scissorPictureBox)).EndInit();
this.groupBox4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.cpuMove)).EndInit();
this.groupBox5.ResumeLayout(false);
this.groupBox6.ResumeLayout(false);
this.groupBox7.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private GroupBox groupBox1;
private PictureBox rockPictureBox;
private GroupBox groupBox2;
private PictureBox paperPictureBox;
private GroupBox groupBox3;
private PictureBox scissorPictureBox;
private Label statusLabel;
private Button newGameButton;
private Button exitButton;
private GroupBox groupBox4;
private PictureBox cpuMove;
private GroupBox groupBox5;
private GroupBox groupBox7;
private GroupBox groupBox6;
private Button clearButton;
private Label cpuRockCounter;
private Label cpuPaperCounter;
private Label cpuScissorsCounter;
private Label playerScissorsCounter;
private Label playerRockCounter;
private Label playerPaperCounter;
}
}

View File

@@ -0,0 +1,221 @@
namespace RCS_CalebFontenot
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private int cpuAction;
private long cpuRockCount = 0, playerRockCount = 0, cpuScissorsCount = 0, playerScissorsCount = 0, cpuPaperCount = 0, playerPaperCount = 0;
private void updateTextBoxes()
{
// Increment the textboxes!
cpuRockCounter.Text = "Rock: " + cpuRockCount.ToString();
playerRockCounter.Text = "Rock: " + playerRockCount.ToString();
cpuPaperCounter.Text = "Paper: " + cpuPaperCount.ToString();
playerPaperCounter.Text = "Paper: " + playerPaperCount.ToString();
cpuScissorsCounter.Text = "Scissors: " + cpuScissorsCount.ToString();
playerScissorsCounter.Text = "Scissors: " + playerScissorsCount.ToString();
}
private void winIncrement(string whatToIncrement)
{
// Increment the variables!
switch (whatToIncrement)
{
case "rockDraw":
cpuRockCount++;
playerRockCount++;
break;
case "paperDraw":
cpuPaperCount++;
playerPaperCount++;
break;
case "scissorsDraw":
cpuScissorsCount++;
playerScissorsCount++;
break;
case "cpuRock":
cpuRockCount++;
break;
case "playerRock":
playerRockCount++;
break;
case "cpuPaper":
cpuPaperCount++;
break;
case "playerPaper":
playerPaperCount++;
break;
case "cpuScissors":
cpuScissorsCount++;
break;
case "playerScissors":
playerScissorsCount++;
break;
}
updateTextBoxes();
}
private void endGame()
{
// Disable the interactivity of the images.
rockPictureBox.Enabled = false;
paperPictureBox.Enabled = false;
scissorPictureBox.Enabled = false;
// Re-enable the newGameButton.
newGameButton.Enabled = true;
}
private void playRound(int action)
{
// The action variable determines what we will do.
switch (action)
{
case -1: //The Player is starting the game.
Random rng = new Random();
cpuAction = rng.Next(0, 3);
statusLabel.Text = "The computer has chosen a move. Please make yours.";
// Clear the computer choice image.
cpuMove.Visible = false;
break;
case 0: // The player has chosen rock.
switch (cpuAction)
{
case 0:
statusLabel.Text = "The computer has chosen rock. You chose rock as well. It is a draw.";
winIncrement("rockDraw");
cpuMove.Visible = true;
cpuMove.Image = Properties.Resources.Rock;
break;
case 1:
statusLabel.Text = "The computer chose paper. You chose rock. The computer wins!";
winIncrement("cpuPaper");
cpuMove.Visible = true;
cpuMove.Image = Properties.Resources.Paper;
break;
case 2:
statusLabel.Text = "The computer chose scissors. You chose rock. You win!";
winIncrement("playerScissors");
cpuMove.Visible = true;
cpuMove.Image = Properties.Resources.Scissors;
break;
}
endGame();
break;
case 1:
switch (cpuAction)
{
case 0:
statusLabel.Text = "The computer has chosen rock. You chose paper. You win!";
winIncrement("cpuRock");
cpuMove.Visible = true;
cpuMove.Image = Properties.Resources.Rock;
break;
case 1:
statusLabel.Text = "The computer chose paper. You chose paper as well. It is a draw.";
winIncrement("paperDraw");
cpuMove.Visible = true;
cpuMove.Image = Properties.Resources.Paper;
break;
case 2:
statusLabel.Text = "The computer chose scissors. You chose paper. The computer wins!";
winIncrement("cpuScissors");
cpuMove.Image = Properties.Resources.Scissors;
cpuMove.Visible = true;
break;
}
endGame();
break;
case 2:
{
switch (cpuAction)
{
case 0:
statusLabel.Text = "The computer has chosen rock. You chose scissors. The computer wins!";
winIncrement("cpuRock");
cpuMove.Image = Properties.Resources.Rock;
cpuMove.Visible = true;
break;
case 1:
statusLabel.Text = "The computer chose paper. You chose scissors. You win!";
winIncrement("playerScissors");
cpuMove.Image = Properties.Resources.Paper;
cpuMove.Visible = true;
break;
case 2:
statusLabel.Text = "The computer chose scissors. You chose scissors as well. It is a draw.";
winIncrement("paperDraw");
cpuMove.Image = Properties.Resources.Scissors;
cpuMove.Visible = true;
break;
}
}
endGame();
break;
}
}
private void Form1_Load(object sender, EventArgs e)
{
// Do some stuff on start
statusLabel.Text = "Ready. Press 'New Game' to start a game.";
// Disable the interactivity of the images.
rockPictureBox.Enabled = false;
paperPictureBox.Enabled = false;
scissorPictureBox.Enabled = false;
}
private void clearButton_Click(object sender, EventArgs e)
{
cpuRockCount = 0;
playerRockCount = 0;
cpuScissorsCount = 0;
playerScissorsCount = 0;
cpuPaperCount = 0;
playerPaperCount = 0;
updateTextBoxes();
}
private void newGameButton_Click(object sender, EventArgs e)
{
// Enable the images' interactivity.
rockPictureBox.Enabled = true;
paperPictureBox.Enabled = true;
scissorPictureBox.Enabled = true;
// Disable this button.
newGameButton.Enabled = false;
playRound(-1);
}
private void rockPictureBox_Click(object sender, EventArgs e)
{
statusLabel.Text = "You clicked Rock!";
playRound(0);
}
private void exitButton_Click(object sender, EventArgs e)
{
this.Close();
}
private void paperPictureBox_Click(object sender, EventArgs e)
{
playRound(1);
}
private void scissorPictureBox_Click(object sender, EventArgs e)
{
playRound(2);
}
}
}

View File

@@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,17 @@
namespace RCS_CalebFontenot
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new Form1());
}
}
}

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net6.0-windows\publish\win-x64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net6.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<PublishSingleFile>false</PublishSingleFile>
<PublishReadyToRun>false</PublishReadyToRun>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<History>True|2022-11-17T01:06:41.3051445Z;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,93 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------
namespace RCS_CalebFontenot.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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", "17.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() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[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("RCS_CalebFontenot.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Paper {
get {
object obj = ResourceManager.GetObject("Paper", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Rock {
get {
object obj = ResourceManager.GetObject("Rock", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Scissors {
get {
object obj = ResourceManager.GetObject("Scissors", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,31 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\Resources\" />
<Folder Include="Resources\" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_LastSelectedProfileId>Z:\home\caleb\Documents\ASDV-C-Sharp\MP4\RPS_CalebFontenot\RCS_CalebFontenot\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
</PropertyGroup>
<ItemGroup>
<Compile Update="Form1.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"RCS_CalebFontenot/1.0.0": {
"runtime": {
"RCS_CalebFontenot.dll": {}
}
}
}
},
"libraries": {
"RCS_CalebFontenot/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@@ -0,0 +1,15 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
]
}
}

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"RCS_CalebFontenot/1.0.0": {
"runtime": {
"RCS_CalebFontenot.dll": {}
}
}
}
},
"libraries": {
"RCS_CalebFontenot/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@@ -0,0 +1,18 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
],
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
}

View File

@@ -0,0 +1,18 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"includedFrameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
],
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
}

Some files were not shown because too many files have changed in this diff Show More