Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
marked as resolved
"If there is bread winners, there is bread losers. But you can't toast what isn't real."
hahaha nice kata
hi sandro i dont know c++ so maybe this will help you maybe not... the description was written for python and i guess some of the definitions arent explained for c++ very well. the input in c++ would be a monster type tuple such as "typedef tuple<string, int, int, int> MonsterGroup;" where the variables are the type, hitpoints, number, and damage respectively. calling "get<1>([MONSTER])" would then return the hitpoints.
hope this helped
well my neck is sore now... but that was fun! nice kata :)
approved :)
cool thanks mate. i'll have to take your word for it that it works. looks hella complicated to me
This comment is hidden because it contains spoiler information about the solution
ok reviewed and approved! thanks mate. now that i have seen your solution java doesnt look that bad... but i think i will finish learning python first :)
ah cool thanks mate looks good
should be ok... i have left the monster pairs as lists in order to loop through the pairs when testing. when they are passed to the function it then splits them up
hey FF i made another HOMM2 inspired kata, partly inspired by yours. https://www.codewars.com/kata/heroes-of-might-and-magic-ii-one-on-one/
also FYI i was always more of a HOMM3 fan :)
oh and i may have invalidated your solution... still better to sort out the kata now before more people have submitted solutions
ok as far as i can tell it should support all python versions now. let me know if not. still trying to work out this "make your own kata" tool
i figured having one thing as input was tidier but guess it does make more sense with two dictionaries. changed now
yeah you're right, ok let me see what I can do
Loading more items...