I'm building a browser game about countries, cities, the user control his city, building it upgrading it, can fight other cities in the same country, elections and war between countries, peace, trade agreements, and many many more cool stuff. The game is in full size window, all of the website will be dynamic and will be playable in 1 page, and won't redirect to any other page.
i'm using php, javascript (jquery), css, html at work, so I'm very friendly with those languages.
I have few questions about developing this kind of a game:
I have chose node.js for the back-end programing, because as of my understanding it's fast, and will do the best job for my game, i chose node because its made for handling many call at the same time, but the only place I really need it is in wars between countries and cities, where a lot of people can participate in one battle. Should i use php in rest of my website, for login, register, elections and use ajax, or stick with node.js for all of the back-end stuff, and why? or even use other language that can suit me better?
The big question is my front-end, the majority of my website can be done with simple js and other small libraries, for drag and drop, cool effects and such, but my problems is as the above, the wars. The wars will be fought with max of 20 users in one window (battle), the idea of the battle is like the game LoL (league of legends), where the user is the hero, 10 heroes fight againsts 10 heroes, so it must be in real time, 3d and third person camera, all of the movement and attacks will be with the use of the mouse. I have no idea in programing 3d objects, i was looking into few js libraries and HTML5, like babylonjs, Three.js, playcanvas, the best i saw and i think that might suit me is playcanvas, but i'm afraid putting it all in one language just to find out that it can't be done with it. Does playcanvas suits my website, or should i take a look into any other plugin?