dwmkerr / spaceinvaders

Classic Space Invaders game written in JavaScript as a learning exercise.
https://dwmkerr.github.io/spaceinvaders
MIT License
201 stars 140 forks source link

rong code #34

Open CollinAwesome5 opened 6 months ago

CollinAwesome5 commented 6 months ago

it schould be var ctx = game.gameCanvas.getContext("2d"); in stead of var ctx = this.gameCanvas.getContext("2d");