Skip to content

swa-group1/corona-defense-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corona Defense Game Server

Server for the Corona Defense game, an online multiplayer variation of the classic tower defense genre. Written in C# for the ASP.NET runtime. Client implemented at swa-group1/corona-defense-client.

Project Structure

In CoronaDefense:

  • API receives requests from the clients.
  • BackEnd
    • Orchestrator processes requests not intended for one specific lobby, such as highscore list functionality.
    • Router transmits requests to specific lobbies.
    • Game contains all game logic.
    • Communication accepts socket connections and broadcasts game changes to all attached clients.

How To Run

The server runs continously on the Google Cloud Platform, and in most instances does not need to be started locally to run the application as a whole. If one still wishes to run the server locally, one must clone the repository, open the the solution file at path CoronaDefense/CoronaDefense.sln with a recent version of Visual Studio 2019, and start the BackEnd project through the user interface.

To connect to this local server, one can manually change the IP address constants in the client and rebuild it.

About

C#/.NET server for the Corona Defense game.

Resources

License

Stars

Watchers

Forks

Languages