Skip to content

mrbrogrammer/Robot-Worlds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Robot Worlds

Client/Server - Robot World

Getting started

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)

Sockets

*The browser sends messages using the HTTP protocol to the server *The server responds to the from the client

What we have learned

  • 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.

How to run


**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"`

Authors and acknowledgment

  • Lesedi Jonas
  • Prince Mangwa
  • Simphiwe Madi
  • Paballo Mathipa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages