Closed zettca closed 7 years ago
function Snake(ctx, headFillStyle, fillStyle){ this.ctx = ctx; ... }
It seems that I wasn't clear enough, so I'll "rephrase" myself: Why does a Snake receive a canvas? Snake shouldn't know how to draw itself! Everyone knows Snakes can't draw... Also: bananas.