打字游戏代码

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Sy

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace 3 打字游戏 { public partial class Form1 :Form { int typeRight =0;// 统计对了的字数 int typeWrong =0; // 统计错了的字数 float correctRate =0; // 统计正确率 float typeSpeed =0;// 统计速度 String[] mystr =new String[20]; int k= 0; Random myran =new Random(); Graphics mygra; // 创建画布对象 Pen mypen =new Pen(Color.Blue,2); // 创建画笔 对象 public Form1() { mystr[0] =""; 安 mystr[1] =""; 来 mystr[2] =""; 食 mystr[3] =""; 快 mystr[4] =""; 全 mystr[5] =""; 了 mystr[6] =""; 大 mystr[7] =""; 地 mystr[8] =""; 震 mystr[9] =""; 海 mystr[10] =""; 啸 mystr[11] =""; 核 mystr[12] =""; 幅 mystr[13] =""; 射 mystr[14] =""; 余 mystr[15] =""; 震 mystr[16] =""; 海 mystr[17] =""; 污

腾讯文库打字游戏代码