/dev Generate an ASCII fishing game, include feature:
- cast_line
- catch_fish
- display_game
add a catch_shark method. When player caught a shark, minus 1 score. Generate test file first.
Generate a test case that player’s score cannot go below 0
Generate a integration test of retriving highest scroe from dynamoDB with moto lib
write me a test case only, without touching source code, test on cathing an invalid fish, e.g. bass
Now generate the source code for me on test_catch_invalid_fish test case
Install Prompt
Add this prompt to your Amazon Q CLI prompt library:
1. Download to local prompt library:
mkdir -p .amazonq/cli-prompts && curl -o .amazonq/cli-prompts/tdd-fishing-game-prompt.md https://promptz.dev/prompts/testing/tdd-fishing-game-prompt/2. Use with Q CLI:
q prompts use tdd-fishing-game-prompt