Thousand Card Game: Additional coverage + README.md update

in utopian-io •  7 years ago  (edited)


Image source: pixabay.com

What is this project about?

This contribution is made to gornanization/1k. If you would like to find more info - I strongly recommend reading this post first.

PR:

https://github.com/gornanization/1k/pull/36 (README.md updated)
https://github.com/gornanization/1k/pull/35 (Additional coverage)

Details:

Three unit tests have been added. We have now lacking coverage for:

  • declaring bomb action,
  • calculating battle points action, and
  • increasing bid value (more about increasing bid value here).

Thanks to it, coverage increased (+0.8%) to 98.52% (!). What's more, two unused helper functions have been removed: haveCardsEqualColor and toString.

Also, I have updated README.md, so it's easier to get started for now:

https://github.com/gornanization/1k/blob/master/README.md

If you are interested in, please read it and give me feedback. I would love to know whether such instruction is clear for new people who are not entirely familiar with the project!

That's it! See you soon!

Recent articles:

Thousand Card Game: How about increasing bid value?
Thousand Card Game: Publishing NPM Package!
Thousand Card Game: Is The Game Finished?



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Your contribution cannot be approved yet. See the Utopian Rules. Please edit your contribution to reapply for approval.

  • Please cite source for the used image.

You may edit your post here, as shown below:

You can contact us on Discord.
[utopian-moderator]

Updated!

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @adasq I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x