Goose Game ai Driven prompt
Ok, shall we now refactor the `fun movePlayer(name: String)` to accept a `Player` instance instead of a string?
---
We should keep the check about the player being added to the game, right?
E.g. what happens if I try to move a player that is not part of the game?
---
Ok, I changed the tests to accommodate the change in the `movePlayer` method. All tests are green now.when to use it
Community prompt sourced from the open-source GitHub repo xpepper/goose-game-ai-driven (no explicit license). A "Goose Game ai Driven prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
xpepper/goose-game-ai-driven · no explicit license
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions