-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTodo.scratch
32 lines (25 loc) · 1001 Bytes
/
Todo.scratch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
10: 15 AM to 10:40: AM;
1. Add Start/Stop button
2. handle onClick
1. Should update the game status from running to stop
2. Should update the status from stop to running.
3. Style it at fixed on the window right side of board.
4. Writ the tests.
11: 45 AM to 12: 30PM
3. Refactor the grid from an array to 2d array.
1. create the row
2. render the row given the n number of colum.
3. It should still render with random alive cell.
4. Use table row and colom to create the grid.
5. style the table as it is looking right now.
4. Add the generate next generation
5. Refactore
1. Naming needs to be close to domain.
2. condion can be extracted in a function
1. isAlive
1. isDead
3. grid can be extracted as cell at point
6. Grid can be an object
7 1. Grid can be created with given row, and colom.
2. Grid can have next fucntion.
grid.next() should return next generation.