JSRobot

Games

coding puzzle game

SHOW HN2017

79points
34comments
#561of 2,242 in 2017
Top 26%of 2017 by points

How HN took it

RoastedHalf or more of the comments are critical

2 positive, 1 neutral or asking, 1 mixed, 13 critical, out of 17 comments about the project. Thread score -0.50.

Design: 0 for, 8 againstExecution: 0 for, 4 againstIdea: 2 for, 0 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Good resource for learning JavaScript and better than Codecademy

    From 2 comments
    • This game is simply amazing. Better interactive tutorial for beginner than Codecademy.
      allenleein on HN
    • Great resource for learning Javascript. Good work!
      raresp on HN
  • Nice idea and well executed

    From 1 comment
    • It's a nice idea and really well executed but the second test just demonstrates to me how JS is not an ideal language for a beginner to learn as you're thrown straight into async…
      bjpirt on HN

Objections

  • Learning curve too steep for beginners, especially level two

    From 3 comments
    • It's an interesting game, but I was immediately put off by level two, which sinks you into the limitations of the robot API by making you introduce a counter that needs checking.…
      Confiks on HN
    • On the right track, but waaaay to steep a learning curve for an absolute beginner, assuming that is the target audience. In-line incrementation and Mod operations on level 2 is a…
      SeanDav on HN
    • It's a nice idea and really well executed but the second test just demonstrates to me how JS is not an ideal language for a beginner to learn as you're thrown straight into async…
      bjpirt on HN
  • Code is lost when restarting a level or the page

    From 2 comments
    • A neat concept but frustrating when restarting the page loses any code in the script window.
      ahmeni on HN
    • :/ Fun idea, but I wrote a chunk of code for the third level, bumped the electro thing, died, clicked the restart button and it wiped my script. I should know better than to…
      adbachman on HN
  • Only one action per loop tick; later calls overwrite earlier ones

    From 3 comments
    • I don't understand. Are you referring to Level 2? What's going on there is just that the robot can only enqueue a single action for the tick. So calling multiple actions will…
      always_good on HN
    • I think it's just a case of leaky abstraction. I'd change the API to something like: ``` robot.action = { action: 'jump' }; robot.action = { action: 'move', amount: 4 }; etc. ```…
      kaoD on HN
    • Another idea is to return a map of actions. ``` { jump: true, move: 4, shoot: true } ``` Making the user increment a nonce and use the remainder operator just to do multiple…
      always_good on HN

Requests

  • Keep the script when restarting or reloading

    From 2 comments
    • A neat concept but frustrating when restarting the page loses any code in the script window.
      ahmeni on HN
    • :/ Fun idea, but I wrote a chunk of code for the third level, bumped the electro thing, died, clicked the restart button and it wiped my script. I should know better than to…
      adbachman on HN
  • Show variable state during execution via a debug view

    From 1 comment
    • Or the action could be the return value. IMHO, trying to guess the physical model by experimentation is painful. Why not propose a debug button to display the state of variables…
      reacweb on HN

Questions

  • Whether multiple actions per loop are intended behaviour

    From 3 comments
    • That's not right. You can put more than one action in the loop. This slowly completes the level: ``` function loop(robot){ // your code here robot.move(1) robot.jump() } ```
      IanCal on HN
    • It shouldn't according to its own instructions. I bet jump() has something like `if (robot.touchingFloor) { action = 'jump'; }` which makes your code work because it doesn't…
      kaoD on HN
    • Ah I stand corrected, thanks. So I guess it's performing the last valid action.
      IanCal on HN

Alternatives named

  • Blockly Games

    From 1 comment
    • If I remember correctly, Google's Blockly Games used to allow JavaScript on more than just the last "level". It definitely starts at a much earlier point in the learning process.…
      j_s on HN
  • Karel the Robot

    From 1 comment
    • Reminds me of a course I had to take freshman year in college called Karel the Robot[1]. It had a Basic like programming language. It mostly existed to try to quickly bring up to…
      throwaway2016a on HN
  • CodeCombat

    From 1 comment
    • Another example in Action/RPG format https://codecombat.com
      xori on HN
  • Codecademy

    From 1 comment
    • This game is simply amazing. Better interactive tutorial for beginner than Codecademy.
      allenleein on HN
  • Code.org Hour of Code

    From 1 comment
    • If I remember correctly, Google's Blockly Games used to allow JavaScript on more than just the last "level". It definitely starts at a much earlier point in the learning process.…
      j_s on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/15529963)