exercism/python/ghost-gobble-arcade-game/HINTS.md

26 lines
1 KiB
Markdown
Raw Permalink Normal View History

# Hints
## General
- For an overview, this section of the Python documentation: [Truth Value Testing][stdlib-bools] might help.
- Don't worry about how the arguments are _derived_, focus on combining the arguments to return the intended result.
## 1. Define if Pac-Man can eat a ghost
- You can use the [Boolean][boolean] [operators][Boolean-operators] to combine arguments for a result.
## 2. Define if Pac-Man scores
- You can use the [Boolean][boolean] [operators][Boolean-operators] to combine arguments for a result.
## 3. Define if Pac-Man loses
- You can use the [boolean][Boolean] [operators][Boolean-operators] to combine arguments for a result.
## 4. Define if Pac-Man wins
- You can use the [Boolean][boolean] [operators][Boolean-operators] to combine arguments for a result.
[Boolean-operators]: https://docs.python.org/3/library/stdtypes.html#boolean-operations-and-or-not
[boolean]: https://docs.python.org/3/library/stdtypes.html#truth
[stdlib-bools]: https://docs.python.org/3/library/stdtypes.html#truth-value-testing