I have been requested to make a port of an iOS game for Facebook.
The game itself is fairly simple, it is a puzzle game using a 2d array for a grid with XML passed from a server for loading objects onto the the grid, to create levels. The game will ask questions at stages which will be passed to my server and stored for research purposes.
I have looked into both Flash and HTML5/js both of which I have little to no experience in (I'm experienced in Java/C#/Ruby + Rails).
Javascript seems like a nightmare from what I have read, even looking into javascript game engines, but at least it is free.
My backend will most likely be rails for handling server logic.
Is javascript for programming games really a problem for simple games on Facebook?
Are js game engines worth using? Does anyone have any experience with them?
Would prevention of cheating be possible with a js/rails game, do server side checks work?*
Are there any alternatives for a front end for someone with C#/Java/Ruby background?**
I've never seen any Unity or Java apps on Facebook (I don't use it much) and as this is a research project is for my university, I would like to avoid licensing issues.