@Override
	public int move(State state) {
		while (!mousePressed()) {
			// Wait for a mouse click
		}
		double x = mouseX();
		double y = mouseY();
		int r = (int)round((0.95 - y) / 0.1);
		int c = (int)round((x - 0.15) / 0.1);
		int result = PASS;
		if (r >= 0 && r < WIDTH && c >= 0 && c < WIDTH) {
			result = r * WIDTH + c;
		}
		while (mousePressed()) {
			// Wait for mouse release
		}
		return result;
	}