Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 07 May 2013
Offline Last Active Jul 22 2013 05:28 PM

Topics I've Started

JS logic vs PHP logic

20 July 2013 - 05:11 PM

Hello, i am creating browser based game, and i am stuck at this crossroads. I cant decide which to use for implementing some game logic.


I have created leveling system in php and in javascript. But in all senses i dont know which one is better. My thoughts is that its better to use php, because all of the stats and users will be stored in DB, so my conclusion is that its better to use PHP var than changing JS var to PHP!


The thing is that i am not sure if i am right....Can i get some suggestions or tips for this?! 


THX :)