Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Towards winning the game #723

Merged
merged 3 commits into from
Feb 14, 2023
Merged

Towards winning the game #723

merged 3 commits into from
Feb 14, 2023

Conversation

@codecov-commenter
Copy link

codecov-commenter commented Feb 11, 2023

Codecov Report

Merging #723 (2109879) into develop (c5d48b7) will decrease coverage by 0.08%.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff             @@
##           develop     #723      +/-   ##
===========================================
- Coverage    86.86%   86.79%   -0.08%     
===========================================
  Files           37       37              
  Lines         1652     1643       -9     
  Branches       126      125       -1     
===========================================
- Hits          1435     1426       -9     
  Misses         217      217              
Impacted Files Coverage Δ
src/game.cpp 96.75% <ø> (-0.08%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@richelbilderbeek richelbilderbeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simply put: a good job, with an elegant win condition 👍!

}

// A game is over when the time limit is reached
// (682) A game is over when the time limit is reached
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful simplification!

@@ -1234,6 +1224,45 @@ void test_game() //!OCLINT tests may be many
assert(players == v_player);
}

#ifdef FIX_ISSUE_721
// (721) The largest player wins the game
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elegant win condition!

@richelbilderbeek richelbilderbeek merged commit 4f5d61b into develop Feb 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants