Development and design of snake gameAbstract Snake game is a small game that everyone is familiar with.Everyone hasplayed it The key to realizing the game is to build a frame for snake to move up and downin the game interface,this is relatively easy to develop this small game.In this graduationproject,my topic is the greedy snake small game development and the design.In thisdesign,the tool used for eclipse,in the early design of the game through the technicalfeasibility and economic feasibility analysis,understand the user's basic needs for thissmall game,i basically created five Java classes to implement some of the functions ofgreedy snake,and created a food class to build and refresh the food's location,thestructure of snake and the function of snake head switch are realized by snake,the gameinterface is set by interface class,and the form size and vanishing function are realized byframe class.Secondly,in this small game added music function,mainly by setting musicfunction,start function,stop function to achieve the function of music,so that players canenjoy music while playing the game.Keywords Game,Java,Snake,food,Class
暂无评论内容