Switch 'game of life' from block to TS (#1270)
This commit is contained in:
parent
9b704a8967
commit
465d83637f
@ -15,9 +15,9 @@ Depending on the pattern of living cells at the start of the game, some populati
|
|||||||
|
|
||||||
## Game of Life simulation in LEDs
|
## Game of Life simulation in LEDs
|
||||||
|
|
||||||
A simulation of life in the LED matrix. Use button ``A`` for the next stage of life and button ``B`` to reset.
|
Here's a program that simulates cell life in the LED matrix. Use button ``A`` for the next stage of life and button ``B`` to reset.
|
||||||
|
|
||||||
```blocks
|
```typescript
|
||||||
//https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
|
//https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
|
||||||
let lifeChart: Image = null
|
let lifeChart: Image = null
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user