Members - Reputation: 103
Posted 07 February 2013 - 02:00 AM
Id like to point out that Im an experienced programmer (and ive done games), so this isnt just a "how i make game?" question. Im just not great with web dev. Thanks.
Crossbones+ - Reputation: 5799
Posted 07 February 2013 - 06:46 AM
Learn: HTML, PHP, MySQL (in that order). Once you get familiar with these it will become self explanatory how to make such a game (especially since you are an experienced programmer already).
Generally it works like that:
- PHP is the language, you write the game in this
- HTML is the rendering engine and keyboard input (you can also add extras later like CSS, JS, jQuery, AJAX)
- MySQL is your hard disk, you load and save data via it (note that in theory you don't need it and can use PHP for this, but is't soooo convenient and easy that it would be a suicide to not use it)
You should also take a look at cronjobs (it's a simkulator of someone clicking on your php script at a certain hour).
Members - Reputation: 159
Posted 07 February 2013 - 09:08 AM
You can communicate between players by using sockets. Also you can communicate with just HTTP for a turn-based game ;)
This you can use to make a game that start from the browser...
For just a text-based game in the browser you can use PHP/ASP.NET/JSP or JSF
Members - Reputation: 2283
Posted 07 February 2013 - 11:29 AM
Also, if python is your flavor, you can try tornado along with sock.js (client and tornado server implementation)for your web server and messaging. If CPython performance becomes an issue (it probably won't) you can swap out CPython for PyPy and get a significant performance bump, probably.