Skip to content

gogakoreli/angular-snake-web-component

Repository files navigation

Angular Snake Web Component

Angular based Snake Game Web component

  • Uses @angular/elements and markDirty()
  • Uses RxJS and Flux pattern
  • Uses pure functions and immutable state
  • No NgZone to reduce bundle

Article

📝 See Medium article about this project Angular 9 Snake Web Component

Game

snake-web-component.js final size is: 51.3 KB (Gzipped)

🎮 Play game at https://gogakoreli.github.io/angular-snake-web-component

⌨️ Use W A S D or Arrow Keys for movement

Alt text

by Goga Koreli