2 Replies - 2933 Views - Last Post: 07 October 2009 - 08:11 PM Rate Topic: -----

#1 Dacky1984  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 07-October 09

Snake game in C# help

Posted 07 October 2009 - 04:57 PM

Hi, i am new in C# and OOP and I want to create SNAKE game in C#, but I don't know how to organise my classes and their fields and methodes. Can someone help me with this. I thougth, to create classes Snake, Table, ... and something like this but I don't know what fields and functions do I need.

Thanx

This post has been edited by Dacky1984: 07 October 2009 - 05:04 PM

Is This A Good Question/Topic? 0
  • +

Replies To: Snake game in C# help

#2 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 945
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Re: Snake game in C# help

Posted 07 October 2009 - 05:00 PM

You might have better luck in the game programming forum. I think I will move this there.
Was This Post Helpful? 0
  • +
  • -

#3 Tom9729  Icon User is offline

  • Segmentation fault
  • member icon

Reputation: 180
  • View blog
  • Posts: 2,641
  • Joined: 30-December 07

Re: Snake game in C# help

Posted 07 October 2009 - 08:11 PM

I was just working on making a Tron game. If you've never played it, it's pretty close to snake.

I made the "tail" a series of points, and then I drew lines in between them. A good structure for something like this is a linked list.

I can post my code, but it's not really documented very well.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1