The java small projects: BNB Bomberman to hurt it with each other!

The small Java project: BNB! Double chess
today to share a little java project, is dressed in the cloak of BNB Bomberman game.
Bomberman This casual game players to seize the demand for interactive entertainment, it is simple, easy to use and fun to play, give players can get interactive and fun game brought a sense of accomplishment in a short time. The material needs to be private letter to me, this game is very suitable for beginners to practice hand of java.
Function Module Introduction:

  1. Game start screen
  2. Control character movement to achieve
  3. Bomb bomb blast generation and realization
  4. The judgment result of realization
  5. Timing of realization
  6. They play with each other to achieve
    the game interface display:The java small projects: BNB Bomberman to hurt it with each other!
    The java small projects: BNB Bomberman to hurt it with each other!

Code shows:The java small projects: BNB Bomberman to hurt it with each other!

Operating description:
1. First enter the game screen, the user can choose their own role, player1 or player2. We can begin to play against when o'clock.
2. In wartime, Player1 can awsd buttons to control movement of the character, and can be used player2 keyboard buttons to control the direction of the character
movement, people can only move in the space, can be placed bombs Player1 buttons. 5, the key can be used player2 j bombs, use
bombs to destroy explosive power around the obstacle. At the same time you can place multiple series of bomb. After placing the bomb, the bomb will hold
continued for a few seconds before the explosion, during this time, the player should escape in explosive areas bomb. When the player is bombed bomb, it means the end of life of the players, the game can not continue.
3. When a player with a bomb to blow up the box, the box is likely to burst some of the props, eat these props, players will receive a variety of corresponding capacity.
4. When one party player dies, the other side won.
Like this article can follow me, I will continue to update, update your concerns are my motivation! For more java learning materials may also private letter I!
I wish my people are concerned about: good health, plenty of money, welfare, such as the East China Sea, many happy returns, Taoyuan County, from not afford to send!

Guess you like

Origin blog.51cto.com/14623707/2467103