Is there a way to use scala with html5?
- by Maik Klein
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?