• This week's missions: Fizz Buzz, Cut Sentence and Find Enemy

Hello CheckiO users! 🙂

💪 Challenge yourself with our latest missions:

The first one is called Fizz Buzz where you have to write a function which returns a particular answer when fulfilling specified conditions.

fizzBuzz(15) == "Fizz Buzz"
fizzBuzz(6) == "Fizz"
fizzBuzz(5) == "Buzz"
fizzBuzz(7) == "7"

The second mission is Cut Sentence and here you need to truncate a sentence to a length corresponding to the given number of characters.

cutSentence("Hi my name is Alex", 4) == "Hi..."
cutSentence("Hi my name is Alex", 8) == "Hi my..."
cutSentence("Hi my name is Alex", 18) == "Hi my name is Alex"
cutSentence("Hi my name is Alex", 20) == "Hi my name is Alex"

The third is the Find Enemy mission where your task is to find the distance and directions to an enemy in a HEX-grid.

findEnemy('B2', 'S', 'B4') == ['F', 2]

    💡 Highlights from the JS world:
  • Find out how using ESLint - a very popular Javascript linter with various applications (mainly error prevention and consistent formatting) - to improve your app’s performance. It's adds great value, so you have to know more!
  • Have you considered creating your own tools? Check out an amazing story of Afonso Pacifer on how he became a senior JavaScript developer with personal projects: the challenges, going deep in front-end development, exploring new things and other stuff. It's pretty interesting!
  • The next iteration version of the TypeScript Website has launched! See what changed, how the site navigation issues have been addressed, accessibility, the improvement of documentation for the collection of over 100 compiler flags, and other things. The site is amazing!

The users who’ve made the TOP 3 this month are lolucky, suic, and Sim0000.  You are doing great, guys! Keep on coding! 👏🏼

Become Awesome

  • No Ads
  • No Limits
  • More Content

Welcome to CheckiO - games for coders where you can improve your codings skills.

The main idea behind these games is to give you the opportunity to learn by exchanging experience with the rest of the community. Every day we are trying to find interesting solutions for you to help you become a better coder.

Join the Game