Tuesday, 14 May 2013

Hello!

I found out what the stupid error was...I initialized the wrong number of array positions (yeah, i know, stupid enough). 

I also found out why the label things were all appearing backwards. I added everything in terms of the board rather than in terms of the individual arrays. And for both the South and the West border, they had to be added starting the left side (for south) and the top (for west) rather than in the direction of the board. 

Yeah, really idiotic error O-o 

Program won't run O_o

So confuzzzling. I don't geddit. 

I have an array of 40 objects that are received from other classes. And when I try to put something in index 37, it says nullPointerException...


Sunday, 12 May 2013

A bit more monopoly looking

As you could see on the previous picture, it was hard to read with the screen size so small. So I have created an array of JButtons and and array of JLabels with all the image icons both for the small icons and the larger icons. 

The JButtons and the larger icons of JLabels will all be displayed in another frame, one where the user can see and read the tile. 


And yes :D The prices are all in galleons ;P 

FANDOM STYLE! 

Saturday, 11 May 2013

Finallies :D

HELLO AGAIN!

I shouldn't get too excited since I haven't done a whole lot, but I redid the code and it went by really quickly. So here's the updated picture of what the board looks like. And in the for loop, I've added everything to the mouseListener so it doesn't have to be done manually! 



Thursday, 9 May 2013

And he does his thing again ;P

Ryk gave me another way to program the thing, so I'm going to change around my code again to accommodate that, cause it's a lot more efficient. 

Basically, what his way, to do it was: 

Use a class to extend all the JLabels. 

To print all the for loops to the screen, name all the properties in order and a counter at the same number. Therefore, you can use a loop to create the labels (in an array), and do it individually for north, east, south and west. 

He also said that it 'twas possible to do it for both east and west at the same time but I was too confuzzled..

Properties :)

So here is the official gameboard on paper and it makes it a lot easier to program :) 

Hurray! :D

So I've finally finished the game board set up. I'm going to have to program the layeredPane part, so that when the pawns move, the user can see their pawns. But for now, at least, it's amazing


Now, I'm going to have to add all these labels into the class declaration where when the user clicks the properties, a frame will show up with the more massive pictures. 

And I formatted it much better, so here is the official gameboard: 


Tuesday, 7 May 2013

Size...

Okay, this is getting so irritating. I've made my labels this size: 

And it's still not small enough for the whole board to come together. 

so the size STILL has to be decreased significantly to fit 10 down the side -_-

Monday, 6 May 2013


Okay...um..that is my game board so far. You can tell that the east and west are going to be pretty massive..O-o

Although when I started adding the west and east fields, they didn't fit even though I included a JScrollBar: 

So I dunno how to make it fit :( 

Okay..official pics. Not changing them anymore!

So here are the official pieces of the game! :D