Tuesday, 21 May 2013

>____<

Fiesicks is throwing me down the drain. Half of me is saying it's fun and I should take it next year; the other half is saying you're killing yourself o_o 

I should have been done moving the pawns by today, or at least finding the coordinates. Looks like ICS is going to be preeeety busy today o.O 

Anyways, for ICS, I'll probably just end up finding the coordinates of the individual square pieces, and I can find them out on Mac as well. That can then divided by wherever I want to put the pawns on the board, and then add the width of one square each time. But I feel like they should be big enough to see from the small tiny board, so I think I might make them a blackshadow or something of Hermione's face, but that's something to talk about later. 

Ryk said that while starting from the top, it will keep adding the width to the x-value. While going down, it will keep adding the height to the y-value. But while doing from right to left on the bottom, it's going to be decreasing the x-value. And finally, for the last side of the board - bottom to top on the west side of the border panel, it will be decreasing the y-value by the height - not the width. I think the best way to do this is in a for loop, but I have to hurry up. 

Also, I am going to limit this game to 2 users - one player and the Computer. So every time they click on "buy property," which is in a JLabel, the program will take a certain amount off of their bank card (more like their Gringotts account). 

Anyways, physics test tomorrow - after that's done, I can finally squeeze computer science in. If I end up finishing the movement of pawns today, then I'll start on using the mouseListener and taking off a certain amount (which is in an objects array) out of the person's gringotts account. 

Also, for Room of Requirement, that's another thing that I have to program. I have it all down, and I know all my cards, which I have already posted here for everyone to see, but shh! So...yeah, tons to do, and I'm going to finish the plotting by today; the if statements by Thursday and the room of requirement by Friday.

As much as I love programming, I can't wait until school's over. I'll be able to refine this program a lot more in the summer if I'm not too busy reviewing Advanced Functions, Calculus and Vectors, Data Management, Grade 12 Computer Science, Physics, or Earth and Space Science. Anywhoozing, it would be a lot more fun to refine this program so I can accommodate up to 8 players and make it like the real version. But for now, time is of the essence and I have to finish it and make sure that there are no bugs...fast! I'm almost thinking that I shouldn't give them houses and hotel options, but that sort of breaks the whole point of monopoly, but I'll see how far I get up to...I really do hope I have time for it because Monopoly isn't Monopoly without houses and hotels. I'll have to run it by Ryk to see if he's okay with it before I make up my mind. Not that it's made up..any time yet. I'll find out by Saturday..

No comments:

Post a Comment