Ad
  • Custom User Avatar

    Hi IceGlance, thanks for your compliment! You described exactly what the purpose is of having 2 kata's: the 4x4 can be solved brute force while that approach might not work on the 6x6 because of the exponential amount of possibilities.

  • Custom User Avatar

    I posted this comment before but will post again: while easy kata's that are not interesting or original are approved all the time easily, some hard and cool kata's are Beta for years. Maybe this can be improved. I have a quite hard and cool kata that has never been approved, can please somebody do?

    Kata: https://www.codewars.com/kata/5879336c92074d45c500016c

  • Custom User Avatar

    Thanks, and well done that you solved this one! The difference between 4x4 and 6x6 is that 4x4 can be solved by just brute force. For 6x6 you need to apply at least some rules first to limit the number of solutions because you do not get enough processor time to perform a brute force. In my own experience: for my first solutions I needed tons of code, but when I tried again in js I found a solving strategy which made it all of a sudden a little more easy than a 1 kyu... :)

  • Custom User Avatar

    Hi, can somebody please approve my Seat Allocation Kata?

    It is a kind of hard but cool kata and in beta for years. It is solved by 8 people and nobody came up with a flaw in this kata.

    Thanks in advance! :)

    This is the link: https://www.codewars.com/kata/5879336c92074d45c500016c

  • Custom User Avatar

    Well done! :)

  • Custom User Avatar
  • Custom User Avatar

    Hi hyperclick,

    Thanks for your compliments and suggestions. It is too bad that the kata exists already a long time. Too late for changes because it will make already passed to be re-evaluated and fail... But will remember them if I create new kata's.

    Cheers,

    Frank

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Maybe you consider yourself smart but many people noticed and mentioned already. It is because I find poker not interesting at all. The tests though do server their purpose perfectly! Maybe your response is bogus! ;)

  • Custom User Avatar

    Hi Pureshad!

    I ran all tests today and they all work fine. I think it must be possible for you to get your tests working too...

    Cheers,

    Frank

  • Custom User Avatar

    Hi Xenophis, thanks for spending your time on this kata. I hope it will be a learnfull experience.

    If you have your shape classes implemented (all with the correct area calculations) the aim is to implement a customized 'sort' on your classes by overriding the standard 'sort'. Example of 'sort' in C#: myShapeCollection.Sort(). In Java: Collections.sort(myShapeCollection).

    Your customized 'sort' should be on area size. You can find on the internet how to override the default sort method on a collection in the language of preferrence.

  • Custom User Avatar

    Hi mdervel, thanks! This is indeed a situation that cannot exist in a standard game with one deck. It is only used as a hypothetic test situation. Cheers! Frank.

  • Custom User Avatar

    Hi, second highest card is decisive in this case: KD vs QH. Cheers! Frank

  • Custom User Avatar

    I agree fully! Thanks for your nice F# translation :)

  • Custom User Avatar

    Hi gullymiles! Thanks for your effort, very nice to watch a F# solution... :D

  • Loading more items...