| This paper designs and implements a group gaming platform based on spark in public transport which aims providing multiplayer games among crowd.Public transport are facing many challenges including the timely performance of back-end game servers for runtime game operation,unreliable cellular network connections,and opportunistic and dynamic local wireless environment.This paper proposes a gaming platform to gather people who have same game interests and same location together to have group games.It uses Wi-Fi Direct to solve dynamic network problem and uses Spark to do recommend algorithm for huge amount of users.The main results of this paper are:1.the implementation of basic functions of the server including using SpringMVC web framework to deal with user requests games,maintain users’ gaming history,fetch users’ game interest in social network,implementation of database.2.implementation of user preference formation algorithm,group division algorithm,group recommended algorithm,group owner selection algorithm.All of above algorithm are all run on spark.3.Use Wi-Fi Direct to implement mobile network formation and ensure stable connection to transfer data at high dynamic network.4.implementation of gaming platform,including open core component of Wi-Fi Direct communication to the game designers and two examples of game development(Link Link and KickKick). |