1 Answer
1

I don't know what "lodu" means (although the Urban Dictionary suggest something rather offensive), but here's a relatively vague answer on how is saving done, due to a relatively vague question. Apparently, what you meant is not called "lodu", but "ludo".

First things first, you must figure out what do you want to save, ie, what part of the game state. Common suspects are:

Object positions (player, enemies, etc)

Character stats (strength, mana, speed, health)

Fighting info (is the player in combat?)

What is not to be saved in the save file are things like level info, which should be loaded off separate files that don't need to be changed, or general static info that doesn't change.