This is my peronal website, I'm using Jekyll, I started with the Kiko theme and added my own touches.
reaalkhalil / jsrobot Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://lab.reaal.me/jsrobot/
Home Page: https://lab.reaal.me/jsrobot/
When i use the move function it seems like the robot ignores all the others previous functions! I can't use the gun or jump the way i desire!
Not saying prevent all infinite loops. But for the first level a while(true) loop to move forward to get to the flag should not crash the entire site.
I'd like to suggest something in place that either allows the coder to stop a run, or notices that you hit the flag, or that you havent changed your position in the last (X) moves.
Hey that was good fun - do you have further plans?
There is some potential, but to allow implementing interesting behaviour it needs "environment awareness" (eg. what are the obstacles in front).
Dude, love this game! I'm trying to level up my codez and I've gone through 1-5 with at least two solutions for each, and made sure to get all the coins. Challenging! Love it!
BUT
I am stuck on level 6... for days now ... just a hint. Well, more of a hint than use the gun ...
I made it to the end without dying finally, but with only 4 coins ... and I guess you need them all to win this one? A little more documentation would be huge.
PLEASE. Thank you! :)
Hi, just want to let you know that the deployed version is currently not reachable.
I redeployed it on https://jsrobot.surge.sh/ for anyone interested.
if you go to https://lab.reaal.me/jsrobot/#level=1, then press the restart button the url becomes https://lab.reaal.me/jsrobot/#level=1&code=function init(robot){%0A // your code here%0A}%0A%0Afunction loop(robot){%0A // your code here%0A}%0A
, you shouldnt be taking a string from a query parameter and parsing it into JS that a user can execute but clicking apply
on the script page.
https://lab.reaal.me/jsrobot/#level=1&code=function init(robot){%0A alert('attack')%0A}%0A%0Afunction loop(robot){%0A // your code here%0A}%0A
i could send this to someone and inject JS into their page when they press apply. Yes, it may take a stupid person to not realize this before clicking the apply button, but its better to assume all users are stupid. This should be fixed.
From the script is there a logging method?
On OSX I use Super+Shift+Right Arrow to select a lines contents. Don't change tab when I try that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.