HTML and CSS Reference
In-Depth Information
These cards can be purchased at the in-game store. And this usually involves virtual
coins. The coins can be earned by winning the game.
F Muliple players :
By seing up a socket server and using the HTML5 web socket API, we can make the
opponent a real player. On each selecion, one side sends the selected power value to
the server and a push to the other player. On the other side, the value from the server
appears on the opponent's card. In this way, the power value on the opponent's card
is not a random number, but a value from the real opponent player. The server then
stores the health point calculaion and determines the end of the game.
 
Search WWH ::




Custom Search