xirzec
Re:Warriorjs – An exciting game of programming and artificial intellig...
on Friday May 11, 2018 @06:45PM (#17051259)
Looking at the code you could do getCharacter() for a Space returned by look()/listen()/feel() to figure out what type of enemy it is: https://github.com/olistic/warriorjs/blob/master/packages/wa...