katrinaclow / toggle-game Goto Github PK
View Code? Open in Web Editor NEWThe game is a 3x3 grid of squares that are either black or white. Clicking on any square will change the color of that square and its 4 neighbours (north, south, east and west) to their opposite color, i.e., black becomes white and vice versa.