Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Commit a231819

Browse files
committed
53X Again 14!
1 parent 10f9e20 commit a231819

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Snake/Game.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public partial class Game : Form
1414
int[] Locations2 = new int[999999];
1515
int Queue, Queue2/*, Queue3*/, T1, T2, Measurement2 = 0;
1616

17-
int Measurement = 111;
17+
int Measurement = 5;
1818
int Growth = 5;
1919
bool Apple = false;
2020
bool Continue = true;
@@ -37,7 +37,7 @@ private void Game_Load(object sender, EventArgs e)
3737
Game_Restart();
3838
}
3939

40-
private void Game_Start()
40+
private void Game_Start(object GS)
4141
{
4242
VWidth = SystemInformation.PrimaryMonitorSize.Width;
4343
VHeight = SystemInformation.PrimaryMonitorSize.Height;
@@ -62,7 +62,7 @@ private void Game_Restart()
6262
Pencil.Dispose();
6363
Graph.Dispose();
6464
Colored.Dispose();
65-
Game_Start();
65+
ThreadPool.QueueUserWorkItem(new WaitCallback(Game_Start));
6666
Measurement = Measurement2;
6767
Queue = 0;
6868
Queue2 = 0;

Snake/bin/Release/Snake.exe

0 Bytes
Binary file not shown.

Snake/bin/Release/Snake.pdb

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)