Hacker News new | ask | show | jobs
Show HN: Scara.io- a 2D robot programming game that you can play in the browser (game.scara.io)
3 points by wirebender 1070 days ago
Scara Robots is a programming game that runs in the browser. Player has to program a robot in Javascript to solve various challenges. There's a built-in code editor with basic code completion and syntax highlighting.

Robot can be programmed to move around and it has a simple robot arm and a gripper which can be programmed to pick and place objects with precision. The unique aspect of the game is that it allows you to control each joint with position and velocity control.

Initial levels are very simple with basic API introduction. But there are some interesting challenges as you move further. There are also levels where you have to pick up a sword and to kill NPCs by controlling robots motion and robot arm/gripper.

Tech Stack: - Rust -> WASM - vanilla JS + HTML - server - actix_web monolyth

Game: https://game.scara.io API/docs: https://scara.io/book/index.html twitter: https://twitter.com/ScaraRobot discord: https://discord.com/invite/KUjESMHqW7

Please let me know what you think.

2 comments

I’ve always wanted to make something like this!

Which code editor are you using? Code Mirror? I know Monaco supports autocomplete using TypeScript definitions. I can share an example, if needed.

Yes, I'm using codemirror. It had everything I needed.

Only issue is it's not as light weight as i wanted in terms of size.

Congratulations on this great online game! I enjoyed testing some levels.
Thanks. Did you finish the api training part?