Hi, I want to ask how TCG (e.g. Heartstone, MTG, Pokemon TCG) store and manage their card table (a.k.a. data structure).
Here's my current approach:
I guess designers always need Excel to do balance. (<- If not, tell me.)
So all creatures, spells, grounds are in one table
And it would have lots of empty cells. (e.g. Spells do not have health.)
Use program to export Excel data to game engine and backend.
Assume my engine is Unity, I would save the whole card table as a big ScriptableObject or JSON or MessagePack. For backend game logic, I would just use JSON.
Hmm...I'm not really sure if it's right, I didn't try that BIG table like MTG.
Hello, I'm new to DI Container,
so there's still something I couldn't understand.
Here's a little fighting game.
public class Game : ITickable, IInitializable
{
public Game( [InjectOptional( "Player_1P" )]Character player_1P,
[InjectOptional( "Player_2P" )]Character player_2P)
{ }
}
========================================
public class Character
{
public Character( CharacterView view ) { }
}
public class CharacterView : Monobehaviear
{
}
========================================
public class PlayerController : ITickable
{
publi