Trainers #1

Open
opened 2018-09-30 02:27:12 +02:00 by EpicKnarvik97 · 0 comments

EpicKnarvik97 commented on Nov 24, 2017

One of the things that should be worked on is trainers. They should have a name, items and a random amount of random pokemon. Their pokemon should be a bit stronger than wild pokemon. This might be a good oppertunity to introduce currency. We also need a way for a NPC to choose which actions to take.

GReaperEx commented on Nov 25, 2017

Assuming that you build a "Trainer" class that contains everything associated with a trainer, I guess it wouldn't be difficult to use that as a base for "Player" and "Rival" classes, the first for being controlled by the user and the second for being controlled by a rudimentary AI.

Or rather, since you could have NPCs wandering around that are not trainers, it could be done like this:

 Character
 /      \
NPC      \
      Trainer
      /     \
    Rival  Player

EpicKnarvik97 commented on Nov 25, 2017

I haven't really thought about NPCs but this could work. I guess NPCs would need lines of speech. In addition, at least some of them will need event triggers, like giving the player an item, or healing the player's pokemon. I am not sure what would be inside the character class. And would it take either a trainer or a npc?

EpicKnarvik97 commented on Nov 24, 2017 One of the things that should be worked on is trainers. They should have a name, items and a random amount of random pokemon. Their pokemon should be a bit stronger than wild pokemon. This might be a good oppertunity to introduce currency. We also need a way for a NPC to choose which actions to take. GReaperEx commented on Nov 25, 2017 Assuming that you build a "Trainer" class that contains everything associated with a trainer, I guess it wouldn't be difficult to use that as a base for "Player" and "Rival" classes, the first for being controlled by the user and the second for being controlled by a rudimentary AI. Or rather, since you could have NPCs wandering around that are not trainers, it could be done like this: ``` Character / \ NPC \ Trainer / \ Rival Player ``` EpicKnarvik97 commented on Nov 25, 2017 I haven't really thought about NPCs but this could work. I guess NPCs would need lines of speech. In addition, at least some of them will need event triggers, like giving the player an item, or healing the player's pokemon. I am not sure what would be inside the character class. And would it take either a trainer or a npc?
EpicKnarvik97 added the
help wanted
label 2018-10-01 20:13:02 +02:00
Sign in to join this conversation.
No Milestone
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: EpicKnarvik97/pokemon-cmd#1
No description provided.