Commit graph

31 commits

Author SHA1 Message Date
Connor Bishop
ac749c84f1 Improved handling of slideshow time. 2017-06-13 21:07:50 -07:00
Connor Bishop
b437857c3e Made it possible to set time to sleep in slideshow mode. 2017-06-11 17:05:19 -07:00
LazoCoder
16f4a6b27b Added clear functionality
Sets the current terminal background image to blank. Tested on iTerm2 on macOS and Terminology on Ubuntu.
2017-06-11 15:30:23 -04:00
Ben Magee
ee624fa99e Updated the usage string to include the new random commands with specified regions. 2017-06-07 10:06:27 +01:00
Ben Magee
1219b1d7c7 Added get_random_from_region(region) function to the Database class, which picks a random Pokemon from the specified region (passed as a string: johto, kanto, hoenn, sinnoh). Added a wrapper in the main.py file, so a call such as 'pokemon random-johto' can be made to pick a random Pokemon from the Johto region. 2017-06-07 10:03:52 +01:00
LazoCoder
0e540e387c Changed reference to python interpreter 2017-06-06 13:13:26 -04:00
LazoCoder
3a41115f92 Fixed typo 2017-05-09 09:33:24 -04:00
LazoCoder
abd639c8b9 Fixed typo 2017-05-09 09:13:35 -04:00
LazoCoder
160fddc46c Removed usage of non existent method 2017-04-29 13:30:35 -04:00
LazoCoder
3551155b3c Changed usage to take up a bit less room.. some other small changes too 2017-04-29 13:29:15 -04:00
LazoCoder
54543b61c7 Fixed bug where inputs with escape code counted the escape code as a letter
If you type ‘_cha’, this should count as 3 letters, not 4. This matters
because typing ‘_ch’ should give suggestions and not change the
wallpaper. Only inputs with 3 characters or above should change the
wallpaper or terminal.
2017-04-29 02:20:17 -04:00
LazoCoder
db2d3fa515 Fixed bug where changing the wallpaper also changed the terminal sometimes 2017-04-29 02:08:46 -04:00
LazoCoder
90b2dbd04f Refactored & added link to main.py 2017-04-29 01:57:47 -04:00
LazoCoder
18f5b8f08d Added ability to check what the current pokemon is in the terminal or wallpaper 2017-04-28 19:17:44 -04:00
LazoCoder
7faf120282 Changing wallpaper support 2017-04-28 18:26:00 -04:00
LazoCoder
9838c3eb15 Refactored database, added different ways of retrieving pokemon & made unit test class 2017-04-28 15:51:42 -04:00
LazoCoder
9dc09c1d79 Fixed Pokemon class where __str__ method wasn't working for null values 2017-04-28 04:02:50 -04:00
LazoCoder
87f8cec207 Added random selection and fixed typo in johto getter 2017-04-28 03:55:40 -04:00
LazoCoder
a863512084 Added script creator and a bunch of print methods 2017-04-28 03:46:39 -04:00
LazoCoder
3eda8c3549 starting from scratch 2017-04-27 23:23:09 -04:00
LazoCoder
842506dc3f Renamed images in 'Extra' and added support for Extra/Custom images 2017-04-27 18:20:52 -04:00
LazoCoder
ad7cf2dce9 Added region specific slideshow 2017-04-25 11:32:44 -04:00
LazoCoder
d4161f77d2 Refactored comments
Followed best practices by putting comments beneath the method
declaration and not above.
2017-04-25 11:20:15 -04:00
LazoCoder
13063b112b Added method to check what the current pokemon is
Useful if someone uses random, then wants to know what it was changed
to.
2017-04-25 11:10:37 -04:00
LazoCoder
1d579bae01 Updated usage menu and added ability to choose a random pokemon 2017-04-24 04:49:04 -04:00
LazoCoder
759d59a1c3 Updated some comments and added global execution support 2017-04-24 04:18:08 -04:00
LazoCoder
0dedb0eaeb Fixed bug where background is changed even when user input is incorrect & added keyboard interrupt exception 2017-04-21 17:32:59 -04:00
LazoCoder
eba5afdfbb Added suggestions
If user types in “pika” it makes the background Pikachu. If the user
types “dra” then it suggest all the Pokemon who’s names start with
“drag”.
2017-04-21 02:23:49 -04:00
LazoCoder
94fea57850 Fixed formatting issues where columns were not aligned
When printing Pokemon from a region or letter the columns would be off
sometimes because the numbers of the Pokemon have a different quantity
of digits. Example: “2 Ivysaur” should be printed as “002 Ivysaur”.
2017-04-21 00:27:01 -04:00
LazoCoder
199de34fc8 Added ability to print all Pokemon with particular letter & help menu 2017-04-21 00:04:47 -04:00
LazoCoder
32a990e369 Refactored into multiple modules
Code was getting lengthy so I split it up.
2017-04-20 23:24:04 -04:00