Nice, you got it to work on the browser! Now I could play it too (I am on Linux).
Very interesting concept, I think your color preference should be:
- Yellow: the only option to heal the robot
- Red: Heals you, doesn't hurt the robot
- Blue: Hurts you, but the human has enough HP
- Green: Hurts the robot
Here are some things you could improve:
- Sometimes, the walls of the maze blocked in the player or the robot, making it impossible to reach each other. A possible solution would be to generate at least one possible path between human and robot, and removing all walls that block the way. Also, I really like a type of level generators called walker or tunnel digger, because they are easy to implement and guarantee you, that every tile is reachable.
- The game isn't accessible for people with color blindness at the moment, maybe also make each block type distinguishable by a pattern or a number (1 to 4).
- Make it more clear what is happening, add control instructions to the description (like WASD to move) and make it more easy to find the human and the robot on your first play through.
- At the moment, the AI seems to use random movement. After sometime, it will return to areas it already visited, where no blocks are left. This kind of eliminates the collaboration factor from the game. Maybe make the AI smarter, digging it's own path towards the player, or a specified location.
Nice entry, good luck for the jam!