Modulo here is wrapping the world.
-1 % 100 = 99
100 % 100 = 0
-1 for a coord would error.
-1 % 100 = 99
100 % 100 = 0
-1 for a coord would error.
99 percent of computer problems exists between chair and keyboard.
Game of Life (neighbors)
|
|
Messages In This Thread |
Game of Life (neighbors) - by pawlo392 - Jun-08-2019, 07:52 PM
RE: Game of Life (neighbors) - by Windspar - Jun-08-2019, 09:01 PM
RE: Game of Life (neighbors) - by ThomasL - Jun-13-2019, 09:37 AM
RE: Game of Life (neighbors) - by ThomasL - Jun-14-2019, 09:06 AM
RE: Game of Life (neighbors) - by pawlo392 - Jun-20-2019, 02:32 PM
RE: Game of Life (neighbors) - by Windspar - Jun-20-2019, 03:05 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Game of life | Elyur | 2 | 2,009 |
Mar-30-2020, 10:54 AM Last Post: Elyur |
|
[PyGame] Game Logic problem with a "The Game of Life" Replication | Coda | 2 | 3,091 |
Dec-24-2018, 09:26 AM Last Post: Coda |