🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

duke_meister

Profile
Australia

Created this so as not to mess up Phil's one. Thought it would be good to show my take on a Console Snake game. Code is unfinished but useable if you just copy/paste it into a new C# console project.

1 comments
3 entries
Advertisement
duke_meister
February 18, 2019
That's it

Still some rough edges and lots more that could be done, but it's essentially finished. You can restart a game, see the score and the snake can get much longer (a trivial change).

This hasn't really been a blog, but somewhere to drop this code.

Maybe I'll make another one that goes throu…

2,125 views
duke_meister
February 17, 2019
Mostly done
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;

namespace ConsoleSnake
{
    /// <summary>
    /// All code written by duke_meister (Valentino Rossi)
    /// except keyboard reading technique
    /// </summary>
    class…
1,612 views
duke_meister
February 17, 2019
First instalment

This code is similar to that I posted in @phil67rpg 's blog but with comments and updated to remove some unnecessary stuff.

I'll finish it off by making the snake grow longer, otherwise it's not much of a challenge.

Be kind on the code, I wanted to see what I c…

2,217 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
12 Followers
15 Entries
12 Followers
johnhattan
Programmer
1,277 Entries
48 Followers
ApochPiQ
Generalist
628 Entries
43 Followers
dgreen02
Generalist
338 Entries
55 Followers
Advertisement