Programming a multiplayer game with a PhP / MySQL server and JavaScript / jQuery clients

Here is the situation. I would like to develop a game based on the content provided by MediaWiki. MediaWiki has PhP and has a MySQL database. So far, I have been doing client-side animations using JavaScript and jQuery.

The game does not have to be strictly in real time. I just want to be notified when the person I'm playing with makes a move in a second or two.

Do you have any suggestions for suitable approaches that I can consider?

+1
source share
1 answer

If you use new programming approaches, you may also be interested in node.js and all WebSockets . This YouTube video gives you an idea of ​​what you can do with WebSockets (also check the related ones).

+2
source

Source: https://habr.com/ru/post/893947/


All Articles