Hi guys, I started the 2048 game transplant project simply to test the limit of our new toy atom, and the result is quite fascinating.
Check out the gif I’ve attached to the git repo, I may play the game as usual, and I can also leverage the whole browser-related stuff like storage for me, that’s cool!
There’s some flaw points, I have to admit, the top one is I can’t stop direction arrows’ keydown event from propagating into editor views. I can stop normal letter keys, but not the functional keys, that’s a pity, I have to disable arrow keys. If anyone happen to know how to fix this, please let me know!
I have to say, playing games right inside the editors I love has always been my dream, and atom finally helped me to fulfill it, good job and thanks!