Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18Ardennes] Fix error on bankruptcy #11204

Merged
merged 1 commit into from
Oct 6, 2024
Merged

Conversation

ollybh
Copy link
Collaborator

@ollybh ollybh commented Sep 10, 2024

Implementation Notes

An extra parameter had been added to the G18Ardennes implementation of the Game.declare_bankrupt method, which was causing an error when the superclass method was called.

This commit renames the 18Ardennes method to bankrupt! which calls declare_bankrupt with the correct number of parameters.

Fixes #11203.

Before clicking "Create"

  • Branch is derived from the latest master
  • Add the pins or archive_alpha_games label if this change will break existing games
  • Code passes linter with docker compose exec rack rubocop -a
  • Tests pass cleanly with docker compose exec rack rake

An extra parameter had been added to the G18Ardennes implementation of
the `Game.declare_bankrupt` method, which was causing an error when the
superclass method was called.

This commit renames the 18Ardennes method to `bankrupt!` which calls
`declare_bankrupt` with the correct number of parameters.

Fixes tobymao#11203.
@ollybh ollybh merged commit 986e75f into tobymao:master Oct 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[18Ardennes] stuck at declaring bankruptcy
2 participants