100 likes | 251 Views
A Networked Tank Game Utilizing Sockets. Tank Wars. (also ported to PDA). Victor Elci. Introduction. Fig 1a – Game Screenshot. Problem Description. Server Shall be programmed using Java Shall utilize TCP/IP sockets Shall support multiple users Two Clients One shall run on PDA
E N D
A Networked Tank Game Utilizing Sockets Tank Wars (also ported to PDA) Victor Elci
Introduction Fig 1a – Game Screenshot
Problem Description • Server • Shall be programmed using Java • Shall utilize TCP/IP sockets • Shall support multiple users • Two Clients • One shall run on PDA • One shall run on Personal Computer • Both shall be programmed using Java
Solution Fig 2
Solution • Users specify a power and angle using mouse and keyboard interface. • A shot is launched with the specified initial velocity and angle. • Position of shot is updated, taking into account the wind velocities (Fig. 1c) Fig 1b – Mouse Interface Fig 1c – Wind Gauge
Solution • Shot hits the ground or the edge of the screen. • A circle is cleared from the ground. • End of turn for current player, turn is passed to another player. Fig 1d
Solution • Server currently has chat room capabilities for multiple users. • Next step is to merge the chat room client and game to make the game client and merge the chat room server and game to make the game server.
Demo <Insert demo here>
Conclusion • The graphics and basic gameplay were the most difficult part. • The server should be completed by the deadline (currently only chatting is enabled). • Will hopefully be able to port over to PDA (after server works).
References <watch me hold up books here>