Echo JS 0.11.0

<~>
Joη 3748 days ago. link 1 point
oh, it's link OR text, not both. I'm an idiot. I had a lightly technical review to share:

Long time lurker, thought I'd share my full-stack JS scrabble variant.

Notables:
- Hardest back end algorithm was writing the AI (player named Lux) to exhaustively check ≈279000 words in 4 directions on arbitrarily-filled boards ranging from 7x7 to 40x40 tiles in a timely manner.  I got it under 5s in most cases, and it runs in a server webworker to not block site activity.
- Most rewarding decision was abandoning jqueryui + touchpunch for my own css-transform dragging methods, which allowed for native-quality (<16ms) ui interactions on mobile.
- All board images are drawn client-side in canvases from simple strings == no image storage necessary.
- I wish the browser notification API would have arrived by now.  I offer a pushbullet app install to allow turn push notifications if users want.
- I also wish it was a little easier to convey the difference between a web app and an app to the end user.  From their perspective, it's basically "apps are on the home screen, web apps are in Chrome".  I have FAQ directions on how to save it as a webapp so it appears on a device's home screen.  But that doesn't seem best.

Apologies if this is the wrong place altogether.

Replies