Node.js

As a back-end for Solitaire and Mahjong games I’m using a separate VPS with Node.js, as a web server, and MySQL database, which I’m hoping to switch to MariaDB some day.
I really like Node.js, it can handle thousands of connections at once on a cheap VPS for ~$10/month.
On July 12 2013, All-in-One Mahjong was promoted on Amazon App Store as a Free App of the Day, and game had ~100k active players a day. But Node.js had absolutely no problems with that, even 512MB of memory was enough.

I’m very new to Node.js, so here are some links, that helped me to know it better:
Manual and Docs: http://nodejs.org/api/
Node.js driver for MySQL: https://npmjs.org/package/mysql
Some tuts: http://net.tutsplus.com/tutorials/javascript-ajax/node-js-for-beginners/
Forever: http://blog.nodejitsu.com/keep-a-nodejs-server-up-with-forever



Rainbow something…

Finally started new game, things move slowly as I’m still improving Mahjong and Solitaire, and really tired of those two.

Anyway, here is first screenshot from the game, without name yet…
rainbow_screenshot

Yes, it looks like old well-known Lines, and it is Lines, but with some extra features and nice graphics.

No more Adobe AIR for development, I’ve tried it once, and don’t want to use it again for mobile.
This time I’m using Haxe, OpenFL and FlashDevelop.


DISCLAIMER: The content in this blog represents the opinion of the author. No information here should be used for any purpose except for entertainment.