Fix range error. Add tests for playing against top and bottom edge.