I hereby claim:
- I am janlindblom on github.
- I am janerictobias (https://keybase.io/janerictobias) on keybase.
- I have a public key ASBnBSwFpTol6cRhgod1fH6kaWwLOhtrR3KTICie7LsZuwo
To claim this, I am signing this object:
let ticks = 0 | |
let emptyObstacleY = 0 | |
let bird: game.LedSprite = null | |
let obstacles: game.LedSprite[] = [] | |
let index = 0 | |
input.onButtonPressed(Button.A, function () { | |
bird.change(LedSpriteProperty.Y, -1) | |
}) | |
input.onButtonPressed(Button.B, function () { | |
bird.change(LedSpriteProperty.Y, 1) |
I hereby claim:
To claim this, I am signing this object:
class Cell | |
attr_accessor :state | |
def initialize(state=:dead) | |
@state = state | |
end | |
# Set a new state for the cell | |
def step(newstate) | |
@state = newstate |