Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 827 Bytes

File metadata and controls

29 lines (15 loc) · 827 Bytes

Robot Wars

This Program involves a server and multiple TCP clients (Up to 4 if I remember correctly)

Start the server by navigating to the Server folder and running

javac *.java

java Server

(This server will run on localhost port 8000 you can use ngrok (An amazing tool found at ngrok.com) to make it a public server)

-You can find your private ip in settings and use that in the client java file if you are running it on another computer on the network.

Start the Client by navigating to the Client Folder and running

javac *java

java Client

Highscores do not work yet and you need two clients to submit their names before the game will start

Game controls

W move forward

A move left (In my highschool CS class we used a robot that could only turn left to learn loops shoutout to Mr. Feinburg)

D is fire bullets