Initial (broken) tile engine implementation.