warriorjs
warriorjs copied to clipboard
Blind Mode?
This is more of a sugestion for later after the next tower is done.
Blind mode:
Read me only contains minimal API documentation and no map.
Implement a drawMap
function that allows the warrior to output what it thinks the floor looks like.
Using some helper functions like drawWall(x,y)
, drawMonster(x,y)
, etc the warrior could even be scored on the accuracy of the map.
Is there any appetite for this sort of challenge?
Drawing a map is only viable when you start the map because when you are done with a floor you probably have killed all enemies and rescued all captives. You can however remember the location of killed enemies or rescued captives but I don't see a point in doing that.
I assume the only thing you can use in blind mode is the warrior.feel()
function and I think that will make it much more challenging.