These days in the outside dinner always hear, others that said a few of what. Reminds me of the game Tetris I played as a kid… Don’t say that my brain circuit is abnormal, although there is no beautiful screen of these games, but full of memories in it, so how to write Tetris in JAVA? Now share to everyone JAVA development game Tetris ideas! Interested partners can play down to find the feeling of childhood! The function then below gives everybody analysis the function of the game! The first is the game Interface, which requires a Graphical User Interface (GUI)


I’m so worried about you! I won’t go into the details here. The content of the source code behind the article, their own down to see, do not understand can add Q number: 3300863615

Ask me, next is the implementation of the function of the code, the first is to draw a map.


It’s just an array in the background





So why do we do this? Remember the knowledge points come!


If our new little box wants to move to the place

There are little squares and walls

Then we can’t move over it


So that’s it for the rest of your friends to see!

Want to work on it or are genuinely interested in it. You can ask me for some basic learning videos, Q number: 3300863615, this is free, I hope students don’t take it for granted when looking for me, after all, it is my efforts, I hope you really want to learn Java heart, I will do my best to help you become an excellent programmer.

Q plus I have the following requirements, do not disturb the substandard:

1. I majored in Java in college, but I was frustrated in the interview after graduation and could not find a suitable job

2. I have been in the company for a long time and now I am comfortable, but I hit a wall in the interview when I change my job. Need to study in a short time, job-hopping to get a high salary

3. After attending the offline training, I have not mastered the knowledge deeply enough, and it is difficult to find employment. I want to further my study

4, already in the Java related departments work on the job, on their own career planning is not clear, dawdle

5, have a certain C language foundation, contact with Java development, want to change careers

The small one