// 便乗した。タイピングゲー。箱はもってるが試してない。
using System;using Microsoft.Xna.Framework;using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;public class G : Game{static void Main()
{using (Game g = new G()) g.Run();}GraphicsDeviceManager M;VertexDeclaration D;
BasicEffect E;VertexPositionColor[] P;int t = 0;int s = 0 ;int c = 0;int i;
float W ;float w ;KeyboardState k, K;Keys[] Y = new Keys []{Keys.Up,Keys.Left,
Keys.Down,Keys.Right} ;Random r = new Random();private int[] m = new int[22];
public G(){M = new GraphicsDeviceManager(this);P = new VertexPositionColor[] {
new VertexPositionColor(new Vector3(0.0F, 0.05F, 0.0F), Color.Tan),new
VertexPositionColor(new Vector3(0.02F, -0.05F, 0.0F), Color.Tan),new
VertexPositionColor(new Vector3(-0.02F, -0.05F, 0.0F), Color.Tan),new
VertexPositionColor(new Vector3(0.0F, 0.05F, 0.0F), Color.Tan),new
VertexPositionColor(new Vector3(0.05F, -0.0F, 0.0F), Color.Tan),new
VertexPositionColor(new Vector3(-0.05F,-0.0F, 0.0F), Color.Tan),};}protected
override void LoadContent(){D = new VertexDeclaration(M.GraphicsDevice,
VertexPositionColor.VertexElements);E = new BasicEffect(M.GraphicsDevice, null)
;E.VertexColorEnabled = true;M.GraphicsDevice.VertexDeclaration = D;