Question: CSC 2 0 0 Final Project Create a 2 - person client / server game. 1 . The game must be played across the network.

CSC 200 Final Project
Create a 2-person client / server game.
1. The game must be played across the network. One player must play against another player, who is sitting at a different computer on the same network, similar to the Tic Tac Toe example that we played in class. (Note: This is program is a player -against-player type program, not a player-against-computer program.)
2. Both players must connect to a server program. The server program must wait for 2 players to connect and then start a thread for the 2 players to play the game on. The server must then wait for 2 more players and then start another thread for those 2 players. The server continues waiting for 2 players and starting threads until the server program is stopped. (This is similar to the Tic Tac Toe program that we saw in class.)
3. The client program must display instructors to the players.
4. The server program must determine when a winner occurs and notify both players who the winner is.
5. Use the Socket class in the client program.
6. Use the ServerSocket class in the server program.
7. We will have several class meeting times in which you can work on this project. Attendance is required at those classes.
8. If you are stuck on thinking of a game, choose the game of Nim. Search the web for instructions on how to play the game of Nim. Remember, that this project is player-against-player vs. player-against-computer.
9. The program must work completely. Be sure that you pick a game that you can complete over the next couple of weeks.
10. Remember to write good code (comments, etc.)
MAKE SURE THIS WORK IS YOUR OWN!!!!!!!!!!!!!!!!!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!