what is the best design pattern for making:
war game , 2 players , every player has a name and 3 weapons for each one , every weapon has health, damage, name, id .
when game starts player 1 selects, player 2 selects a weapon, then player 1 attacks the seconds player , the second player weapon health decreased, then its player 2 turn.
the game is C# consol
please Friends help :)
Aucun commentaire:
Enregistrer un commentaire