• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
mikrobi Avatar
Name:Unknown
Clan:Unknown
Member Since:Jan 2014
Last Seen:Jun 2015
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored
  • Needs Resolution (8)
  • Custom User Avatar
    • Voile
    • created an issue for "Elevator with call buttons" kata
    • 2 years ago

    Needs random tests.

  • Custom User Avatar
    • Voile
    • created an issue for "Elevator with call buttons" kata
    • 2 years ago

    Kata is stuck in Node 8.

  • Custom User Avatar
    • farhanaditya
    • created a question for "Simple elevator" kata
    • 4 years ago

    What's the reason behind differentiating the data type of each argument?

  • Custom User Avatar
    • B1ts
    • created an issue for "Simple elevator" kata
    • 5 years ago

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

  • Custom User Avatar
    • Derk Vannez
    • created a suggestion for "Simple elevator" kata
    • 7 years ago

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

  • Custom User Avatar
    • IVBakker
    • created an issue for "Elevator with call buttons" kata
    • 10 years ago

    Invalid test cases:

    //Test case 2
    //Elevator on 1st, someone in it, no move
    Test.assertEquals(1+goto(1,'C3',true),1);
    

    Should be:

    //Test case 2
    //Elevator on 1st, someone in it, no move
    Test.assertEquals(goto(1,'C3',false),0);
    
  • Custom User Avatar
    • stretter
    • created a question for "Simple elevator" kata
    • 11 years ago

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

  • Custom User Avatar
    • scufa
    • created a suggestion for "Simple elevator" kata
    • 11 years ago

    levels can be only numbers: 0,1,2,3 buttons can be strings: '0','1','2','3'

    You should add this tests:
    goto('2','3') -> 0
    goto(2,3) -> 0
    goto('2',3) -> 0

    And negative numbers tests, both for levels and buttons.

    Thanks.

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...