JSRobot: Javascript learning game in the browser

The lovingly designed Jump ‘n’ Run JSRobot shows you playful Javascript.  How this works, you’ll learn in our game tip.

JSRobot: Javascript learning game in the browser

2D platformers are classics of the video game genre. The browser game JSRobot combines the concept that also made Mario successful with learning game elements. The goal: to transport a small blue robot to the respective level output. But instead of controlling the robot directly, you have to give commands with the help of Javascript.

JSRobot: screenshots of the javascript learning game


Below the actual level, JSRobot displays four tabs. The first is for explanation and gives you helpful hints to master the level and thus the basics of Javascript.

In the second tab you can then write your actual scripts, which ideally lead to the robot reaching the end of the level. You will see that it starts with some functions and expects you to write down your code. For example, if you want to make your robot to move write this line on loop function

[cc lang=”javascript”]robot.action = {type: ‘move’, amount: 40};[/cc]

In the third tab you can also enter and execute individual commands. Finally, there is also a Properties tab in which the health of the character but also all available methods are listed.

Fun game for Javascript beginners

JSRobot is a fun way to get started with Javascript. For advanced players, however, the game offers no real challenge, especially since there are not too many levels. More interesting is a look at the source code of the game , which the developer Reaal Khalil published on Github.

You can see more learning games by follow this link

Recent Articles

Frontend Tools 2019 survey: jQuery Threatened

Frontend Tools 2019 survey showed that React is voted the most important as well as the most widely used JavaScript tool. For the first...

PHP 8.0: Vote on Union Types ended

PHP 8.0 is scheduled for 2020. Recently, the PHP development team in PHP Internals voted on Union Types as a new feature for PHP....

Angular 9 Next versions: Bazel Schematics switched to Ivy

With Angular 9 next versions, the upcoming major version of the JavaScript framework has again received a number of feature updates, notably the innovations...

HP enters strategic partnership with ExpressVPN to increase security offerings on consumer laptops

In light of the recent challenges faced by the cryptocurrency space and the technological sphere at large, security has become a serious issue among...

Node.js 12.12: New flag for easier electron integration

Node.js 12.12 is here to bring a new flag to help work with embedders like Electron. In addition, source maps are now available for...

Related Stories

1 Comment

Leave A Reply

Please enter your comment!
Please enter your name here