Skip to content

First Year - Second Semester Final Project (2023)

Notifications You must be signed in to change notification settings

cheaneatine/Code-Road

Repository files navigation

Code-Road First Year - Second Semester Final Project (2023)

Moving Car Simulation

The Moving Car Simulation is a simple yet engaging C++ program that demonstrates a 2D animated car using graphics programming. It enables users to control the car's speed interactively, providing smooth animations and real-time updates. This project is designed as a learning tool for students, helping them explore graphics libraries and foundational programming concepts in C++.


Screenshots

Moving Car Simulation Screenshot


Features

  • Interactive Control
    Users can adjust the car's speed through input for a dynamic experience.

  • Graphics Integration
    Utilizes the graphics.h library to render shapes and animations effectively.

  • Dynamic Motion
    Real-time smooth animation for a realistic car simulation.

  • Adaptable Learning
    Perfect for both beginners and advanced programmers seeking an engaging challenge.


Project Structure

  1. Introduction
    Overview, problem statement, objectives, and scope of the project.

  2. Flowchart
    A visual representation of the program's logic and workflow.

  3. Source Code
    The core logic implementing the moving car simulation in moving_car.cpp.

  4. Sample User Interface
    Screenshots and descriptions of the program's output and interactivity.


Usage

Requirements

  • A compatible C++ compiler
  • The graphics.h library installed in your development environment.

Steps to Run

  1. Clone the repository or download the project files.
  2. Set up your compiler environment to support the graphics.h library.
  3. Compile and run the source code (moving_car.cpp).
  4. Follow the on-screen instructions to control the car's speed and observe the simulation in action.

Educational Goals

This project aims to:

  • Demonstrate the basics of graphics programming in C++.
  • Teach students how to create animations and handle user input dynamically.
  • Provide hands-on experience in real-time motion simulation.

Limitations

  • Focuses on basic 2D graphics and animations.
  • Requires systems that support the graphics.h library.
  • Does not include advanced graphical enhancements such as textures or 3D rendering.

Authors

This project was developed as part of the CS121 - Computer Programming 2 course at the University of Science and Technology of Southern Philippines.

About

First Year - Second Semester Final Project (2023)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages