/JSnek

Implementation of snake using a combination of Functional Programming, RxJS and bundled with a dash of Webpack

Primary LanguageTypeScript

JSnek 🐍

Yet another snake game on the internet I made to learn RxJS, Webpack and dabble with Functional Programming

Some Interesting Points + Learnings

  • A neatly decoupled MVC architecture with side effects packed into one place -- the updateView function
  • Heavy reliance on pure functions with Redux-like reducer to handle game state
  • Resulting bundle built with Webpack for web performance

To Run

npm i && npm run start