exercism.org/lua/pacman-rules/HINTS.md
2024-03-24 18:37:22 +01:00

21 lines
No EOL
712 B
Markdown

# 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.