Sunday, 2 June 2013

Getting out of St. Mungos.

So I tried to program the getting out of St. Mungos part, but nothing worked. Not really sure why. 

But there is a variable on the individual players, which is declared as 1. the other player's variable is set to 3 when they are sent to jail by a room of requirement or "go to st. mungos' card. 

But when I run the code for the replay of the computer, it was an infinite loop. 

So I made a quick decision: don't include the option to stay in St. Mungos thrice, just charge them 50 galleons right when they get in. Those galleons will be added to the pot; so anyone who lands on the tavern will receive it. 

I will also  make changes to the "expansion" of the labels; if they click on it, they can see how much rent it is, and or how much is in the pot (for tavern). 

That way, I don't need a button telling the person where they are. 

No comments:

Post a Comment