Thanx
This post has been edited by Dacky1984: 07 October 2009 - 04:04 PM
|
|
|
Snake game in C# help
Page 1 of 1
Snake game in C# help#1Posted 07 October 2009 - 03: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 - 04:04 PM #3Re: Snake game in C# helpPosted 07 October 2009 - 07: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.
Page 1 of 1
Fast Reply
1 User(s) are reading this topic
|
|||||||||
Forum Index:
Programming Help |
C and C++ |
VB6 |
Java |
VB.NET |
C# |
ASP.NET |
PHP |
ColdFusion |
Perl and Python |
Ruby |
Databases |
Other Languages |
Game Programming |
Mobile Development |
Software Development |
Computer Science |
Industry News |
52 Weeks Of Code |
Programming Tutorials |
C++ Tutorials |
Visual Basic Tutorials |
Java Tutorials |
VB.NET Tutorials |
C# Tutorials |
Linux Tutorials |
PHP Tutorials |
ColdFusion Tutorials |
Windows Tutorials |
HTML/JavaScript Tutorials |
CSS Tutorials |
Flash Tutorials |
Web Promotion Tutorials |
Graphic Design & Photoshop Tutorials |
Software Development Tutorials |
Database Tutorials |
Other Language Tutorials |
ASP.NET Tutorials |
Game Programming Tutorials |
WPF & Silverlight Tutorials |
Mobile Development Tutorials |
Python Tutorials |
Ruby Tutorials |
