In order to help people better explore their own wisdom, games have entered the public’s view and become indispensable in people’s lives. The game industry promotes the continuous upgrading of high and new technologies, which greatly promotes the economic growth and promotes the economic take-off of the “fourth industry”. Tank Wars is a classic childhood game that we all know very well. The game through the analysis of JAVA game development and code design, using Eclipse software to develop a tank war game, the use of interface technology, so that a class can achieve multiple interfaces, the use of Socket Socket to complete the client and server connection. Players enter the game through connection access, guard the base by manipulating tanks, players can also get super weapons to improve the attributes of tanks, destroy all enemy tanks to win, the operation is very simple, but also has a very high prevalence rate, suitable for all groups to play. The game not only meets people’s personalized needs, but also lets players lose their worries and release pressure heartily during the game.