Hacker News new | ask | show | jobs
by djblue 2616 days ago
Sweet! Thanks for sharing. I see you're using pure-store to manage your game state. My implementation also uses a redux pattern for state management :)
1 comments

Thank you too! It's fun seeing the different ways we implemented the same things, even pieces and rotation.

pure-store is a library I made for very simple but efficient state management. The entire source is this file: https://github.com/gunn/pure-store/blob/master/src/index.ts