So I recently started writing code in XNA C#.
I managed to pull off some gametests and movement (minigolf & pong).
Now after a few tutorials and articles I created a multilayered TileEngine (most code comes from XNAresources.com)
A start for my simple dungeon runner (d&d, descent boardgame like).
But what I'm curious for is, how to manage my code.
I suppose you guys are familiar with the gameboard Descent or d&d like games.
a Tile can be made from just dirt, ice, lava, mud, .... these have certain caracteristics (like slowing movement, damage players)
or a trap can be set onto that tile by the dungeon master.
Now is it best for me to write a set of properties like
single slow = 1;
single damage = 5;
...
or use something like
tile type = ice;
'or
tile type = lava;
Also any suggestion on how to proceed any further? Networking will be used somewhere next year.
my idea is to introduce a card system, which will propably be a list of cards in an xml file.
There will be several types of cards (items, player improvments, DM improvments like traps, spawns, ...)
What would be a good way to implement the use of these cards? as some can be used whenever a player wants (in the DMs turn for example)
I suppose a better question would be, how to implement the turn function? (movement, attack, ..., next player, DMs turn)
Regards
Peter