Download here - users.cs.umn.edu

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
CSci 5131 Advanced Internet Programming
Project Proposal
Kaushik Sonduri Panthangi
Murali Sangubhatla
Praveen Herur
Problem Statement – To build a web based multi-user gaming application using Web
Services Framework.
Introduction
You are playing a great web-based game with an opponent. You are almost through and
so far so good. All of a sudden, you are reminded of an impending appointment in
another 30 minutes but never want to quit the game without winning. To you all that
matters is Winning. How about getting some online help and finish the game on a
winning note?
Currently most of the existing gaming applications provide a networked solution for
workstations and stand-alone solutions for hand-held devices. The need for
interconnectivity between different types of devices is forever growing rapidly. In this
project we achieve the same, apart from gaining a hands-on experience on the
technologies such as Java Server Pages (JSP), Java Beans, Java Web Services (JWS),
Database Connectivity (JDBC) with MySql etc.,
We developed a Tic-Tac-Toe (both 3X3 and 4X4) game that can be played from a
handheld? as well as from a conventional desktop. We have also devised an efficient
way to represent Solution space in the database to provide valuable tips to the players on
demand. The Solution Space Servers use a ranking methodology to give the best tip
possible and also provide a Web Service interface.
Goals
We plan to build a simple gaming application using Web-services and XML
technologies. Progress on this goal would be achieved by first building a server which
supports the gaming application. Secondly we would like to connect to this server from
different devices (clients) and launch the application. Furthermore we would devise a
suitable representation of the states in the game, which can be stored and assigned a rank
based on a ranking methodology we would devise. Whenever a game is won, the server
distributes the sequence of winning moves to the solution space servers which use JDBC
technologies for storage and information retrieval. The clients can contact these solution
space servers in order to obtain tips.
Game Server
Mobile Client
S.S. Server
Web Services Framework
Client
Figure 1.0
Mobile Client
Design
The overall gaming architecture consists of the following components:
1. Clients: Players can connect to our Game Server through an web browsing
application. We use JSP in coordination with a player Java Bean residing on the
Game Server to track the game session and process the client events. The request
and response between the Clients and the Game Server use HTTP.
2. Central Game Server: The centralized game server maintains complete state
information of all the players connected at any instance. The Game Server
retrieves tips on demand by acting as a Web Service Client. In addition, it
publishes the Solutions to the Solution Space Servers.
3. Solution Space Web Server: The solution space web server provides two Web
Services
Central Game
Server
JSP
Solution Space
Web Server
JDBC
HTTP
Player
Player
MySql Database
Figure 2.1 – Overview of the Network Gaming Architecture