Skip to content

Instantly share code, notes, and snippets.

View fredrikdev's full-sized avatar
🐑
Reticulating Splines

Fredrik Johansson fredrikdev

🐑
Reticulating Splines
View GitHub Profile
// Non-canvas Worms Game. Copyright (c) by Fredrik Johansson 2020. fredrik@johanssonrobotics.com.
class WormGame {
constructor(el, grid) {
let t = this;
t.el = el;
t.config = {
grid: { ...{
size: 18,