4 ms·
Show HN: Scara.io- a 2D robot programming game that you can play in the browser
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 https://game.scara.io
API/docs: https://scara.io/book/index.html https://scara.io/book/index.html
twitter: https://twitter.com/ScaraRobot https://twitter.com/ScaraRobot
discord: https://discord.com/invite/KUjESMHqW7 https://discord.com/invite/KUjESMHqW7
Please let me know what you think.
- moasda 3y agoCongratulations on this great online game! I enjoyed testing some levels.
- wirebender 3y agoThanks. Did you finish the api training part?
- schemescape 3y agoI’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 3y agoYes, 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.