This repository contains a collection of C++ projects along with automated setup and build scripts for Windows environments.
An interactive game where:
- Computer picks a random number between 0 and 100
- Player makes guesses
- Computer provides "higher" or "lower" hints
- Game tracks the number of guesses until correct
A text-based adventure game where players navigate through an interactive story.
-
Initial Setup
- Clone this repository
- Right-click
setup_cpp_project.batand select "Run as administrator" - The script will:
- Install necessary dependencies
- Install Visual Studio Code if wanted
- Generate required configuration files
- Set up the C++ development environment
-
Building and Running Projects
- Execute
build.batto:- Compile all projects
- Run the selected program automatically
- Execute
cpp-projects/
├── setup_cpp_project.bat # Environment setup script
├── test/
│ ├── test/
│ │ └── main.cpp # Hello World program
│ └── build.bat # Build and execution script
├── NumberGuessing/
│ │ └── main.cpp # Number Guessing game program
│ └── build.bat # Build and execution script
└── MysteryIsland/
│ │ └── main.cpp # Mysteryisland program
│ └── build.bat # Build and execution script
- Windows operating system
- Administrator privileges (for initial setup)
Each project can be built separately by navigating to its directory and running there:
build.batFeel free to contribute to any of the projects:
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request