Client/Server - Robot World
Creating a robot world that will have the following implementations:
- Client(launches the robots into the world)
- Server(responses the messages sent from the client and builds the world, with obstacles invented for the world)
*The browser sends messages using the HTTP protocol to the server *The server responds to the from the client
- Sockets
- We learnt that a socket is a one-end point of a two-way communication link between two programs running on the network.
- Sockets allow you to exchange information across a network.
- Threading
- We learnt about multithreading, which is a process of executing multiple threads simultaneously.
- It's a feature that allows concurrent execution of two or more parts of a program for maximum utilization.
**To run this program firstly you have to run the Server then the Client on the command line using these commands:**
To run the Server:
`mvn compile exec:java -Dexec.mainClass="za.co.wethinkcode.Server.RobotWorldServer" -Dexec.args="8080"` To run the Client:
`mvn compile exec:java -Dexec.mainClass="za.co.wethinkcode.Client.RobotWorldClient" -Dexec.args="8080 localhost"`
- Lesedi Jonas
- Prince Mangwa
- Simphiwe Madi
- Paballo Mathipa