eventToPosition
classic rogue algo
Merge remote-tracking branch 'Parent/master'

Signed-off-by: hyakugei <jyule@phantomcompass.com>

Conflicts:
	rot.js