yeah I thought the same that he stored the logic in a database, After I have a list of card combos that works for my card set, I'm going to override his logic (still trying to decipher most of what he did). The better option would probably be to start using the splinterlands sdk and their pre built commands. https://github.com/steem-monsters/splinterlands-js
RE: Forked an application for the first time