Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1012 Bytes

File metadata and controls

19 lines (13 loc) · 1012 Bytes

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!