```python
def grid_flip(grid: list) -> list:
    if not grid:
        return []
    rows = [row[::-1] for row in grid]
    return rows
```