tresinformal / drakkar

The tresinformal video game called 'Drakkar'
GNU General Public License v3.0
11 stars 4 forks source link

Fixed Issue #628 #654

Closed ollyturner closed 1 year ago

ollyturner commented 1 year ago

We use mt19937 to create a (pseudo!) random number. We use time as a seed where possible. We follow naming suggestions from @TheoPannetier Some old stuff, we don't fully understand. This is from May!

codecov-commenter commented 1 year ago

Codecov Report

Merging #654 (ffcd0ac) into develop (932d2f3) will increase coverage by 0.03%. The diff coverage is 92.85%.

@@             Coverage Diff             @@
##           develop     #654      +/-   ##
===========================================
+ Coverage    87.81%   87.84%   +0.03%     
===========================================
  Files           50       50              
  Lines         2290     2329      +39     
  Branches       172      172              
===========================================
+ Hits          2011     2046      +35     
- Misses         279      283       +4     
Impacted Files Coverage Δ
coordinate.h 100.00% <ø> (ø)
game_options.h 100.00% <ø> (ø)
player.h 100.00% <ø> (ø)
food_state.cpp 85.71% <84.61%> (-14.29%) :arrow_down:
game_options.cpp 96.72% <89.47%> (-3.28%) :arrow_down:
color.cpp 97.89% <100.00%> (+0.52%) :arrow_up:
coordinate.cpp 100.00% <100.00%> (ø)

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