This 3-week program is designed to help develop C++ skills with a focus on game development. Each day includes a practical exercise to enhance knowledge, starting from the basics and progressing to simple game creation.
- Exercise: Create a simple calculator that performs basic operations (addition, subtraction, multiplication, division).
- Objective: Master basic arithmetic operations.
- Exercise: Convert Celsius to Fahrenheit and vice versa.
- Objective: Handle mathematical expressions.
- Exercise: Create a program that generates a random number between 1 and 100.
- Objective: Introduction to loops and conditions.
- Exercise: Calculate the distance between two points (x1, y1) and (x2, y2) in 2D.
- Objective: Apply the Pythagorean theorem.
- Exercise: Simulate a character moving along the X-axis.
- Objective: Work with coordinates and movement.
- Exercise: Calculate a player's score based on their actions.
- Objective: Use conditional structures.
- Exercise: Improve and extend the code from previous exercises.
- Exercise: Create a
Characterclass with basic attributes and methods. - Objective: Learn the basics of OOP.
- Exercise: Simulate a battle between two characters.
- Objective: Work with objects and methods.
- Exercise: Add an inventory to the
Characterclass. - Objective: Manipulate arrays and lists.
- Exercise: Create an
Enemyclass derived fromCharacter. - Objective: Introduction to inheritance.
- Exercise: Enhance the
Characterclass for 2D movement. - Objective: Work on 2D movement.
- Exercise: Add 2D collision detection.
- Objective: Understand game physics.
- Exercise: Improve and extend previous exercises.
- Exercise: Create a text-based simulation of Pong.
- Objective: Combine loops, conditions, and OOP.
- Exercise: Generate a text-based maze and allow the character to move through it.
- Objective: Work with 2D arrays.
- Exercise: Implement a dialogue system with choices.
- Objective: Manipulate strings and choices.
- Exercise: Create a
Questclass and integrate it with theCharacter. - Objective: Manage class interactions.
- Exercise: Add functionality to save the game state.
- Objective: Work with file handling in C++.
- Exercise: Implement a basic AI for the enemy.
- Objective: Introduction to decision-making AI.
- Exercise: Create a simple text-based game.
- Objective: Integrate all learned concepts.