Add project files.

This commit is contained in:
maxwes08
2026-01-27 11:02:21 +01:00
parent 266591bbea
commit b6e5c3dfbc
12 changed files with 436 additions and 0 deletions

24
Snake/Form1.cs Normal file
View File

@@ -0,0 +1,24 @@
namespace Snake
{
public partial class Form1 : Form
{
private Game _game;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
_game = new Game(this);
_game.Start();
}
private void timer_Tick(object sender, EventArgs e)
{
_game.Update();
Invalidate();
}
}
}