M
M
MrOnlineCoder2016-08-09 15:33:04
Java
MrOnlineCoder, 2016-08-09 15:33:04

What is the best way to organize a turn-based card game?

Hello! I'm making a game where the player controls 3 heroes on the field and must destroy the enemy troops. The game is turn based, i.e. per turn, the hero can walk or attack. What is the best way to organize such a game? (there will be a large selection of heroes with different characteristics)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2016-08-09
@xmoonlight

The game is turn based, i.e. per turn, the hero can walk or attack. What is the best way to organize such a game?
Apparently, also - step by step!
With the help of classes and OOP:
1. Hero
class 2. Manipulator
class 3. Arbiter class (which controls actions and moves).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question