def get_moves(y, x):
    """Return tuple of encoded moves."""
    return (y - 1, x - 1), (y - 1, x), (y - 1, x + 1), (y, x - 1), (y, x), (y,
        x + 1), (y + 1, x - 1), (y + 1, x), (y + 1, x + 1)
