Go to file
Jake 938d5790ae line sensors now drawn correctly and work with matter.js physics system 2025-03-29 23:10:25 +08:00
game.js line sensors now drawn correctly and work with matter.js physics system 2025-03-29 23:10:25 +08:00
gameworld.js line sensors now drawn correctly and work with matter.js physics system 2025-03-29 23:10:25 +08:00
index.html implementing matter.js, added obstacles and tank, need to convert to rigidbody driven rather than just moving pixels for movement 2025-03-27 18:58:27 +08:00
old.html implemented output to page console, and updates DOM after every line of code to prevent long waits 2025-03-23 17:02:14 +08:00
pyodide-worker.js added Robot class, robot module can send move and turn commands to player robot, no connection to AI robots yet 2025-03-24 12:25:55 +08:00
readme.md added pause and reset buttons 2025-03-27 11:00:57 +08:00
robot.js line sensors now drawn correctly and work with matter.js physics system 2025-03-29 23:10:25 +08:00
sensor.js line sensors now drawn correctly and work with matter.js physics system 2025-03-29 23:10:25 +08:00
todo.md implementing matter.js, added obstacles and tank, need to convert to rigidbody driven rather than just moving pixels for movement 2025-03-27 18:58:27 +08:00

readme.md

import robot import time

robot.move(0.5) await time.sleep(1) while True: robot.turn(5) await time.sleep(0.1)