• This week’s missions: Cut Sentence, Speech Module and Life Counter


Hi, {{user.username}}

Great news! We’ve significantly improved website’s speed performance and fixed some bugs. Enjoy!

Test yourself and have fun with the missions we have for you:

These missions aren’t new but they are included to the Monthly LeaderBoard and Editors Choice Solutions.

The first mission is called “Cut Sentence” and here you should truncate a sentence to a length that does not exceed a 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 second one is the “Speech Module” mission where you have to write a new speech module for the robot.

speechModule(143)=='one hundred forty three'
speechModule(101)=='one hundred one'
speechModule(212)=='two hundred twelve'

And the third is the “Life Counter” where your task is to count how many live cells will be on the grid at the Nth tick.

lifeCounter(((0, 1, 0, 0, 0, 0, 0),
             (0, 0, 1, 0, 0, 0, 0),
             (1, 1, 1, 0, 0, 0, 0),
             (0, 0, 0, 0, 0, 1, 1),
             (0, 0, 0, 0, 0, 1, 1),
             (0, 0, 0, 0, 0, 0, 0),
             (1, 1, 1, 0, 0, 0, 0)), 4) == 15
    Check out some interesting articles we’ve selected for you:
  • Spare just 3 minutes of you time and you won’t regret it. Marco Antonio Ghiani will give you wonderful insight on how to move beyond console.log(). You will find out 8 console methods that you should use when debugging JavaScript and Node. It’s a very useful scope of tools available in the Console API that will increase your development speed.
  • If there’s anything you’d like to know about JavaScript Iterators and Generators, then you need to check this out. You’ll be facing a 4 part series of articles about Synchronous Iterators, Synchronous Generators, Asynchronous Iterators and Asynchronous Generators with great details and clear examples.
  • Hey! How cool is that? Top-level await enables developers to use the await keyword outside of async functions. It acts like a big async function causing other modules who import them to wait before they start evaluating their body. Hurry to find out more!
  • Udemy has a JavaScript course just for you, whether you’re interested in back-end development, or app and website building. Its instructors specialize in teaching the whole scope of JavaScript—beginner to advanced.

The users who’ve made the TOP 3 this month are Manana_Gedevanishvili, juacompe, and Taylor_Page. You are doing great, guys! Keep on coding!

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