Professional Documents
Culture Documents
FDSGDFSGSF
FDSGDFSGSF
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Space_invaders
{
public partial class Form2 : Form
{
bool goLeft, goRight;
int playerSpeed = 12;
int enemySpeed = 5;
int score = 0;
int enemyBulletTimer = 300;
PictureBox[] InvadersArray;
bool shooting;
bool isGameOver;
public Form2()
{
InitializeComponent();
}
}
private void makeBullet(string bulletTag)
{
PictureBox bullet=new PictureBox();
bullet
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Space_invaders
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}