Skip to content

This mini project showcases the power of the Command Pattern using the familiar scenario of a Pokemon battle (from any of the Gameboy games). I've added Comments throughout, explaining some of the reasoning behind the methods

License

Notifications You must be signed in to change notification settings

kadenBeckstead/Command_Pattern_Pokemon

Repository files navigation

Command_Pattern_Pokemon

This mini project showcases the power of the Command Pattern using the familiar scenario of a Pokemon battle (from any of the Gameboy games). I've added Comments throughout, explaining some of the reasoning behind the methods

If you are unfamiliar, this video shows the processs: https://www.youtube.com/watch?v=Jpdy9pZyGH4

*Note: Because the purpose of this repository is to demonstrate the command pattern, and not a Pokemon battle, it is lacking some of the logic you might expect out of a Pokemon battle.

Dependencies:

ts-node. To install, run `npm i -g ts-node`

typescript. To install, run `npm i -g typescript`

To initialize, run `npm i` from the command line to download all the relevant dependencies

Run:

To run this program, navigate to the root directory, then run `npm run battle`



NOTE

this will require that you have nodeJS (and ts-node as well as typescript) installed on your machine.
Happy Coding!

About

This mini project showcases the power of the Command Pattern using the familiar scenario of a Pokemon battle (from any of the Gameboy games). I've added Comments throughout, explaining some of the reasoning behind the methods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published