Welcome![Sign In][Sign Up]
Location:
Downloads WEB Code JSP/Java
Title: snake(java) Download
 Description: Design ideas Firstly, the main knowledge point of this program is the graphical user interface. The basic structure design of the interface is as follows To build a framework as a basic interface for visual programming interfaces, considering that you want to add a variety of components to your program, it is reasonable to use the panel, so you will inherit the JPanel class. The next step is to add a variety of elements to the program, including the snake body, the food (both the snake body and the food are made of small squares, using different color differences); Additionally, the divider (that is, the length of the snake times 10). The meter. Another is the process design of the program: the movement of the snake should include the movement of the snake. Finally, the state of the snake: it should include whether the snake has eaten the food, whether it has hit a wall, or whether it has bitten itself. In addition, when running the program, you should consider the problem of delay. Therefore, the content of the thread should be used. The design is to implement the interface Runnabled.
 To Search:
  • [pport] - In between two computers using parallel
  • [MFC] - This book through about 85 examples of a
File list (Check if you may need any files):

CodeBus www.codebus.net