Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thkox/object-oriented-application-development_2021-car-simulation

This project is an individual assignment for the "Object-Oriented Application Development" course, offered in the 3rd semester of the 2021 academic year at the University of Piraeus, Department of Informatics.
https://github.com/thkox/object-oriented-application-development_2021-car-simulation

2021 3rd-semester csharp department-of-informatics university-of-piraeus visual-studio windows-forms

Last synced: 24 days ago
JSON representation

This project is an individual assignment for the "Object-Oriented Application Development" course, offered in the 3rd semester of the 2021 academic year at the University of Piraeus, Department of Informatics.

Awesome Lists containing this project

README

        

# Object-Oriented Application Development (2021) - Car Simulation

## Project Overview

This project is an individual assignment for the "Object-Oriented Application Development" course, offered in the 3rd semester of the 2021 academic year at the University of Piraeus, Department of Informatics. The goal is to create a Windows Forms application to simulate cars moving on two intersecting roads. The simulation involves managing car movements, traffic lights, and road intersections, with hardcoded speeds and traffic light timings. The application will demonstrate object-oriented programming principles and basic GUI development in a Windows environment.

## Course Information
- **Institution:** University of Piraeus
- **Department:** Department of Informatics
- **Course:** Object-Oriented Application Development (2021)
- **Semester:** 3rd

## Technologies Used

- C#

## Usage Examples

### Starting the Simulation
Click the "Start Simulation" button on the main form to begin the simulation of cars and traffic lights.

### Car Movement
Cars will move across the roads, reappearing at the beginning of the road after reaching the end. The speed of each car is predefined.

### Traffic Lights
Traffic lights control the flow of cars at the intersection:

- Green: Cars move freely.
- Yellow: Transition between green and red.
- Red: Cars stop if they haven't crossed the intersection.

![App Screenshot](./images/screenshot.png)

## Setup Instructions

1. **Install Visual Studio:** Ensure you have Visual Studio installed on your system.
2. **Clone the Repository:** Clone the project repository from GitHub to your local machine.
3. **Open the Project:** Open the .sln file in Visual Studio.
4. **Build and Run:** Compile the project and run the application using Visual Studio.

## License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.