The SocketThrdServer Class, this class is used to create the server object that runs in a thread and continually listens for input from clients
taken from the AppletCliSer.java and modified to work with battle ship
The construction for the Client - UseSocket class that uses a thread to lsiten for input connections
Also taken from the AppletCliSer.java exmaple and modified for the battleship game
The Player class is sued to setup the ships for each player,also is sued to shoot and attack other players ships
and as well is used to detract the ships health
George Smith
CIS421 - Web Based Java
December 7th, 2007
Project: Battleship v2.0
Description: The Ship class for the battle ship game that is used to store attributes about each ship
George Smith
CIS421 - Web Based Java
December 7th, 2007
Project: Battleship v2.0
Description: The Space class for the battle ship game that is used to manage the spaces on the grid
George Smith
CIS421 - Web Based Java
December 7th, 2007
Project: Battleship v2.0
Description: The Turn class for the battle ship game is used to store the AI information sued to attack the players ship