olistic / warriorjs

🏰 An exciting game of programming and Artificial Intelligence
https://warriorjs.com
MIT License
9.41k stars 488 forks source link

Add maxHealth ability #238

Closed jseed closed 5 years ago

jseed commented 5 years ago

Added to towers baby-steps and tick-tick-boom.

Closes #237.

codecov-io commented 5 years ago

Codecov Report

Merging #238 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #238      +/-   ##
==========================================
+ Coverage   92.65%   92.67%   +0.02%     
==========================================
  Files          92       93       +1     
  Lines        1089     1092       +3     
  Branches      165      165              
==========================================
+ Hits         1009     1012       +3     
  Misses         65       65              
  Partials       15       15
Impacted Files Coverage Δ
packages/warriorjs-abilities/src/maxHealth.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 028975b...be31a53. Read the comment docs.

jseed commented 5 years ago

Added maxHealth ability and included it in existing towers, updating the baby-steps tip to introduce it.

Let me know if I missed anything!

jseed commented 5 years ago

Thanks for the feedback! The code base was a pleasure to work with.

Good catch, I'll push a fix shortly.

olistic commented 5 years ago

Thanks, and welcome to the Contributors!