game design pattern to avoid huge amount of if-s [duplicate]

Published: 8/07/2017
game design pattern to avoid huge amount of if-s [duplicate]
Source: SOFTWAREENGINEERING.STACKEXCHANGE.COM

This question already has an answer here: Style for control flow with validation checks 3 answers I'm about to develop a card game where you have multiple characters, each of them having different skills and abilities which are constantly interacting with other characters' abilities. An example: if Player1 has character A and card A then player2 can't attack because doesn't own the card B. As

Read more
Related news
Comment
FACEBOOK