I hereby claim:
- I am Mobilpadde on github.
- I am mobilpadde (https://keybase.io/mobilpadde) on keybase.
- I have a public key whose fingerprint is 5A35 0FB5 1A5A B152 4572 008E 2217 72FE 3D67 3AC8
To claim this, I am signing this object:
var Ball = function Ball() { | |
this.loc = createVector(width / 2, height / 2); | |
this.vel = createVector(); | |
this.acc = createVector(); | |
this.col = color(random(55, 200)); | |
this.sz = random(10, 25); | |
this.mass = this.sz * 1.5; | |
} |
I hereby claim:
To claim this, I am signing this object:
({ | |
Next(snake: Snake, snakeApi: SnakeApi): Action { | |
return function(views) { | |
const directions = ['up', 'down', 'right', 'left']; | |
const treatMatch = views.find(v => v.contains == 'treat'); | |
if (treatMatch) { | |
return treatMatch; | |
} |
const express = require("express"); | |
const app = express(); | |
app.get("/", (req, res) => { | |
res.render("index.pug"); | |
}); | |
app.listen(3000); |