more snakey stuff

someone fix the snakey bug plz
This commit is contained in:
lempamo 2017-02-28 11:58:24 -05:00
parent 02cafa93b3
commit 52b9cd9c80
3 changed files with 20 additions and 2 deletions

View file

@ -41,7 +41,6 @@ namespace ShiftOS.WinForms.Applications
[DefaultIcon("iconShiftSweeper")]
public partial class ShiftSweeper : UserControl, IShiftOSWindow
{
private bool gameplayed = false;
private bool flagtime = false;
private int mineCount = 0;
private int origminecount;

View file

@ -17,7 +17,7 @@ namespace ShiftOS.WinForms.Applications
[DefaultIcon("iconSnakey")]
public partial class Snakey : UserControl, IShiftOSWindow
{
private int[,] snakemap; // 0 - Nothing, 1 - Body, 2 - Head, 3 - Tail
private int[,] snakemap = null; // 0 - Nothing, 1 - Body, 2 - Head, 3 - Tail
private int snakedirection = 0; // 0 - Left, 1 - Down, 2 - Right, 3 - Up
private Timer snakeupdater = new Timer();
private bool extending = false;

View file

@ -196,6 +196,12 @@
<Compile Include="Applications\Skin Loader.Designer.cs">
<DependentUpon>Skin Loader.cs</DependentUpon>
</Compile>
<Compile Include="Applications\Snakey.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Applications\Snakey.Designer.cs">
<DependentUpon>Snakey.cs</DependentUpon>
</Compile>
<Compile Include="Applications\TextPad.cs">
<SubType>UserControl</SubType>
</Compile>
@ -342,6 +348,9 @@
<EmbeddedResource Include="Applications\Skin Loader.resx">
<DependentUpon>Skin Loader.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Applications\Snakey.resx">
<DependentUpon>Snakey.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Applications\TextPad.resx">
<DependentUpon>TextPad.cs</DependentUpon>
</EmbeddedResource>
@ -553,6 +562,16 @@
<None Include="Resources\SweeperTile3.png" />
<None Include="Resources\SweeperTile4.png" />
<None Include="Resources\SweeperTileBomb.png" />
<None Include="Resources\SnakeyHeadU.png" />
<None Include="Resources\SnakeyTailD.png" />
<None Include="Resources\SnakeyTailL.png" />
<None Include="Resources\SnakeyTailR.png" />
<None Include="Resources\SnakeyTailU.png" />
<None Include="Resources\SnakeyBG.png" />
<None Include="Resources\SnakeyBody.png" />
<None Include="Resources\SnakeyHeadD.png" />
<None Include="Resources\SnakeyHeadL.png" />
<None Include="Resources\SnakeyHeadR.png" />
<Content Include="SystemIcons\iconArtpad.png" />
<Content Include="SystemIcons\iconAudioPlayer.png" />
<Content Include="SystemIcons\iconBitnoteDigger.png" />