Commit Graph

11 Commits (ba1adee770c39ff9072331e0a70175b2b477211f)

Author SHA1 Message Date
Jake 092963c511 added content for 3rd robot lesson 2025-07-06 18:44:13 +08:00
Jake 3551ec747d added second robot lesson and changing levels. Need to check win conditions on all checkpoints reached, current error leaves level incomplete if checkpoint is reached after code finishes 2025-07-04 18:21:15 +08:00
Jake 8a0219500d added objectives to first robot lesson, locked compile button while executing, game world resets on compile & run 2025-07-04 15:50:06 +08:00
Jake 9b702b6ff1 added dropdown for lessons, and added first robot lesson to second dropdown 2025-07-03 23:25:13 +08:00
Jake 9bbc8592e0 added up to lesson 8:loops. checkLessonDone() now done on code execution compelte only 2025-06-24 23:34:05 +08:00
Jake 6051be2f61 robot sensor values now available in simulation, line sensors return distance, await is automatically inserted before sleep commands 2025-03-30 21:31:04 +08:00
Jake 39cac21741 reimplemented sensor data pushes, need to update to new sensor paradigm. Added 30fps frame lock 2025-03-30 00:02:46 +08:00
Jake 58e65b2967 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
Jake 2bfdcf1957 implemented time.sleep monkey-patch. still need to use await before it so might just recommend use of asyncio.sleep 2025-03-24 11:16:51 +08:00
Jake b9bf772aef added robot module to python environment which provides access to sensor data fed from game state 2025-03-24 10:42:56 +08:00
Jake e16c94f273 shifted pyodide to a worker thread, added hooks for external functions from python to javascript 2025-03-23 23:13:12 +08:00