4 ms·
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 :)
by djblue 7y 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 :)
- gunn 7y agoThank 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 https://github.com/gunn/pure-store/blob/master/src/index.ts