Is there a way to use scala with html5?

Posted by Maik Klein on Game Development See other posts from Game Development or by Maik Klein
Published on 2012-10-29T13:27:47Z Indexed on 2012/10/29 17:25 UTC
Read the original article Hit count: 449

Filed under:
|
|

I want to create a very simple 2d multiplayer browsergame in html5. Something like Scalatron

I mainly want to do this to improve my scala skills, the problem is I would have to code the clientside code in javascript and the serverside code in scala. This would result in duplicated code.

Another option would be to ignore the html5 part and write it in opengl. But I would still prefer to have a html5 game.

I could do this is in javascript, but then it would destroy the whole purpose of learning scala.

Is there a way to use scala with html5? Or what would you recommend me to do?

© Game Development or respective owner

Related posts about opengl

Related posts about html5