Internship Program
This is a simple yet engaging number guessing game developed using C++. The game randomly selects a number between 1 and 100 and challenges the player to guess it. With each guess, the game provides feedback on whether the guessed number is too high, too low, or close to the target number, guiding the player towards the correct answer.
- Start the Game: Run the
Number_Guess_Game.cppexecutable. This will initiate the game and display the welcome screen. - Choose Your Option: You will be presented with two options:
- Enter
1to start playing the game. - Enter
0to exit the game without playing.
- Enter
- Guess the Number: If you choose to play, enter your guessed number when prompted. The game will then provide feedback based on your guess.
- Feedback and Repeating the Game: Based on your guess, the game will give hints such as "Your guess is too high," "Your guess is too low," or "You are close to the number." You can continue guessing until you correctly guess the number or decide to exit the game.
To exit the game during gameplay, press Ctrl + C. Alternatively, you can select option 0 at the beginning to not start the game.
b
To build and run the game, ensure you have a C++ compiler installed on your system. Open the terminal or command prompt, navigate to the directory containing Number_Guess_Game.cpp, and compile the source code using a C++ compiler (e.g., g++). After compilation, execute the generated binary to start playing the game.
Welcome to the Tic-Tac-Toe Game repository! This project is a classic implementation of the popular board game Tic-Tac-Toe, designed to engage players in a strategic battle of Xs and Os. The game is built using C++, offering a simple yet challenging experience for all ages.
- A 3x3 grid for the game board.
- Players take turns placing their mark (X or O).
- Check for win conditions after each move.
- Detect a draw situation when no more moves are available.
- Switch between players automatically.
- Start the Game: Run the
Tic_Tack_Toe_Game.cppexecutable. This will initiate the game and display the welcome screen. - Player Turn: Each player takes turns entering their move by inputting the row and column where they wish to place their mark (X or O).
- Winning and Losing: The game checks for a win condition after each move. If a player has three of their marks in a row, column, or diagonal, they win the game. In case of a draw, the game ends in a tie.
- Replaying the Game: After the game concludes, the player is given the option to replay the game.
To build and run the game, ensure you have a C++ compiler installed on your system. Follow these steps:
- Clone the repository to your local machine.
- Navigate to the directory containing
Tic_Tack_Toe_Game.cpp. - Compile the source code using a C++ compiler (e.g., g++). For example:
g++ Tic_Tack_Toe_Game.cpp -o TicTacToeGame - Execute the compiled binary to start playing the game:
.\Tic_Tack_Toe_Game.exe
This application is a simple yet effective tool for managing tasks. It allows users to create, view, mark as completed, and remove tasks from a list. Developed using C++, this application provides a straightforward console based interface for organizing daily tasks efficiently.
- Add Task: Users can add new tasks to the list by entering a description of what needs to be done.
- View Tasks: Displays all current tasks along with their completion status.
- Mark Task as Completed: Allows users to mark specific tasks as completed directly from the list.
- Remove Task: Enables the removal of tasks from the list.
- User-Friendly Interface: Provides a clear console based menu for easy navigation through the application's features.
- Start the Application: Run the
To_Do_List.cppexecutable. This will launch the application and display the initial menu. - Select an Action: From the menu, choose one of the following options:
- Enter
1to add a new task. - Enter
2to view the current list of tasks. - Enter
3to mark a task as completed. - Enter
4to remove a task from the list. - Enter
5to exit the application.
- Enter
- Perform Actions: Depending on the selected action, you will be prompted to enter additional information or confirmations as needed.
To exit the application at any time, simply select option 5 from the main menu.
To build and run the application, ensure you have a C++ compiler installed on your system. Follow these steps:
- Navigate to the directory containing
To_Do_List.cpp. - Compile the source code using a C++ compiler (e.g., g++).
- After compilation, execute the generated binary
To_Do_List.exeto start using application.