The Caterpillar Control System is a console-based simulation of a caterpillar's movement. The system allows users to control the caterpillar by providing commands for movement, growth, and shrinking.
- Caterpillar Simulation: Simulate the movement, growth, and shrinking of a caterpillar on a console-based grid.
- Interactive Console Interface: Receive user commands through a console interface.
- Obstacles and Boosters: Navigate through obstacles and collect boosters for caterpillar manipulation.
- Logging: Log movements, errors, and general actions to different log files.
-
Clone the repository:
git clone https://github.com/Njuguna-JohnBrian/CaterpillarControlSystem
-
Navigate to the project directory:
cd CaterpillarControlSystem
-
Compile and run the application:
dotnet run --project CaterpillarControlSystem.control
- Run the application as instructed in the installation section.
- Follow the on-screen instructions to provide commands for caterpillar movement, growth, and shrinking.
- View the console output to see the caterpillar's current state and radar image.
U
: Move UpD
: Move DownL
: Move LeftR
: Move RightG
: Grow CaterpillarS
: Shrink CaterpillarQ
: Quit
Here is an example series of motions you can try:
U: Move Up
D: Move Down
L: Move Left
R: Move Right
G: Grow Caterpillar
S: Shrink Caterpillar
Q: Quit
This series of motions moves the caterpillar in different directions and includes growth and shrinking actions.
Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.
This project is licensed under the MIT License