(y, x, get_cell, set_cell)
| 109 | |
| 110 | print("Example 2") |
| 111 | async def step_cell(y, x, get_cell, set_cell): |
| 112 | state = get_cell(y, x) |
| 113 | neighbors = count_neighbors(y, x, get_cell) |
| 114 | next_state = await game_logic(state, neighbors) |
| 115 | set_cell(y, x, next_state) |
| 116 | |
| 117 | |
| 118 | print("Example 3") |
no test coverage detected