Also need help with setting up the game status.
Checks whether we've won or not and reports the status
- no more bricks: "You WON!!! Score: <score>" and stop the game
- no...
Type: Posts; User: Ceasar
Also need help with setting up the game status.
Checks whether we've won or not and reports the status
- no more bricks: "You WON!!! Score: <score>" and stop the game
- no...
Destroys a (hit) brick and updates the game status accordingly
- update the score
- tell the brick to destroy itself
- remove the brick from Greenfoot
- display the new...
:-bd Congrats guys =D>
That doesnt seem to be working for me...not sure what i did wrong
Ok here is another question.
If i used the code to make all the bricks of the game how can i change the colours between them?
for (int i = 0; i < 8; i++)
{
for (int j =...
yup that work and i have assigned points to the colors.
private static final int BRICK_HEIGHT = 8;
private static final int BRICK_WIDTH = 16;
Umm it creates the blocks but they seem to be stacked on each other.
ummis it possible to use the brick height and width in the code so they dont stack on each other?
implement the RankBag interface in the RankBagBST class
not sure on how i should start..
hey guys i need help making a loop to create bricks in my breakout game.
here is the code to make one brick:
//creates a brick in breakoutWourld.
brick = new Brick(1,"red");
...
Breakout – more details
(NOTE: for co-ordinates in Greenfoot the position (x=0, y=0) is the top left corner)
· The game has a grid of bricks 11 wide and 8 deep. The colour of the rows of
bricks...
using a binary search tree (BST) as the data structure.
Your implementation:
will implement the RankBag interface in the RankBagBST class;
must use the provided Node class for the BST nodes...