diff --git a/Frog/Frog.sln b/Frog/Frog.sln new file mode 100644 index 0000000..51f1719 --- /dev/null +++ b/Frog/Frog.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Frog", "Frog\Frog.csproj", "{FB5290C6-97C0-4075-A376-AC6BA4894C3F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FB5290C6-97C0-4075-A376-AC6BA4894C3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FB5290C6-97C0-4075-A376-AC6BA4894C3F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FB5290C6-97C0-4075-A376-AC6BA4894C3F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FB5290C6-97C0-4075-A376-AC6BA4894C3F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Frog/Frog.v12.suo b/Frog/Frog.v12.suo new file mode 100644 index 0000000..a28afa7 Binary files /dev/null and b/Frog/Frog.v12.suo differ diff --git a/Frog/Frog/AboutBox1.Designer.cs b/Frog/Frog/AboutBox1.Designer.cs new file mode 100644 index 0000000..1f23aa3 --- /dev/null +++ b/Frog/Frog/AboutBox1.Designer.cs @@ -0,0 +1,187 @@ +namespace Frog +{ + partial class AboutBox1 + { + /// + /// 設計工具所需的變數。 + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 清除任何使用中的資源。 + /// + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form 設計工具產生的程式碼 + + /// + /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器 + /// 修改這個方法的內容。 + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutBox1)); + this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel(); + this.logoPictureBox = new System.Windows.Forms.PictureBox(); + this.labelProductName = new System.Windows.Forms.Label(); + this.labelVersion = new System.Windows.Forms.Label(); + this.labelCopyright = new System.Windows.Forms.Label(); + this.labelCompanyName = new System.Windows.Forms.Label(); + this.textBoxDescription = new System.Windows.Forms.TextBox(); + this.okButton = new System.Windows.Forms.Button(); + this.tableLayoutPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit(); + this.SuspendLayout(); + // + // tableLayoutPanel + // + this.tableLayoutPanel.ColumnCount = 2; + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33F)); + this.tableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67F)); + this.tableLayoutPanel.Controls.Add(this.logoPictureBox, 0, 0); + this.tableLayoutPanel.Controls.Add(this.labelProductName, 1, 0); + this.tableLayoutPanel.Controls.Add(this.labelVersion, 1, 1); + this.tableLayoutPanel.Controls.Add(this.labelCopyright, 1, 2); + this.tableLayoutPanel.Controls.Add(this.labelCompanyName, 1, 3); + this.tableLayoutPanel.Controls.Add(this.textBoxDescription, 1, 4); + this.tableLayoutPanel.Controls.Add(this.okButton, 1, 5); + this.tableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel.Location = new System.Drawing.Point(9, 8); + this.tableLayoutPanel.Name = "tableLayoutPanel"; + this.tableLayoutPanel.RowCount = 6; + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); + this.tableLayoutPanel.Size = new System.Drawing.Size(417, 245); + this.tableLayoutPanel.TabIndex = 0; + // + // logoPictureBox + // + this.logoPictureBox.Dock = System.Windows.Forms.DockStyle.Fill; + this.logoPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("logoPictureBox.Image"))); + this.logoPictureBox.Location = new System.Drawing.Point(3, 3); + this.logoPictureBox.Name = "logoPictureBox"; + this.tableLayoutPanel.SetRowSpan(this.logoPictureBox, 6); + this.logoPictureBox.Size = new System.Drawing.Size(131, 239); + this.logoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.logoPictureBox.TabIndex = 12; + this.logoPictureBox.TabStop = false; + // + // labelProductName + // + this.labelProductName.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelProductName.Location = new System.Drawing.Point(143, 0); + this.labelProductName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelProductName.MaximumSize = new System.Drawing.Size(0, 16); + this.labelProductName.Name = "labelProductName"; + this.labelProductName.Size = new System.Drawing.Size(271, 16); + this.labelProductName.TabIndex = 19; + this.labelProductName.Text = "產品名稱"; + this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // labelVersion + // + this.labelVersion.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelVersion.Location = new System.Drawing.Point(143, 24); + this.labelVersion.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelVersion.MaximumSize = new System.Drawing.Size(0, 16); + this.labelVersion.Name = "labelVersion"; + this.labelVersion.Size = new System.Drawing.Size(271, 16); + this.labelVersion.TabIndex = 0; + this.labelVersion.Text = "版本"; + this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // labelCopyright + // + this.labelCopyright.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelCopyright.Location = new System.Drawing.Point(143, 48); + this.labelCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelCopyright.MaximumSize = new System.Drawing.Size(0, 16); + this.labelCopyright.Name = "labelCopyright"; + this.labelCopyright.Size = new System.Drawing.Size(271, 16); + this.labelCopyright.TabIndex = 21; + this.labelCopyright.Text = "著作權"; + this.labelCopyright.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // labelCompanyName + // + this.labelCompanyName.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelCompanyName.Location = new System.Drawing.Point(143, 72); + this.labelCompanyName.Margin = new System.Windows.Forms.Padding(6, 0, 3, 0); + this.labelCompanyName.MaximumSize = new System.Drawing.Size(0, 16); + this.labelCompanyName.Name = "labelCompanyName"; + this.labelCompanyName.Size = new System.Drawing.Size(271, 16); + this.labelCompanyName.TabIndex = 22; + this.labelCompanyName.Text = "公司名稱"; + this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // textBoxDescription + // + this.textBoxDescription.Dock = System.Windows.Forms.DockStyle.Fill; + this.textBoxDescription.Location = new System.Drawing.Point(143, 99); + this.textBoxDescription.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); + this.textBoxDescription.Multiline = true; + this.textBoxDescription.Name = "textBoxDescription"; + this.textBoxDescription.ReadOnly = true; + this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.textBoxDescription.Size = new System.Drawing.Size(271, 116); + this.textBoxDescription.TabIndex = 23; + this.textBoxDescription.TabStop = false; + this.textBoxDescription.Text = "描述"; + // + // okButton + // + this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.okButton.Location = new System.Drawing.Point(339, 221); + this.okButton.Name = "okButton"; + this.okButton.Size = new System.Drawing.Size(75, 21); + this.okButton.TabIndex = 24; + this.okButton.Text = "確定(&O)"; + this.okButton.Click += new System.EventHandler(this.okButton_Click); + // + // AboutBox1 + // + this.AcceptButton = this.okButton; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(435, 261); + this.Controls.Add(this.tableLayoutPanel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "AboutBox1"; + this.Padding = new System.Windows.Forms.Padding(9, 8, 9, 8); + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "AboutBox1"; + this.tableLayoutPanel.ResumeLayout(false); + this.tableLayoutPanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel; + private System.Windows.Forms.PictureBox logoPictureBox; + private System.Windows.Forms.Label labelProductName; + private System.Windows.Forms.Label labelVersion; + private System.Windows.Forms.Label labelCopyright; + private System.Windows.Forms.Label labelCompanyName; + private System.Windows.Forms.TextBox textBoxDescription; + private System.Windows.Forms.Button okButton; + } +} diff --git a/Frog/Frog/AboutBox1.cs b/Frog/Frog/AboutBox1.cs new file mode 100644 index 0000000..8feafc8 --- /dev/null +++ b/Frog/Frog/AboutBox1.cs @@ -0,0 +1,110 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Linq; +using System.Reflection; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Frog +{ + partial class AboutBox1 : Form + { + public AboutBox1() + { + InitializeComponent(); + this.Text = String.Format("關於 {0}", AssemblyTitle); + this.labelProductName.Text = AssemblyProduct; + this.labelVersion.Text = String.Format("版本 {0}", AssemblyVersion); + this.labelCopyright.Text = AssemblyCopyright; + this.labelCompanyName.Text = AssemblyCompany; + this.textBoxDescription.Text = AssemblyDescription; + } + + #region 組件屬性存取子 + + public string AssemblyTitle + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false); + if (attributes.Length > 0) + { + AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0]; + if (titleAttribute.Title != "") + { + return titleAttribute.Title; + } + } + return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase); + } + } + + public string AssemblyVersion + { + get + { + return Assembly.GetExecutingAssembly().GetName().Version.ToString(); + } + } + + public string AssemblyDescription + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false); + if (attributes.Length == 0) + { + return ""; + } + return ((AssemblyDescriptionAttribute)attributes[0]).Description; + } + } + + public string AssemblyProduct + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute), false); + if (attributes.Length == 0) + { + return ""; + } + return ((AssemblyProductAttribute)attributes[0]).Product; + } + } + + public string AssemblyCopyright + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false); + if (attributes.Length == 0) + { + return ""; + } + return ((AssemblyCopyrightAttribute)attributes[0]).Copyright; + } + } + + public string AssemblyCompany + { + get + { + object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false); + if (attributes.Length == 0) + { + return ""; + } + return ((AssemblyCompanyAttribute)attributes[0]).Company; + } + } + #endregion + + private void okButton_Click(object sender, EventArgs e) + { + this.Close(); + } + } +} diff --git a/Frog/Frog/AboutBox1.resx b/Frog/Frog/AboutBox1.resx new file mode 100644 index 0000000..6e0d242 --- /dev/null +++ b/Frog/Frog/AboutBox1.resx @@ -0,0 +1,381 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + + iVBORw0KGgoAAAANSUhEUgAAASoAAAGSCAYAAABUo4w3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAAFxIAABcSAWef0lIAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8 + AAA7aElEQVR4Xu2dX+htx3XfhZ9TME3q5C0yeQilAculFPJiXQjFAWPrVmBTQWpdS5YfRJqqdnBkGpSb + a4n2QaVXtKZOKc5NqNsmyCC7oNQS2NcKjYgp5BY79KXENw99iV9EiR6KH35d3333HM/Z5zt/9t4zs+fP + WvABae75nbP37JnvrFmzZvZDV1dXyk7ErgnXhZvCbeHuzH0BH3DxjmA+e0fA398QrrHfUcoj9l48D+E5 + Ac/nNcE8Mzy/5TO1uSeYz6Jd4O/xXY+w31Lc0ELFjdjDAsQEwoKGaDfM1EDo8DvoJNq4CyAGITGCFBpo + 9mIEDIPce9n1KA+ghco5c0OCYORuuCEwguM6IJTasBMghoEHAwGEaVnfpcHAB+HSQWkBLVTQZk7iFHLv + jwSd6wa7fsWNGKZzEPvcHvEe0O5UtGZo4aiIYXSF23+057QW06gfZvelPEAM0zoMPsv6qx20x6G9aFo4 + GmKPCC02YAbiHhqMtxCr3XuKZdgBiRaOghhGWHRsuzFs5peuPXr1zNNPX73yyitXv3v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uLp2V1vgFfSbCBWDM9reU9nYIvNkYMIfnuKccqAhoGNXeMKcIBgl4FzBi1UHiCGYC09UXIt + EArjdaGxlugw+I2InBvQxcgsFpy24zmUmgpigMJv4RlEeLOx4FlVm4ibC1qonCOG0dobB9kCGi8aMRpz + yuD89F0iiBFeFOhq+iAWFWM08UVWf1sx3hI8t8i6XwvurauM81hoocIRyyJYBjRu86betWkQ8J7Q8TwH + /DO6jHGIRS+IYIqO4PXa6TkGA9Q3/jaht+QC99N9wNwHLVT8oNHMjWdzDCsW43VBvNAxIGBg8gakbMe0 + AmfH95t3E5HEu8SenpvBwmDKMBBsCHpvAc8H9zCkB7WEFirxiJk3BePNwNmFKxG41u4DsWJ4Nq08EwgT + Vpvhtas4LaCFynbQyObGhkZH33hzIOi0zb+RZA1iyLOKngoWAs8BizQY4CCmw6zebYUWKulAI5wbIxol + GucRIzx+E78/bIcQwzNIsoK7AcQ1IZYYwIbIe0oNLVTygsY6N1o03mzBeWF4gVoiBsHC1HdZVykx3hIO + +NO6TwAtVMqCxjw3auN12Y1+LRAnCOBQU7y1iGGKjmD13uk5BhoIH75LvaVM0ELleNDo58aPWBfEiwmY + KcdntKNsRMweKCA6qNOlp4v/Rzn+3XhLGvQuwtVD/x/01gsY4rEJDAAAAABJRU5ErkJggg== + + + \ No newline at end of file diff --git a/Frog/Frog/App.config b/Frog/Frog/App.config new file mode 100644 index 0000000..fad249e --- /dev/null +++ b/Frog/Frog/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Frog/Frog/App.xaml b/Frog/Frog/App.xaml new file mode 100644 index 0000000..beb0c53 --- /dev/null +++ b/Frog/Frog/App.xaml @@ -0,0 +1,8 @@ + + + + + diff --git a/Frog/Frog/App.xaml.cs b/Frog/Frog/App.xaml.cs new file mode 100644 index 0000000..bde7546 --- /dev/null +++ b/Frog/Frog/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace Frog +{ + /// + /// App.xaml 的互動邏輯 + /// + public partial class App : Application + { + } +} diff --git a/Frog/Frog/Frog.csproj b/Frog/Frog/Frog.csproj new file mode 100644 index 0000000..87b77eb --- /dev/null +++ b/Frog/Frog/Frog.csproj @@ -0,0 +1,131 @@ + + + + + Debug + AnyCPU + {FB5290C6-97C0-4075-A376-AC6BA4894C3F} + WinExe + Properties + Frog + Frog + v4.5 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + Form + + + AboutBox1.cs + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + AboutBox1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Frog/Frog/MainWindow.xaml b/Frog/Frog/MainWindow.xaml new file mode 100644 index 0000000..31236de --- /dev/null +++ b/Frog/Frog/MainWindow.xaml @@ -0,0 +1,39 @@ + + + + + + + + + + + + diff --git a/Frog/Frog/MainWindow.xaml.cs b/Frog/Frog/MainWindow.xaml.cs new file mode 100644 index 0000000..418e16c --- /dev/null +++ b/Frog/Frog/MainWindow.xaml.cs @@ -0,0 +1,414 @@ +using Frog; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Media; + + +namespace WpfApplication3 +{ + /// + /// MainWindow.xaml 的互動邏輯 + /// + public partial class MainWindow : Window + { + Image frog_image, car1_image, car2_image, car3_image; + Thickness frog_m, car1_m, car2_m, car3_m; + Thickness frog_start_m, car1_start_m, car2_start_m, car3_start_m; + System.Timers.Timer t, t2, timer; + bool flag = true; + bool start = false; + Label label_score, label_time; + int now_score = 0, now_time = 30; + int setting_time = 30; + int speed = 10; + int max_score = 10; + Image horsee; + + public MainWindow() + { + + InitializeComponent(); + init_score(); + init_frog_location(); + init_car(); + init_check(); + horsee = this.horse; + horse.Visibility = Visibility.Hidden; + } + + private void init_score() + { + label_score = this.score; + now_score = 0; + label_score.Content = now_score; + } + + private void init_frog_location() + { + frog_image = this.frog; + frog_m = frog_image.Margin; + frog_start_m = frog_m; + } + + private void reset_frog_location() + { + frog_image.Margin = frog_start_m; + frog_m = frog_image.Margin; + } + + + + private void init_car() + { + car1_image = this.car1; + car2_image = this.car2; + car3_image = this.car3; + + car1_m = car1_image.Margin; + car2_m = car2_image.Margin; + car3_m = car3_image.Margin; + + car1_start_m = car1_m; + car2_start_m = car2_m; + car3_start_m = car3_m; + + t = new System.Timers.Timer(10); + t.Elapsed += new System.Timers.ElapsedEventHandler(car_run); + t.AutoReset = true; + t.Enabled = true; + } + + private void init_check() + { + t2 = new System.Timers.Timer(10); + t2.Elapsed += new System.Timers.ElapsedEventHandler(check_collision); + t2.AutoReset = true; + t2.Enabled = true; + } + + delegate void ChgLabelHandler2(); + private void chgLabel2() + { + if (frog_m.Top > 100 && frog_m.Top < 200) + { + if (frog_m.Left == car1_m.Left) + { + die(); + } + } + else if (frog_m.Top > 200 && frog_m.Top < 300) + { + if (frog_m.Left == car2_m.Left) + { + die(); + } + } + else if (frog_m.Top > 300) + { + if (frog_m.Left == car3_m.Left) + { + die(); + } + } + } + + private void die() + { + timer.Stop(); + t2.Stop(); + t.Stop(); + + BitmapImage bi3 = new BitmapImage(); + bi3.BeginInit(); + bi3.UriSource = new Uri("frog-2.png", UriKind.Relative); + bi3.EndInit(); + frog_image.Source = bi3; + + MessageBox.Show("被撞死了!總得分:" + now_score); + max(); + + BitmapImage bi2 = new BitmapImage(); + bi2.BeginInit(); + bi2.UriSource = new Uri("frog-1.png", UriKind.Relative); + bi2.EndInit(); + frog_image.Source = bi2; + + reset_frog_location(); + init_score(); + start = false; + time.Content = setting_time; + t.Start(); + t2.Start(); + } + + private void init_timer() + { + label_time = this.time; + now_time = setting_time; + label_time.Content = now_time; + timer = new System.Timers.Timer(1000); + timer.Elapsed += new System.Timers.ElapsedEventHandler(set_timer); + timer.AutoReset = true; + timer.Enabled = true; + } + + delegate void ChgLabelHandler3(); + private void chgLabel3() + { + now_time--; + label_time.Content = now_time; + if (now_time == 0) + { + timer.Stop(); + t2.Stop(); + t.Stop(); + MessageBox.Show("遊戲結束!總得分:" + now_score); + max(); + horse.Visibility = Visibility.Hidden; + + BitmapImage bi2 = new BitmapImage(); + bi2.BeginInit(); + bi2.UriSource = new Uri("frog-1.png", UriKind.Relative); + bi2.EndInit(); + frog_image.Source = bi2; + reset_frog_location(); + init_score(); + this.time.Content = setting_time; + start = false; + t.Start(); + t2.Start(); + } + } + + private void sound() + { + SoundPlayer _sp = new SoundPlayer(); + _sp.SoundLocation = "sound.wav"; + _sp.Play(); + } + + private void max() + { + if (now_score > max_score) + { + Label lb_max = this.tv_max_score; + + lb_max.Content = now_score; + max_score = now_score; + } + } + + public void set_timer(object source, System.Timers.ElapsedEventArgs e) + { + this.Dispatcher.Invoke(new ChgLabelHandler3(chgLabel3)); + } + + public void check_collision(object source, System.Timers.ElapsedEventArgs e) + { + this.Dispatcher.Invoke(new ChgLabelHandler2(chgLabel2)); + } + + public void car_run(object source, System.Timers.ElapsedEventArgs e) + { + this.Dispatcher.Invoke(new ChgLabelHandler(chgLabel)); + } + + delegate void ChgLabelHandler(); + private void chgLabel() + { + fun_car1(); + fun_car2(); + fun_car3(); + } + + private void fun_car1() + { + if (flag) + { + car1_m.Right = car1_m.Right + speed; + car1_m.Left = car1_m.Left - speed; + car1_image.Margin = car1_m; + if (car1_m.Left < 0) + { + flag = false; + } + } + else + { + car1_m.Right = car1_m.Right - 10; + car1_m.Left = car1_m.Left + 10; + car1_image.Margin = car1_m; + if (car1_m.Right < 0) + { + flag = true; + } + } + } + + private void fun_car2() + { + car2_m.Right = car2_m.Right + speed; + car2_m.Left = car2_m.Left - speed; + car2_image.Margin = car2_m; + if (car2_m.Left < -139) + { + car2_image.Margin = car2_start_m; + car2_m = car2_start_m; + } + } + + private void fun_car3() + { + car3_m.Right = car3_m.Right - speed; + car3_m.Left = car3_m.Left + speed; + car3_image.Margin = car3_m; + if (car3_m.Right < -139) + { + car3_image.Margin = car3_start_m; + car3_m = car3_start_m; + } + } + + + private void Window_PreviewKeyDown(object sender, KeyEventArgs e) + { + if (!start) + { + start = true; + init_timer(); + } + + Key kPressed; + if (e.Key == Key.ImeProcessed) + kPressed = e.ImeProcessedKey; + else + kPressed = e.Key; + switch (kPressed) + { + case Key.Down: + frog_m.Top = frog_m.Top + 90; + frog_m.Bottom = frog_m.Bottom - 90; + frog_image.Margin = frog_m; + e.Handled = true; + break; + case Key.Up: + frog_m.Top = frog_m.Top - 90; + frog_m.Bottom = frog_m.Bottom + 90; + frog_image.Margin = frog_m; + e.Handled = true; + break; + case Key.Left: + frog_m.Left = frog_m.Left - 90; + frog_m.Right = frog_m.Right + 90; + frog_image.Margin = frog_m; + e.Handled = true; + break; + case Key.Right: + frog_m.Left = frog_m.Left + 90; + frog_m.Right = frog_m.Right - 90; + frog_image.Margin = frog_m; + e.Handled = true; + if (frog_m.Right < 0) + { + t2.Stop(); + + BitmapImage bi3 = new BitmapImage(); + bi3.BeginInit(); + bi3.UriSource = new Uri("strong.png", UriKind.Relative); + bi3.EndInit(); + frog_image.Source = bi3; + reset_frog_location(); + sound(); + horse.Visibility = Visibility.Visible; + + } + break; + case Key.Space: + frog_m.Top = frog_m.Top + 310; + frog_m.Bottom = frog_m.Bottom - 311; + frog_image.Margin = frog_m; + e.Handled = true; + break; + } + if (frog_m.Bottom < 0) + { + reset_frog_location(); + now_score++; + label_score.Content = now_score; + } + + } + private void MenuItem_Click(object sender, RoutedEventArgs e) + { + if (start) + { + timer.Stop(); + } + + MessageBox.Show("按上下左右鍵操作青蛙,必須躲避汽車,讓青蛙順利過街。", "遊戲說明", MessageBoxButton.OK, MessageBoxImage.Information); + + reset_frog_location(); + init_score(); + start = false; + + + time.Content = setting_time; + t.Start(); + t2.Start(); + } + + private void MenuItem_Click_1(object sender, RoutedEventArgs e) + { + AboutBox1 about = new AboutBox1(); + about.Show(); + } + + private void MenuItem_Click_2(object sender, RoutedEventArgs e) + { + this.Close(); + } + + private void MenuItem_Click_3(object sender, RoutedEventArgs e) + { + setting_time = 10; + this.time.Content = setting_time; + } + private void MenuItem_Click_4(object sender, RoutedEventArgs e) + { + setting_time = 20; + this.time.Content = setting_time; + } + private void MenuItem_Click_5(object sender, RoutedEventArgs e) + { + setting_time = 30; + this.time.Content = setting_time; + } + + private void MenuItem_Click_6(object sender, RoutedEventArgs e) + { + speed = 10; + } + private void MenuItem_Click_7(object sender, RoutedEventArgs e) + { + speed = 20; + } + private void MenuItem_Click_8(object sender, RoutedEventArgs e) + { + speed = 30; + } + } + + +} diff --git a/Frog/Frog/Properties/AssemblyInfo.cs b/Frog/Frog/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..daaa438 --- /dev/null +++ b/Frog/Frog/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// 組件的一般資訊是由下列的屬性集控制。 +// 變更這些屬性的值即可修改組件的相關 +// 資訊。 +[assembly: AssemblyTitle("期末專案")] +[assembly: AssemblyDescription("102306055 莊育新 102306081 賈晉平 102306082 邱擎昀 101306091張元真 101306092 余威毅")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("青蛙過街")] +[assembly: AssemblyProduct("視窗程式設計")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 將 ComVisible 設定為 false 會使得這個組件中的類型 +// 對 COM 元件而言為不可見。如果您需要從 COM 存取這個組件中 +// 的類型,請在該類型上將 ComVisible 屬性設定為 true。 +[assembly: ComVisible(false)] + +//為了建置可當地語系化的應用程式,請設定 +//.csproj 檔案中的 CultureYouAreCodingWith 內部。舉例來說,如果您使用的是 US English +//將原始程式檔中的 設定成 en-US。然後取消註解 +//底下的 NeutralResourceLanguage 屬性。更新 "en-US" +//下面一行符合專案檔中的 UICulture 設定。 + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //主題特定資源字典的位置 + //(用於當資源不在頁面、 + // 或應用程式資源字典) + ResourceDictionaryLocation.SourceAssembly //泛用資源字典的位置 + //(用於當資源不在頁面、 + // 應用程式,或任何特定主題的資源字典) +)] + + +// 組件的版本資訊是由下列四項值構成: +// +// 主要版本 +// 次要版本 +// 組建編號 +// 修訂編號 +// +// 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號 +// 指定為預設值: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Frog/Frog/Properties/Resources.Designer.cs b/Frog/Frog/Properties/Resources.Designer.cs new file mode 100644 index 0000000..49f8a9a --- /dev/null +++ b/Frog/Frog/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 這段程式碼是由工具產生的。 +// 執行階段版本:4.0.30319.34014 +// +// 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 +// 程式碼,這個檔案將會遺失。 +// +//------------------------------------------------------------------------------ + +namespace Frog.Properties +{ + + + /// + /// 用於查詢當地語系化字串等的強類型資源類別 + /// + // 這個類別是自動產生的,是利用 StronglyTypedResourceBuilder + // 類別透過 ResGen 或 Visual Studio 這類工具。 + // 若要加入或移除成員,請編輯您的 .ResX 檔,然後重新執行 ResGen + // (利用 /str 選項),或重建您的 VS 專案。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.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() + { + } + + /// + /// 傳回這個類別使用的快取的 ResourceManager 執行個體。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Frog.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 覆寫目前執行緒的 CurrentUICulture 屬性,對象是所有 + /// 使用這個強類型資源類別的資源查閱。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Frog/Frog/Properties/Resources.resx b/Frog/Frog/Properties/Resources.resx new file mode 100644 index 0000000..ffecec8 --- /dev/null +++ b/Frog/Frog/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Frog/Frog/Properties/Settings.Designer.cs b/Frog/Frog/Properties/Settings.Designer.cs new file mode 100644 index 0000000..a2c394c --- /dev/null +++ b/Frog/Frog/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Frog.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/Frog/Frog/Properties/Settings.settings b/Frog/Frog/Properties/Settings.settings new file mode 100644 index 0000000..8f2fd95 --- /dev/null +++ b/Frog/Frog/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Frog/Frog/bin/Debug/Frog.exe b/Frog/Frog/bin/Debug/Frog.exe new file mode 100644 index 0000000..950b88e Binary files /dev/null and b/Frog/Frog/bin/Debug/Frog.exe differ diff --git a/Frog/Frog/bin/Debug/Frog.exe.config b/Frog/Frog/bin/Debug/Frog.exe.config new file mode 100644 index 0000000..fad249e --- /dev/null +++ b/Frog/Frog/bin/Debug/Frog.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Frog/Frog/bin/Debug/Frog.pdb b/Frog/Frog/bin/Debug/Frog.pdb new file mode 100644 index 0000000..190ce7e Binary files /dev/null and b/Frog/Frog/bin/Debug/Frog.pdb differ diff --git a/Frog/Frog/bin/Debug/Frog.vshost.exe b/Frog/Frog/bin/Debug/Frog.vshost.exe new file mode 100644 index 0000000..666c0af Binary files /dev/null and b/Frog/Frog/bin/Debug/Frog.vshost.exe differ diff --git a/Frog/Frog/bin/Debug/Frog.vshost.exe.config b/Frog/Frog/bin/Debug/Frog.vshost.exe.config new file mode 100644 index 0000000..fad249e --- /dev/null +++ b/Frog/Frog/bin/Debug/Frog.vshost.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Frog/Frog/bin/Debug/Frog.vshost.exe.manifest b/Frog/Frog/bin/Debug/Frog.vshost.exe.manifest new file mode 100644 index 0000000..f96b1d6 --- /dev/null +++ b/Frog/Frog/bin/Debug/Frog.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Frog/Frog/bin/Debug/sound.wav b/Frog/Frog/bin/Debug/sound.wav new file mode 100644 index 0000000..161b40e Binary files /dev/null and b/Frog/Frog/bin/Debug/sound.wav differ diff --git a/Frog/Frog/car-3.png b/Frog/Frog/car-3.png new file mode 100644 index 0000000..1c71ab5 Binary files /dev/null and b/Frog/Frog/car-3.png differ diff --git a/Frog/Frog/car-4.png b/Frog/Frog/car-4.png new file mode 100644 index 0000000..24282c0 Binary files /dev/null and b/Frog/Frog/car-4.png differ diff --git a/Frog/Frog/car-5.png b/Frog/Frog/car-5.png new file mode 100644 index 0000000..5961901 Binary files /dev/null and b/Frog/Frog/car-5.png differ diff --git a/Frog/Frog/cross.jpg b/Frog/Frog/cross.jpg new file mode 100644 index 0000000..24ea830 Binary files /dev/null and b/Frog/Frog/cross.jpg differ diff --git a/Frog/Frog/frog-1.png b/Frog/Frog/frog-1.png new file mode 100644 index 0000000..0e30431 Binary files /dev/null and b/Frog/Frog/frog-1.png differ diff --git a/Frog/Frog/frog-2.png b/Frog/Frog/frog-2.png new file mode 100644 index 0000000..d10e98b Binary files /dev/null and b/Frog/Frog/frog-2.png differ diff --git a/Frog/Frog/icon.ico b/Frog/Frog/icon.ico new file mode 100644 index 0000000..52cbd7b Binary files /dev/null and b/Frog/Frog/icon.ico differ diff --git a/Frog/Frog/obj/Debug/App.g.cs b/Frog/Frog/obj/Debug/App.g.cs new file mode 100644 index 0000000..0867135 --- /dev/null +++ b/Frog/Frog/obj/Debug/App.g.cs @@ -0,0 +1,69 @@ +#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6645485444896B8C161CED69B201BF0C" +//------------------------------------------------------------------------------ +// +// 這段程式碼是由工具產生的。 +// 執行階段版本:4.0.30319.34014 +// +// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, +// 變更將會遺失。 +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace Frog { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + + #line 4 "..\..\App.xaml" + this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + Frog.App app = new Frog.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/Frog/Frog/obj/Debug/App.g.i.cs b/Frog/Frog/obj/Debug/App.g.i.cs new file mode 100644 index 0000000..d39487d --- /dev/null +++ b/Frog/Frog/obj/Debug/App.g.i.cs @@ -0,0 +1,69 @@ +#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6645485444896B8C161CED69B201BF0C" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34209 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace Frog { + + + /// + /// App + /// + public partial class App : System.Windows.Application { + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + + #line 4 "..\..\App.xaml" + this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative); + + #line default + #line hidden + } + + /// + /// Application Entry Point. + /// + [System.STAThreadAttribute()] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public static void Main() { + Frog.App app = new Frog.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/Frog/Frog/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/Frog/Frog/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..ed6d58a Binary files /dev/null and b/Frog/Frog/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/Frog/Frog/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Frog/Frog/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..aa6fb5c Binary files /dev/null and b/Frog/Frog/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Frog/Frog/obj/Debug/Frog.AboutBox1.resources b/Frog/Frog/obj/Debug/Frog.AboutBox1.resources new file mode 100644 index 0000000..f1c4191 Binary files /dev/null and b/Frog/Frog/obj/Debug/Frog.AboutBox1.resources differ diff --git a/Frog/Frog/obj/Debug/Frog.Properties.Resources.resources b/Frog/Frog/obj/Debug/Frog.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/Frog/Frog/obj/Debug/Frog.Properties.Resources.resources differ diff --git a/Frog/Frog/obj/Debug/Frog.csproj.FileListAbsolute.txt b/Frog/Frog/obj/Debug/Frog.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..d839af2 --- /dev/null +++ b/Frog/Frog/obj/Debug/Frog.csproj.FileListAbsolute.txt @@ -0,0 +1,21 @@ +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\bin\Debug\Frog.exe.config +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\Frog.csprojResolveAssemblyReference.cache +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\MainWindow.baml +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\MainWindow.g.cs +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\App.g.cs +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\Frog_MarkupCompile.cache +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\Frog.g.resources +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\Frog.Properties.Resources.resources +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\Frog.csproj.GenerateResource.Cache +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\Frog.AboutBox1.resources +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\bin\Debug\Frog.exe +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\bin\Debug\Frog.pdb +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\Frog.exe +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\Frog.pdb +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\Frog_Content.g.cs +C:\Users\user\Desktop\1032_Project-8\Frog\Frog\bin\Debug\Frog.exe.config +C:\Users\user\Desktop\1032_Project-8\Frog\Frog\obj\Debug\Frog.exe +C:\Users\user\Desktop\1032_Project-8\Frog\Frog\obj\Debug\Frog.pdb +D:\103(下) 視窗程式設計\1032_Project-8\Frog\Frog\bin\Debug\Frog.exe.config +D:\103(下) 視窗程式設計\1032_Project-8\Frog\Frog\obj\Debug\Frog.exe +D:\103(下) 視窗程式設計\1032_Project-8\Frog\Frog\obj\Debug\Frog.pdb diff --git a/Frog/Frog/obj/Debug/Frog.csproj.GenerateResource.Cache b/Frog/Frog/obj/Debug/Frog.csproj.GenerateResource.Cache new file mode 100644 index 0000000..7cff81a Binary files /dev/null and b/Frog/Frog/obj/Debug/Frog.csproj.GenerateResource.Cache differ diff --git a/Frog/Frog/obj/Debug/Frog.csprojResolveAssemblyReference.cache b/Frog/Frog/obj/Debug/Frog.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..ce68576 Binary files /dev/null and b/Frog/Frog/obj/Debug/Frog.csprojResolveAssemblyReference.cache differ diff --git a/Frog/Frog/obj/Debug/Frog.exe b/Frog/Frog/obj/Debug/Frog.exe new file mode 100644 index 0000000..950b88e Binary files /dev/null and b/Frog/Frog/obj/Debug/Frog.exe differ diff --git a/Frog/Frog/obj/Debug/Frog.g.resources b/Frog/Frog/obj/Debug/Frog.g.resources new file mode 100644 index 0000000..f8f0654 Binary files /dev/null and b/Frog/Frog/obj/Debug/Frog.g.resources differ diff --git a/Frog/Frog/obj/Debug/Frog.pdb b/Frog/Frog/obj/Debug/Frog.pdb new file mode 100644 index 0000000..190ce7e Binary files /dev/null and b/Frog/Frog/obj/Debug/Frog.pdb differ diff --git a/Frog/Frog/obj/Debug/Frog_Content.g.cs b/Frog/Frog/obj/Debug/Frog_Content.g.cs new file mode 100644 index 0000000..df2a444 --- /dev/null +++ b/Frog/Frog/obj/Debug/Frog_Content.g.cs @@ -0,0 +1,13 @@ +//------------------------------------------------------------------------------ +// +// 這段程式碼是由工具產生的。 +// 執行階段版本:4.0.30319.34014 +// +// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, +// 變更將會遺失。 +// +//------------------------------------------------------------------------------ + +[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("sound.wav")] + + diff --git a/Frog/Frog/obj/Debug/Frog_Content.g.i.cs b/Frog/Frog/obj/Debug/Frog_Content.g.i.cs new file mode 100644 index 0000000..1e61eb0 --- /dev/null +++ b/Frog/Frog/obj/Debug/Frog_Content.g.i.cs @@ -0,0 +1,13 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34209 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("sound.wav")] + + diff --git a/Frog/Frog/obj/Debug/Frog_MarkupCompile.cache b/Frog/Frog/obj/Debug/Frog_MarkupCompile.cache new file mode 100644 index 0000000..b1fdf1f --- /dev/null +++ b/Frog/Frog/obj/Debug/Frog_MarkupCompile.cache @@ -0,0 +1,20 @@ +Frog + + +winexe +C# +.cs +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\obj\Debug\ +Frog +none +false +DEBUG;TRACE +C:\Users\JANE\Source\Repos\1032_Project-8\Frog\Frog\App.xaml +11151548125 +1-179450712 +7-920196013 +141012385901 +MainWindow.xaml; + +False + diff --git a/Frog/Frog/obj/Debug/Frog_MarkupCompile.i.cache b/Frog/Frog/obj/Debug/Frog_MarkupCompile.i.cache new file mode 100644 index 0000000..299b415 --- /dev/null +++ b/Frog/Frog/obj/Debug/Frog_MarkupCompile.i.cache @@ -0,0 +1,20 @@ +Frog + + +winexe +C# +.cs +D:\103(下) 視窗程式設計\1032_Project-8\Frog\Frog\obj\Debug\ +Frog +none +false +DEBUG;TRACE +D:\103(下) 視窗程式設計\1032_Project-8\Frog\Frog\App.xaml +11151548125 +1-179450712 +11-1789760836 +141012385901 +MainWindow.xaml; + +False + diff --git a/Frog/Frog/obj/Debug/MainWindow.baml b/Frog/Frog/obj/Debug/MainWindow.baml new file mode 100644 index 0000000..3be0e93 Binary files /dev/null and b/Frog/Frog/obj/Debug/MainWindow.baml differ diff --git a/Frog/Frog/obj/Debug/MainWindow.g.cs b/Frog/Frog/obj/Debug/MainWindow.g.cs new file mode 100644 index 0000000..54916e9 --- /dev/null +++ b/Frog/Frog/obj/Debug/MainWindow.g.cs @@ -0,0 +1,256 @@ +#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "EB01134AC5E120D974FF4D9EA180AA94" +//------------------------------------------------------------------------------ +// +// 這段程式碼是由工具產生的。 +// 執行階段版本:4.0.30319.34014 +// +// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, +// 變更將會遺失。 +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace WpfApplication3 { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 10 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image horse; + + #line default + #line hidden + + + #line 11 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image car1; + + #line default + #line hidden + + + #line 12 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image car2; + + #line default + #line hidden + + + #line 13 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image car3; + + #line default + #line hidden + + + #line 14 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label score; + + #line default + #line hidden + + + #line 15 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label time; + + #line default + #line hidden + + + #line 16 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label lab; + + #line default + #line hidden + + + #line 35 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label tv_max_score; + + #line default + #line hidden + + + #line 36 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image frog; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/Frog;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 4 "..\..\MainWindow.xaml" + ((WpfApplication3.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown); + + #line default + #line hidden + return; + case 2: + this.horse = ((System.Windows.Controls.Image)(target)); + return; + case 3: + this.car1 = ((System.Windows.Controls.Image)(target)); + return; + case 4: + this.car2 = ((System.Windows.Controls.Image)(target)); + return; + case 5: + this.car3 = ((System.Windows.Controls.Image)(target)); + return; + case 6: + this.score = ((System.Windows.Controls.Label)(target)); + return; + case 7: + this.time = ((System.Windows.Controls.Label)(target)); + return; + case 8: + this.lab = ((System.Windows.Controls.Label)(target)); + return; + case 9: + + #line 19 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3); + + #line default + #line hidden + return; + case 10: + + #line 20 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_4); + + #line default + #line hidden + return; + case 11: + + #line 21 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_5); + + #line default + #line hidden + return; + case 12: + + #line 24 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_6); + + #line default + #line hidden + return; + case 13: + + #line 25 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_7); + + #line default + #line hidden + return; + case 14: + + #line 26 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_8); + + #line default + #line hidden + return; + case 15: + + #line 29 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); + + #line default + #line hidden + return; + case 16: + + #line 30 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1); + + #line default + #line hidden + return; + case 17: + + #line 31 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2); + + #line default + #line hidden + return; + case 18: + this.tv_max_score = ((System.Windows.Controls.Label)(target)); + return; + case 19: + this.frog = ((System.Windows.Controls.Image)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/Frog/Frog/obj/Debug/MainWindow.g.i.cs b/Frog/Frog/obj/Debug/MainWindow.g.i.cs new file mode 100644 index 0000000..d1dcced --- /dev/null +++ b/Frog/Frog/obj/Debug/MainWindow.g.i.cs @@ -0,0 +1,256 @@ +#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "EB01134AC5E120D974FF4D9EA180AA94" +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34209 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Diagnostics; +using System.Windows; +using System.Windows.Automation; +using System.Windows.Controls; +using System.Windows.Controls.Primitives; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Ink; +using System.Windows.Input; +using System.Windows.Markup; +using System.Windows.Media; +using System.Windows.Media.Animation; +using System.Windows.Media.Effects; +using System.Windows.Media.Imaging; +using System.Windows.Media.Media3D; +using System.Windows.Media.TextFormatting; +using System.Windows.Navigation; +using System.Windows.Shapes; +using System.Windows.Shell; + + +namespace WpfApplication3 { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 10 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image horse; + + #line default + #line hidden + + + #line 11 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image car1; + + #line default + #line hidden + + + #line 12 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image car2; + + #line default + #line hidden + + + #line 13 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image car3; + + #line default + #line hidden + + + #line 14 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label score; + + #line default + #line hidden + + + #line 15 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label time; + + #line default + #line hidden + + + #line 16 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label lab; + + #line default + #line hidden + + + #line 35 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Label tv_max_score; + + #line default + #line hidden + + + #line 36 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image frog; + + #line default + #line hidden + + private bool _contentLoaded; + + /// + /// InitializeComponent + /// + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + public void InitializeComponent() { + if (_contentLoaded) { + return; + } + _contentLoaded = true; + System.Uri resourceLocater = new System.Uri("/Frog;component/mainwindow.xaml", System.UriKind.Relative); + + #line 1 "..\..\MainWindow.xaml" + System.Windows.Application.LoadComponent(this, resourceLocater); + + #line default + #line hidden + } + + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] + void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { + switch (connectionId) + { + case 1: + + #line 4 "..\..\MainWindow.xaml" + ((WpfApplication3.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown); + + #line default + #line hidden + return; + case 2: + this.horse = ((System.Windows.Controls.Image)(target)); + return; + case 3: + this.car1 = ((System.Windows.Controls.Image)(target)); + return; + case 4: + this.car2 = ((System.Windows.Controls.Image)(target)); + return; + case 5: + this.car3 = ((System.Windows.Controls.Image)(target)); + return; + case 6: + this.score = ((System.Windows.Controls.Label)(target)); + return; + case 7: + this.time = ((System.Windows.Controls.Label)(target)); + return; + case 8: + this.lab = ((System.Windows.Controls.Label)(target)); + return; + case 9: + + #line 19 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3); + + #line default + #line hidden + return; + case 10: + + #line 20 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_4); + + #line default + #line hidden + return; + case 11: + + #line 21 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_5); + + #line default + #line hidden + return; + case 12: + + #line 24 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_6); + + #line default + #line hidden + return; + case 13: + + #line 25 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_7); + + #line default + #line hidden + return; + case 14: + + #line 26 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_8); + + #line default + #line hidden + return; + case 15: + + #line 29 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click); + + #line default + #line hidden + return; + case 16: + + #line 30 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1); + + #line default + #line hidden + return; + case 17: + + #line 31 "..\..\MainWindow.xaml" + ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2); + + #line default + #line hidden + return; + case 18: + this.tv_max_score = ((System.Windows.Controls.Label)(target)); + return; + case 19: + this.frog = ((System.Windows.Controls.Image)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/Frog/Frog/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/Frog/Frog/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..d4f2ed4 Binary files /dev/null and b/Frog/Frog/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/Frog/Frog/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/Frog/Frog/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/Frog/Frog/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/Frog/Frog/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/Frog/Frog/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/Frog/Frog/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29 diff --git a/Frog/Frog/road.png b/Frog/Frog/road.png new file mode 100644 index 0000000..773a9c1 Binary files /dev/null and b/Frog/Frog/road.png differ diff --git a/Frog/Frog/sound.wav b/Frog/Frog/sound.wav new file mode 100644 index 0000000..161b40e Binary files /dev/null and b/Frog/Frog/sound.wav differ diff --git a/Frog/Frog/strong.png b/Frog/Frog/strong.png new file mode 100644 index 0000000..2565a85 Binary files /dev/null and b/Frog/Frog/strong.png differ diff --git a/README.md b/README.md index 08feced..149714c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# 1032_Project-8 -Write your project name as description, e.g. "HitRat". +# 1032_Project-8 +Write your project name as description, e.g. "HitRat". diff --git "a/\350\246\226\347\252\227\347\250\213\345\274\217\346\234\237\346\234\253.pptx" "b/\350\246\226\347\252\227\347\250\213\345\274\217\346\234\237\346\234\253.pptx" new file mode 100644 index 0000000..629ba72 Binary files /dev/null and "b/\350\246\226\347\252\227\347\250\213\345\274\217\346\234\237\346\234\253.pptx" differ diff --git "a/\351\235\222\350\233\231\351\201\216\350\241\227\350\252\252\346\230\216\346\226\207\344\273\266.pdf" "b/\351\235\222\350\233\231\351\201\216\350\241\227\350\252\252\346\230\216\346\226\207\344\273\266.pdf" new file mode 100644 index 0000000..d9e46b0 Binary files /dev/null and "b/\351\235\222\350\233\231\351\201\216\350\241\227\350\252\252\346\230\216\346\226\207\344\273\266.pdf" differ