C#仿Vista界面的俄罗斯方块

作者使用C#完成了毕业设计项目——俄罗斯方块游戏,并分享了游戏的Beta版本下载链接及界面截图。该项目帮助作者巩固了专业技能并提高了问题解决能力。

      俄罗斯方块是一款比较经典的游戏,也就是昨天是它诞生25岁的生日——2009年6月5号,由于我大学毕业时的毕业设计的题目也是俄罗斯方块,当时选择用C#开发这款游戏没有考虑更深的目标,只是觉得开发这么一款经典的游戏,可以使自己加强和巩固自己所学的专业课程,另一方面也是个熟悉软件开发流程以及提高自己分析问题和解决问题的能力的一个极好的途径。谁知,由于我做的论文比较规范,游戏做的比较完整,就被申请为优秀论文了,对于申优,我也没有太多高兴,只是觉得给自己努力的一点点安慰——呵呵。

      以下是我做的俄罗斯方块游戏的Beta版本,做的不好,但还算过的去。

     仿Vista界面的俄罗斯方块下载地址:

     1.绿色免安装版:俄罗斯方块

     2.安装版:俄罗斯方块

    如果有需要学习源码的朋友,可以通过电子邮件的形式或QQ的方式与我联系。

    我的电子邮箱:zwq194@qq.com

    以下是这款游戏界面截图:

%E7%99%BB%E5%BD%95%E7%95%8C%E9%9D%A2.png

%E6%B8%B8%E6%88%8F%E7%95%8C%E9%9D%A2%E9%99%84%E4%BB%B6.png

转载于:https://www.cnblogs.com/zwq194/archive/2009/06/07/1498009.html

C#做的俄罗斯方块游戏using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Xml; using System.IO; using System.Security.Cryptography; using System.Text; using System.Runtime.Serialization.Formatters.Binary; namespace RussiaBlock { public class MainForm : System.Windows.Forms.Form { #region 变量 private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button4; private System.Windows.Forms.Timer timer1; private Block block; private Block nextBlock; private int nextShapeNO; private bool paused; private DateTime atStart; private DateTime atPause; private TimeSpan pauseTime; private System.Windows.Forms.Panel panel3; private System.Windows.Forms.TextBox textBox1; private ControlForm sform; private Keys[] keys; private System.Windows.Forms.Label label4; private int level; private int startLevel; private bool trans; private int rowDelNum; private bool failed; private System.Windows.Forms.Label label5; private System.Windows.Forms.MainMenu mainMenu1; private System.Windows.Forms.MenuItem menuItem1; private System.Windows.Forms.MenuItem menuItem2; private System.Windows.Forms.MenuItem menuItem3; private System.Windows.Forms.MenuItem menuItem4; private System.Windows.Forms.MenuItem menuItem5; private System.Windows.Forms.MenuItem menuItem6; private AxWMPLib.AxWindowsMediaPlayer axMediaPlayer1; private System.Windows.Forms.MenuItem menuItem7; private System.ComponentModel.IContainer components; #endregion public MainForm() { InitializeComponent(); } protected override void Dispose( bool disposing ) { if( disposing ) { if(component
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值