Skip to content

Akin-Genc0/Console-robot_simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Console Robot Simulation

A console-based robot simulation where multiple robots move around an arena. Robots follow specific directions and change course when they hit walls or other obstacles. The project demonstrates object-oriented programming (OOP), random movement, and file saving/loading.


Features

  • Custom Arena Sizes: Set arena dimensions interactively.
  • Multiple Robots: Add robots with unique IDs and directions.
  • Random Movement: Robots move randomly and change direction when needed.
  • Console Commands: Add, move, display, and simulate robots.
  • Save/Load: Save the arena state to a file and load it later.

Technologies Used

  • Java for core logic.
  • Console I/O for text-based interaction.
  • File Handling for saving and loading data.

How to Use

  1. Run the Simulation:
    javac Robotsim/*.java
    java Robotsim.RobotInterface

About

2D Console Robot Simulator that moves a robot around the console from a command-line interface using Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages