Skip to content

SauravChittal/crispy-guacamole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crispy-guacamole

Only choosing the best of names.

Import Requirements

All the import requirements are present within requirement.text. Use the following code to install all the required imports

pip3 install -r requirements.text

Displaying a Random Histogram

If you run the program and choose the "Not Play Some Pokemon" option, as displayed here: not-play-some-pokemon then you will be greeted with a random histogram which is produced using numpy and termiplotlib as such: random-histogram

Playing Some Pokemon

If instead, you select "Play Some Pokemon" option, you are asked to enter your favourite pokemon and your opponent pokemon both of which are validated: validation If the validation is passed then you move onto the battle where you have only one option to choose, Metronome, which deals random damage between 10 and 20 and so does your opponent (Side Note, I may have gone a bit overboard on Figlet, feel free to remove it if it becomes unreadable): battle When either of you wins, a display message is shown commemorating your win or cheering you on your loss.

Playing Rock, Paper and Scissor with the computer

If you use -p or --play tags when you run the program, you get the ability to play Rock, Paper and Scissors with the computer. Again, the computer randomly chooses either of the three: image

Test Cases

Well, since most of my functions return nothing, reliant on randomness to work and require user input midway through the function, testing them was extremely difficult and as such I am unable to test them. I tried using string stream to take print statements as input, however, it didn't work. As it stands, I was only able to test one function which I've included the test case in (And the function is duplicated merely only for testing)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages