Readit News logoReadit News
Posted by u/wirebender 2 years ago
Show HN: Scara.io- a 2D robot programming game that you can play in the browsergame.scara.io...
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.

schemescape · 2 years ago
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.

wirebender · 2 years ago
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.

moasda · 2 years ago
Congratulations on this great online game! I enjoyed testing some levels.
wirebender · 2 years ago
Thanks. Did you finish the api training part?