exercism.org/lua/pacman-rules/HINTS.md

21 lines
712 B
Markdown
Raw Normal View History

2024-03-24 18:34:11 +01:00
# Hints
## 1. Define if Pac-Man can eat a ghost
* The function must return a boolean value.
* You can use the logical operator `and` to combine the arguments for a result.
## 2. Define if Pac-Man scores
* The function must return a boolean value.
* You can use the boolean operator `or` to combine the arguments for a result.
## 3. Define if Pac-Man loses
* The function must return a boolean value.
* You can use the boolean operators `and` and `not` to combine the arguments for a result.
## 4. Define if Pac-Man wins
* The function must return a boolean value.
* You can use the boolean operators `and` and `not` to combine the arguments and the results of one of the previously implemented functions.