Closed dhcoder closed 9 years ago
Also: I can't seem to mark the "game of life" question as [completed] but I don't really care too much about that. Just FYI!
Ack, nevermind. I just saw the instruction in the problem description:
The world in the game of life is a 2D grid of cells, which we shall assume wraps around at the boundary.
Sorry about that!
It doesn't seem like the official solution checks for the out of bounds condition. That is, what does it mean for neighbor (-1, 0) to be sampled?
I have the following code in my shader:
but when I take out the "bounded" logic, and just do
then I match the official solution.