olistic / warriorjs

🏰 An exciting game of programming and Artificial Intelligence
https://warriorjs.com
MIT License
9.43k stars 490 forks source link

Blind Mode? #161

Open pigalot opened 6 years ago

pigalot commented 6 years ago

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?

A1rPun commented 5 years ago

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.