mhluska / blackjack-simulator

🃏 Realistic blackjack simulator (practice card counting using Hi-Lo and calculate EV for any table conditions)
https://mhluska.github.io/blackjack-atlas
MIT License
51 stars 14 forks source link

WebAssembly #18

Open mhluska opened 3 years ago

mhluska commented 3 years ago

Consider converting this project to something like AssemblyScript. Would probably be much more performant.

Would probably have to first switch away from the current async/await to a simple state machine: https://github.com/mhluska/blackjack-simulator/issues/21

Afterwards, the user input concerns could also be totally removed from the library. Ideally any DOM interactions are removed from the library to make converting to wasm simpler.