Make the titles consistent
This commit is contained in:
parent
770e7b5e76
commit
4e04a12d02
12 changed files with 14 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
# 131. Functions and Parameter Passing
|
# Exercise: Create an isWall function
|
||||||
|
|
||||||
In this exercise we will write some helper functions for the game board.
|
In this exercise we will write some helper functions for the game board.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Compilation, Linking and Assets
|
# Exercise: Add files to the build
|
||||||
|
|
||||||
In this exercise we will add a couple of files to the project.
|
In this exercise we will add a couple of files to the project.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# 150. Unit tests
|
# Exercise: Create and run a unit test
|
||||||
|
|
||||||
## Board Unit Tests
|
## Board Unit Tests
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Memory and RAII
|
# Exercise: std::unique_ptr<PacMan>
|
||||||
|
|
||||||
(corentin: maybe something about } that destroys things)
|
(corentin: maybe something about } that destroys things)
|
||||||
We are going to play with using std::unique_ptr as we discussed in the slides. Since we will be reverting these changes
|
We are going to play with using std::unique_ptr as we discussed in the slides. Since we will be reverting these changes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
# Exercise: Simple class
|
||||||
|
|
||||||
4. Create an empty class named `Clyde` within the `.hpp` file. Look at other ghost `.hpp` files and see how they define
|
4. Create an empty class named `Clyde` within the `.hpp` file. Look at other ghost `.hpp` files and see how they define
|
||||||
the class. It does not need to inherit from the `Ghost` base class and it does not need any functions. But if you
|
the class. It does not need to inherit from the `Ghost` base class and it does not need any functions. But if you
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Classes and Structs
|
# Exercise: Refactor out GhostState from GameState
|
||||||
|
|
||||||
In this exercise we will create a class that abstracts away common functionality.
|
In this exercise we will create a class that abstracts away common functionality.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# std::array and ranged for
|
# Exercise: Create isIntersection function
|
||||||
|
|
||||||
waage: Maybe the "isIntersection" for the AI. Create an array of GridPosition and array of bool and loop through to
|
waage: Maybe the "isIntersection" for the AI. Create an array of GridPosition and array of bool and loop through to
|
||||||
check "isWalkableForPacMan" and then return the different kinds of intersections (top/right, right/bottom, bottom/left,
|
check "isWalkableForPacMan" and then return the different kinds of intersections (top/right, right/bottom, bottom/left,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Iterators and algorithms
|
# Exercise: Use algorithms
|
||||||
|
|
||||||
Use algorithms in Pellet and SuperPellet
|
Use algorithms in Pellet and SuperPellet
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Lambdas
|
# Exercise: Lambdas
|
||||||
|
|
||||||
Find a small function and turn it into a lambda.
|
Find a small function and turn it into a lambda.
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
# Blue Pellet?
|
# Exercise: Blue Pellet
|
||||||
|
|
||||||
A pellet that makes the ghosts stop
|
A pellet that makes the ghosts stop
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
|
# Exercise: Read and Write High Score to a file
|
||||||
|
|
||||||
(std::filesystem)
|
(std::filesystem)
|
|
@ -1,3 +1,3 @@
|
||||||
# Hitbox collision
|
# Exercise: Hitbox collision
|
||||||
|
|
||||||
AABB
|
AABB
|
||||||
|
|
Loading…
Reference in a new issue