• 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 (69)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • saudiGuy
    • commented on "Simple elevator" kata
    • 2 years ago

    python too.

  • 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
    • Shadowmaster459
    • commented on "Simple elevator" kata
    • 2 years ago

    Sorry to ask, but what is the reason for the 2+ in 'test.assert_equals(2+goto(2,'2'),2);'.
    Could someone please explain it?

  • Custom User Avatar
    • o6ris
    • commented on "Simple elevator" kata
    • 3 years ago

    Tricky one

  • 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
    • user4896126
    • commented on "Simple elevator" kata
    • 4 years ago

    nasty kata!

  • 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
    • private_duck
    • commented on "Simple elevator" kata
    • 6 years ago

    thanks for The log appears above the test result

  • Custom User Avatar
    • Chrono79
    • resolved an issue on "Simple elevator" kata
    • 6 years ago

    If it says instead got: 1, your function returned 1. The log appears above the test result, so maybe you're confusing the input of one tests with the result of another:

    JavaScript Completions 1460

    The tests are ok.

  • Custom User Avatar
    • private_duck
    • created an issue for "Simple elevator" kata
    • 6 years ago

    What's wrong with a test with input 1.5 '3' (JS)?

    Expected: 0, instead got: 1
    Log
    1.5 '3' <-- input
    0 <-- output of my function
    
  • Custom User Avatar
    • stiofán28
    • commented on "Simple elevator" kata
    • 7 years ago

    Ah, I see, the description is quite confusing to be honest. I understood the output to be the floor moved to, but it is actually the difference and direction traversed between levels.

  • Custom User Avatar
    • FArekkusu
    • commented on "Simple elevator" kata
    • 7 years ago

    If you travel down, you subtract button from level. So a test of goto(1, "0") == -1.

  • Custom User Avatar
    • stiofán28
    • commented on "Simple elevator" kata
    • 7 years ago

    Why does one test say "0 should be -1" ?? I thought the levels begin on level 0?

  • Custom User Avatar
    • Chrono79
    • commented on "Simple elevator" kata
    • 7 years ago

    Read the instructions again (I've modified them).

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...