Todd Vance

Todd Vance

  • NA
  • 60
  • 131.8k

Need a simple XML tutorial for storage for a small C# game I want to create.

Oct 20 2007 9:37 AM

Hi all,

I want to create a small game in C#.  Like a 20 question animal guessing game.  The first time it's ran, the game will only know about a cow.  AS the player plays and thinks of more animals the game will ask for 2 or 3 details of that animal that it has not yet known.

I want to use that information to build a dbase of animals and simple descriptions so that the game grows "smarter" as it trys to guess MORE animals. 

I had initially planned on using SQL but have heard so much about how XML is easier and cleaner (I'm using Express right now and SQL can be tricky sometimes).  BUT I CANNOT FIND ANY SIMPLE TUTORIALS ON XML STORAGE.

I know and understand the basics of XML with elements and children, etc... I just need to learn how a program reads the elements and then stores more elements, etc.

Can SOMEONE PLEASE point me towards a place to learn this????

Thanks!

Todd


Answers (2)