Skip to content

rsimari/paranoia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

Paranoia

by Robert Simari and Royce Branning

Paranoia is a multiplayer shooter game.

  • First start the game server by running "python server/server.py".
  • Then join a game as a player by running "python client.py" in the client/ directory.

When you first join, if you are the first player you will have to wait for other players (4 of them) to join before the game starts. Use the WASD keys to move and the mouse to shoot lasers. Once four players have joined the game will start. You win the game if you can destroy all of your opponents before they destroy you.

Game Architecture

Paranoia runs a game server that accepts all player connections on an initial port. The server then assigns the player another port for the game data to flow on. Once the player is assigned an open port, the client launches the game and starts accepting data from the server. Whenever a player moves or any event happens the client sends data to the server and the server broadcasts the message to the rest of the players so that they can sync with all the screens. Finally when a player drops the connection, the server broadcasts a message to delete that player from all the players screens and it frees the port that it was using for another player.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages