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

Best Programming Languages for Blockchain

Which are these the best programming languages for blockchain? Developers are presently utilizing prevalent programming languages like C++ and Java to manufacture custom blockchain...

Social VR world: Facebook Horizon should start in 2020

Facebook has announced with Horizon a new social VR world. This should allow users to create their own virtual reality worlds. The stop, however,...

Angular 9 Next Versions: Ivy, Bazel and more

Angular 9 next versions are here. Besides updates to Ivy, the update includes three features for the Language Service and Service Worker and changes...

Google Releases Dart 2.5: Code Completion through Machine Learning

The latest version of Googles C-Alternative, Go 1.13, is barely released, as the JavaScript derivative of the Internet giant follows: Dart 2.5 is here!...

Laravel 6.0 is here: Support for Serverless Platform Laravel Vapor

A new update is available for the framework Laravel. Laravel 6.0 is compatible with Laravel Vapor, a serverless deployment platform. The development team has...

Related Stories

1 Comment

Leave A Reply

Please enter your comment!
Please enter your name here