View Full Version : OpenCart Conundrum

08-21-2012, 01:11 AM

I am starting a new site that is going to use OpenCart and I plan on using Arvixe as the host. My intentions are that I want to make a Javascript game as the main feature in the style of Diplomacy off of vdiplomacy.com and I need to know whether or not this would be the simplest approach to my task. I want to optimize the game so that when the players have all submitted orders, the page will automatically refresh to the new phase of gameplay instead of having to manually reload it. This is possible, right?

Also, I want to be able to add a Forum section to this site at a later time, would this be simple enough using OpenCart? To play the game, the user would have to be logged in. Can Javascript pull all the user's data for the game from the MySQL database?

Thanks for any help you can give!

08-21-2012, 09:58 PM
You can't just use Javascript, you need to use a server-side language such as PHP, ASP, ColdFusion, etc.

08-21-2012, 11:42 PM
Thanks, well I guess my last question is since I have to use an SSL then would I use that or js to make the game autorefresh after every player has submitted their moves?