Expand on Project 5 to implement the following:

Server –

  • Make the server the computer player.
  • The server should be threaded.
  • The server should receive all of the client’s moves and then respond accordingly.
  • The computer should start with a home planet of its own color and a set population.
  • Give the computer three different levels of AI:
    • the computer attacks random planets
    • the computer attacks nearby large planets first, then attacks the user.
    • the computer attacks large planets with low populations, performs checks to see if it has sufficient forces to attack, and attacks the user whenever it does.

Client –

  • Make the client the interface for the user.
  • The client should be threaded.
  • The client should receive all of the server’s moves and update the board accordingly.
  • The user should start with a home planet of its own color and a set population (same starting population as computer player’s).
  • Allow the user to choose a computer AI level when starting.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.