Font Size: a A A

The Design And Implementation Of Super Tractor Online Combat Games In Wifi LAN Based On Android Platform

Posted on:2019-01-11Degree:MasterType:Thesis
Country:ChinaCandidate:W J TangFull Text:PDF
GTID:2428330545497766Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In recent years,with the rapid growth of the global smart mobile industry,the global mobile game market continues to grow.In 2016,the scale of China's mobile game market reached 81.92 billion yuan,and the mobile game market scale exceeded the size of the traditional PC-end game market for the first time.With the rapid expansion of the mobile game market,traditional poker games are gradually being migrated from the PC platform to the mobile platform.Super Tractor is a card game that is very popular in China.The players in the game sitting opposite each other are alliances.There are various ways of playing such as one card,two cards,and three cards,of which the one card is the most popular.Currently,the online game developed by Tencent is the most representative on the market,and the game runs in the local area network have the advantages of not relying on mobile data networks and not consuming traffic.It has strong practicability in the case of poor network environment.This article uses the Android mobile terminal system as a platform cooperate with the Java language to compile Super Tractor online battle game under the LAN environment.The research work done in this paper mainly includes the following aspects:1.Adopt the C/S mode to build the game architecture and use a client as a server to solve the problem of no server in the LAN environment;2.Implement all the rules of the game,including the analysis of the cards,the legitimacy test of playing,the comparison of the played cards,and the detection of the throw cards;3.Implement a heartbeat packet-based breakage detection mechanism to detect the network connection between the server and the client in order to take actions when the network connection lost;4.Achieve screen adaptation at different resolutions to maintain the original proportions of the picture resources and the interfaces.5.Use SharedPreferences and Java serialization technology to achieve game progress backup and recovery functions;6.Implement a simple AI card issue algorithm.The article will be described in terms of requirements analysis,system design and system implementation.
Keywords/Search Tags:Mobile Game, SuperTractor, Android
PDF Full Text Request
Related items