Commit graph

49 commits

Author SHA1 Message Date
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
e55b8583a2 Definitely reverted the scripts this time. 2017-06-07 10:16:48 +01:00
Ben Magee
f554b4781f Reverted Scripts directory back to base repository version. 2017-06-07 10:13:38 +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
7c43b0c93e Bug fix for FileNotFoundError
Attempt at fixing:
[Errno 2] No such file or directory:
'/Library/Frameworks/Python.framework/Versions/3.5/bin/./Data/pokemon.tx
t'
2017-06-06 16:53:55 -04:00
LazoCoder
0e540e387c Changed reference to python interpreter 2017-06-06 13:13:26 -04:00
LazoCoder
392d4a119b Fixed issue with relative path 2017-06-06 12:31:24 -04:00
LazoCoder
cdff8bd418 Updated transparency instruction image
Highlighted what to change in red.
2017-05-29 10:52:33 -04:00
LazoCoder
abd639c8b9 Fixed typo 2017-05-09 09:13:35 -04:00
LazoCoder
44d471826d Fixed index out of bounds bug in random function 2017-04-30 21:58:43 -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
2c4902913b Revert "useless"
This reverts commit b3293d6adc.
2017-04-27 23:17:04 -04:00
LazoCoder
b3293d6adc useless 2017-04-27 23:16:57 -04:00
LazoCoder
6b061cc41b Updated a readme image 2017-04-27 19:03:52 -04:00
LazoCoder
5320145964 Updated readme 2017-04-27 18:55:06 -04:00
LazoCoder
13ea10ee3b Added playboy pikachu 2017-04-27 18:31:12 -04:00
LazoCoder
842506dc3f Renamed images in 'Extra' and added support for Extra/Custom images 2017-04-27 18:20:52 -04:00
LazoCoder
38b093776e Fixed formatting for '?' command
Added zeroes so “7 Charizard” becomes “007 Charizard”. This keeps
consistency with all the other commands.
2017-04-27 17:28:26 -04:00
LazoCoder
9b0e0dbf02 More samples 2017-04-25 16:36:07 -04:00
LazoCoder
f76b658d50 More samples for readme 2017-04-25 15:48:24 -04:00
LazoCoder
5631d44ba6 More samples 2017-04-25 14:55:56 -04:00
LazoCoder
d4f0ee733c More samples 2017-04-25 14:46:21 -04:00
LazoCoder
3edac5284a More samples for readme 2017-04-25 14:43:22 -04:00
LazoCoder
ee17b624a6 Typo 2017-04-25 14:19:32 -04:00
LazoCoder
126ed7b7d7 More samples 2017-04-25 14:01:54 -04:00
LazoCoder
e228e590aa Added samples for the realm 2017-04-25 13:43:30 -04:00
LazoCoder
ad7cf2dce9 Added region specific slideshow 2017-04-25 11:32:44 -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
830cab5516 Implemented better search & refactored the search
Now it also searches for Pokemon names that contain the user input as
part of the name. Typing in “char” will bring back Charizard, Chimchar
and more…
2017-04-21 03:25:15 -04:00
LazoCoder
3a262f28b1 Fixed zeroes bug
Sometimes more zeroes were added than necessary. Example: “0023 Ekans”
instead of “023 Ekans”.
2017-04-21 02:41:20 -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
LazoCoder
1e4ff51d91 Run.sh generation
Now the program should work no matter what directory it is in
2017-04-20 23:08:06 -04:00
LazoCoder
ddd9bab6ad Made Pokemon Name to Number conversion more accurate
Instead of using “contains”, using “ends in”.
2017-04-20 21:59:30 -04:00
LazoCoder
e1d88c4527 Finished debug method, removed useless picture, and added better exception handling 2017-04-19 23:13:32 -04:00
LazoCoder
4cf77373f2 Refactored package structure, added to do list, and ability to print pokemon by region
The user can now type: “python3.5 Main.py kanto” and it will print all
the pokemon in the kanto region, as well as their corresponding number.
Supports kanto, johto, hoenn, and sinnoh
2017-04-19 02:59:34 -04:00
LazoCoder
197f638c32 Added ability to change background image 2017-04-18 23:49:06 -04:00
LazoCoder
24fcd9d6ba Added scripts for changing background 2017-04-18 21:28:43 -04:00