def split_images(engine, obss):
    """Split images into top (health+keys) and bottom (playing field)."""
    top_n = engine.food_rows + engine.keys_rows
    top = obss[:, :top_n, :]
    bot = obss[:, top_n + 1:-1, 1:-1]
    return top, bot