I'm trying to do a small combat system(turn based), where the user can move or atk with a unit, but I was wondering, how do it to 2 users access the same "combat"(one fight against another).
I'm thinking in before start the combat, save in session, all the data of the units(order, atk, etc), so after the user execute a command(move or atk) i need end the turn, and let the other user play...
There is a way to do it with session?? or if someone know i better way...
note: I want use less as possible of the database.