Relative Content

Tag Archive for typescriptpostgresqlexpressgraphqlarchitecture

Design a quests game, each quest is specific logic

I have to design a quests game that each quest has different logic. My first solution is store a function_code (such as 1,2,3,4,…) for each quest, then depend on it to call function to use. I really do not know how to make it more effective.