Ad
  • Custom User Avatar

    .

  • Custom User Avatar
    [ '3','K','5','A','5','6','7','J','7','9','10','Q','Q','6','8','7','4','J','8','9','K','J','10','4', 'K','4' ]
    [ '2','8','9','Q','A','K','6','3','J','2', '4','3','3','8',    'A','2','6','7','9','10','A','5','Q','10','2','5' ]
                                                              ^                     ^
                                                         T-8 and F-8           F-9 and T-9
    
  • Custom User Avatar

    ..

  • Custom User Avatar

    @vatsan just saw your solution I wanted my solution to be like yours but don't know how I end up writing this..
    and also why the hell I m using mk = True when i could have just use continue..instead.... lol xD thanks anyways...

  • Custom User Avatar

    yeah thanx @vatsan

  • Custom User Avatar

    --delete--ignore

  • Custom User Avatar

    1st guy to put card in middle is Flash then turtle will put card in middle if it matches with flash card whoever says snap first wins( its always going to be flash) and all the card in middle will be given to flash (appended in flash pile hence now middle has been reset ie no card in middle) if flash and turtle card does'nt matches then flash is going to put card on top of last card in middle if it still doesn't matches turtle will put the card..nd so on..

  • Custom User Avatar

    I can't see any snap here, but it expects 2. How come?
    Test.assertEquals(snap([ '3','K','5','A','5','6','7','J','7','9','10','Q','Q','6','8','7','4','J','8','9','K','J','10','4','K','4' ],
    [ '2','8','9','Q','A','K','6','3','J','2','4','3','3','8','A','2','6','7','9','10','A','5','Q','10','2','5' ]),2)

  • Custom User Avatar

    @fatherJS .. Well

    • Thanks Piotr for pointing out :relaxed:
    • Once a kata published , it's in Beta Phase when you can raise an issue concerning lack of test or random cases or contradicted description points, But suggestions are labeled when you have an ideation that make it easier to understand the description or posting kata's translations in other languages , these could be posted in the discourse section like here :point_up: :point_up:
    • But you can contibute in a kata in a different way while its in Beta Process or Phase :wink: , Once you hit 6000 Points of honor , then you have the ability to modify other's kata's on your own :wink: , also Approving Other's katas is available on that level :wink: :+1:
    • Hope that Helps Piotr :relaxed: :blush:
    • Happy to follow you Bro :relaxed: :wink: .. also there is a Section , Where you can post your question under the right label :wink: .. Wish you all the best Piotr On/Off CW :relaxed: .. Regards .. Zizou
  • Custom User Avatar

    Hi, can anyone tell me how to contribute to the kata, e.g.: correct translations or misspellings?

  • Custom User Avatar

    That or he gets paid by lines of code.

    I specially like the break after the return true line... xD

  • Custom User Avatar

    Is this a joke ;-)?

  • Custom User Avatar

    What does span as argument mean? Please give me an example...