lycan-city / werewolf-brain

Werewolf game logic in a well documented npm package.
12 stars 11 forks source link

New templates feature. #6

Closed vetom closed 7 years ago

vetom commented 7 years ago

This close #5

mamodom commented 7 years ago

I wouldn't have implemented templates that way, I don't thinks the cards should be aware of templates, templates should be something like:

exports.templates = {
    basic: [
    'Werewolves',
    'Villagers',
    ],

    novice: [
    'Werewolves',
    'Villagers',
    'Seer',
    'Mayor'
    ],

    amateur: [
    'Werewolves',
    'Wolf cub',
    'Villagers',
    'Mayor',
    'Seer',
    'Witch',
    'Prince',
    'Tanner'
    ],

    wolfpack: [
    'Werewolves',
    'Big Bad Wolf',
    'Wolf Cub',
    'Lone Wolf',
    'Fruit Brute',
    'Dream Wolf',
    'Villagers',
    'Seer',
    'Prince',
    'Mayor',
    'Martyr'
    ],

    competent: [
    'Werewolves',
    'Wolf cub',
    'Sorcerer',
    'Cursed',
    'Minion',
    'Wild Child',
    'Villagers',
    'Mayor',
    'Seer',
    'Witch',
    'Prince',
    'Cult Leader',
    'Cupid',
    'Diseased',
    'Doppelgänger',
    'Lycan',
    'Spellcaster',
    'Tanner',
    'Mason',
    'Bodyguard',
    'Apprentice Seer',
    'Drunk'
    ]
}
wistcc commented 7 years ago

@mamodom we are agreed, I'll implement this here: #8