
-----------------------------------
JustTrying2GetBy
Thu Jan 20, 2005 2:09 pm

Help with Monopoly
-----------------------------------
I am making a monopoly game and I am wondering how to get the pieces to move around the board.  :?:

-----------------------------------
josh
Thu Jan 20, 2005 2:26 pm


-----------------------------------
Since you are new, I am not gunna flame you, but if you want some help, post some of your code so that we can see you are not just trying to get us to do your project for you and so we can see what you have done so far. Hard to tell you what to do when we can't see what is done already  :wink:

-----------------------------------
Tony
Thu Jan 20, 2005 2:52 pm


-----------------------------------
each piece needs to know where it is. Have a variable to store it's location. Such as

myLocation = 5

meaning I'm in the 5th cell. To draw the piece simply

Pic.Draw(boardx(myLocation),boardy(myLocation),myPictureID,picCopy)

where boardx/y are arrays with the location of each cell on the board.

-----------------------------------
basketball4ever
Thu Jan 20, 2005 5:53 pm


-----------------------------------
use a roll
a current position
and set a x and y coordinate for each position
label each place on the board with a position
so that 
currentposition := currentposition + roll
then have a procedure/check what coordinates the current position is...
not hard game to make  :wink:
