Hi! It would be my question how I can make a mysql database that saves the player's money when she quits and enters and the game retrieves the player's money from the mysql database by his name.
For example: There is a player "Michael" and there is another player "Marco" and when he enters "Michael" then he queries the game from his mysql money and you will have Michael's money.
And something else: If a player registers, for example, with the name "Michael" then no one else can register with the name "Michael" but with the name "Michael2".
How can it be done?
Have a nice day.
Develop games in your browser. Powerful, performant & highly capable.
http://www.clusterdb.com/mysql/mysql-cl ... th-node-js
Alternatively, the traditional model was to use server side php to interact with the sql database, with the client requesting json data via AJAX (PHP GET and POST).