Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads WEB Code JSP/Java

snake(java)

  • Category : JSP/Java
  • Tags :
  • Update : 2008-10-13
  • Size : 36.01kb
  • Downloaded :0次
  • Author :陈****
  • About : 陈新星
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
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.
Packet file list
(Preview for download)
Packet : 71477207snake(java).rar filelist
calculator\.project
calculator\.classpath
calculator\bin\packagecalculator\CalculatorPanel.class
calculator\bin\packagecalculator\Calculator.class
calculator\src\packagecalculator\Calculator.java
calculator\src\packagecalculator\CalculatorPanel.java
snake\.project
snake\.classpath
snake\bin\Snake$MySnake.class
snake\bin\Snake.class
snake\bin\Direction.class
snake\bin\Snake$1.class
snake\bin\Snake$2.class
snake\src\Snake.java
Calculator.jar
java程序设计.ppt
Snake.jar
calculator\bin\packagecalculator
calculator\src\packagecalculator
calculator\bin
calculator\src
snake\bin
snake\src
calculator
snake
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.