johneastman / circles

A point-and-click browser game
https://johneastman.github.io/circles/
MIT License
0 stars 0 forks source link

Add bullets to separate array #14

Closed johneastman closed 1 year ago

johneastman commented 1 year ago

Right now, bullets and target circles are in the same array. However, this poses an issue for end-game calculations because the game won't end until all circles--including bullets--are off the screen. However, the game should end when the user destroys all target circles, even if bullets are still on the screen.

Questions/comments:

johneastman commented 1 year ago

Commit: https://github.com/johneastman/circles/commit/1e6f56adb35a9b0222c9aa6e2d5fe5cdcf801704