Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17063

How to Write Game Replay Files and Multiplayer Card Game Like Hearthstone?

$
0
0

I am trying to build a card game like hearthstone and there are some basic implementation I don't understand:

Each action player make is meant to be recorded in a replay file. My thought is to store them in a plain text file, but I am wondering if there is a better way to store these information, because I see a lot of save files/replays from other games are in certain format (different suffix which cannot be read directly, encoded?)

When one player decides to move/attack/place cards on the board, should the validation of legitimacy of …


Viewing all articles
Browse latest Browse all 17063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>