Hi all,
I'm new to creating games in C# and was hoping for some advice to help get me started. I am trying to create a board game using a person represented by a P, 5 rocks on different squares represented by R and home represented by H. The person walks around a 10x10 board based on keyboard actions, picking up the rocks as he reached the square they are on and placing the rocks home when he reaches the square home is on.
I have created the board using an array of Square [0,0] - [9,9] and am moving on to create the pieces. Is usual protocol to create a class for person, rock1, rock2, etc. with parameters such as rockscarried, powerleft, position, etc.? Also when displaying would the character displaying the object usually be in the class or separate? e.g. would class person have a char parameter with value 'P' or would 'P' be separate from the class?
Any advice is greatly appreciated.
Thanks very much,
Stephen.