adventure-game #3

Open
Kenwood wants to merge 80 commits from adventure-game into master

80 Commits

Author SHA1 Message Date
Joe S 752977aa94 take and pick up now work the same 2021-02-26 22:53:22 -05:00
Joe S 5c97859f4c slightly more stuff added to hallway. 2021-02-26 22:48:08 -05:00
Joe S ebd518dd01 Add in some better art handling. 2021-02-26 22:41:26 -05:00
Joe S 22017b2c42 add start to begin art 2021-02-26 22:27:15 -05:00
Joe S bab62f0174 Remove some testing mess 2021-02-26 22:21:44 -05:00
Joe S c022293335 you can pick up items! 2021-02-26 22:19:17 -05:00
Joe S 66279c3bec add custom errors! 2021-02-26 22:13:32 -05:00
Joe S 50d1fc5cae Change up inventory structure 2021-02-26 22:13:26 -05:00
Joe S e844ac23f4 Fix critical error when moving between rooms. 2021-02-26 21:59:58 -05:00
Joe S 493b663b4e Must handle these 2021-02-26 21:54:59 -05:00
Joe S 21bd3c39bb Change where we set art, inventory and location 2021-02-26 21:53:41 -05:00
Joe S a1f215cc93 handle updating location 2021-02-26 21:51:34 -05:00
Joe S 2f8dd761ba player can now change rooms! 2021-02-26 21:46:08 -05:00
Joe S bcb2ee060d add more try/except. Also handle new method of parenting room names 2021-02-26 21:45:58 -05:00
Joe S 3aa6d426fe Make room global 'room' not name of room 2021-02-26 21:45:36 -05:00
Joe S 301d3d75db Add some extra handlers to make engine less likely to crash unexpectedly 2021-02-26 21:34:08 -05:00
Joe S 377bb43e42 Add (most) of a handler for OPEN command
TODO: finish by updating the player locatio
2021-02-26 20:45:49 -05:00
Joe S f400a4c7c3 Clean up handler 2021-02-24 16:16:03 -05:00
Joe S 1eb7f0b07b Dont be quite as verbose 2021-02-24 16:14:30 -05:00
Joe S d1c85a7738 Handle commands that dont match existing handlers 2021-02-24 16:14:20 -05:00
Joe S 1c4f962201 Add some more world 2021-02-24 16:11:14 -05:00
Joe S 2d60766c0f Add missingno easteregg 2021-02-24 01:19:48 -05:00
Joe S 2b176aebdd Make the default missing texture cuter 2021-02-24 01:13:41 -05:00
Joe S 4c6e3a51af Add some 'office art' 2021-02-24 01:13:28 -05:00
Joe S 9fa60fe404 Add dev note and welcome back/starter text 2021-02-24 01:00:38 -05:00
Joe S 0d58881e94 add some todos 2021-02-24 00:57:28 -05:00
Joe S 3928084098 Player can pick up items but cannot yet add them to the inventory. 2021-02-24 00:37:54 -05:00
Joe S 6f10d6420b Fixed looking at things 2021-02-24 00:28:47 -05:00
Joe S 45b3252838 Fixed error in the default player yaml 2021-02-24 00:20:20 -05:00
Joe S 695fcca522 Looking around works!! 2021-02-24 00:20:11 -05:00
Joe S 234d03db60 Add a cute little carrot to the player's log ♥ 2021-02-24 00:17:43 -05:00
Joe S 4d85b25dab commands should be compared to uppercase commands 2021-02-24 00:10:44 -05:00
Joe S 705a00fe9c look around is a better thing to suggest a user do 2021-02-24 00:09:07 -05:00
Joe S 773d48b732 Handler can now log critical room load errors, 2021-02-24 00:08:32 -05:00
Joe S 56f3fb2fee Handler can load the current room! 2021-02-24 00:02:33 -05:00
Joe S 6c162e42b4 handler is aware of player data 2021-02-23 23:59:06 -05:00
Joe S 5184bd9121 Add some more handling for commands 2021-02-23 23:53:27 -05:00
Joe S f0f7c40617 Update the alpha warning again 2021-02-23 23:42:24 -05:00
Joe S aaf4842b0b Update alpha warning 2021-02-23 23:41:17 -05:00
Joe S cc0f6f9f9e Clean up logging in handler.py 2021-02-22 23:48:33 -05:00
Joe S 0c1770ef0a add some extra verbose logging to __main__ 2021-02-22 23:48:20 -05:00
Joe S 87fdc6b91e Add log to gitignore 2021-02-22 23:48:07 -05:00
Joe S e58af07b5e Create AdventureGame.log 2021-02-22 23:30:53 -05:00
Joe S e32e9895e5 Prepare logging! 2021-02-22 23:30:49 -05:00
Joe S 9fc4ed130c Add error handling to handler 2021-02-22 23:30:38 -05:00
Joe S 832e26232b Modualerize! 2021-02-22 20:17:54 -05:00
Joe S 5ba6a20f13 Update Handler.py
How was this not fixed?
2021-02-22 20:11:47 -05:00
Joe S 8b3dba02cc Experiment with themes 2021-02-22 19:46:39 -05:00
Joe S b55bcf77b8 Replace some helptext 2021-02-22 16:59:45 -05:00
Joe S b396cee469 Logbox echo works! 2021-02-22 16:48:01 -05:00
Joe S 2dd8b15a9d fix this bit 2021-02-21 20:20:05 -05:00
Joe S fa3e73498d Add in log window! 2021-02-21 17:17:19 -05:00
Joe S 5fb78fece8 Move around/clean up game renderer
Also add space for log window
2021-02-21 17:15:26 -05:00
Joe S fa0c2cac9e handle a redraw! 2021-02-21 17:07:20 -05:00
Joe S eb70e4a438 Organize where the player() is initalized 2021-02-21 17:07:14 -05:00
Joe S 7eb8dfde07 Basic UI should work fine now!
TODO: slight bug with send button not 'clearing' screen?
2021-02-20 18:53:44 -05:00
Joe S 5437129a76 Eyy! fix bug 14, send button and ok button not working together 2021-02-19 17:21:05 -05:00
Joe S b2466257ce Refactor Game navigator location
also cleanup some unused files
2021-02-19 17:13:02 -05:00
Joe S 04669d0f8f Send button functions but needs implementation 2021-02-17 22:46:21 -05:00
Joe S 6743be8a6c Update art rendering and prepare for input handling 2021-02-17 22:07:19 -05:00
Joe S adf7383c9f Update main.py 2021-02-17 16:23:43 -05:00
Joe S 0867fe6d5f Order artbox and inventory list together 2021-02-17 14:35:36 -05:00
Joe S cc620fda20 Fix yaml arangement 2021-02-17 14:35:19 -05:00
Joe S e79fda1bb9 Add a lot of quality of life stuff including exception to handle small screens 2021-02-16 22:53:12 -05:00
Joe S 45801c53b0 TODO
Weird bug where this crashes the game if the first char is not something other than space
2021-02-16 20:25:36 -05:00
Joe S 1999e8b8ec Added in yaml
This works, but has a few minor bugs. it lays the foundation though for more stuff to be added
2021-02-16 20:23:26 -05:00
Joe S db78cca216 If we add the multiline edit above playersavelocation then it crashes, fix? 2021-02-16 20:17:37 -05:00
Joe S 52d4f5bbfe Nearing a sort-of-functional alpha 2021-02-16 18:18:34 -05:00
Joe S a6d2352cfa Somewhat less broken? still littered with bugs. 2021-02-15 22:16:20 -05:00
Joe S e87c70e04f Stll broke 2021-02-15 22:07:32 -05:00
Joe S 1b73dc208b This is still a huge mess 2021-02-15 22:02:49 -05:00
Joe S a03bfaf3dc Fix up curses stuff 2021-02-14 15:47:09 -05:00
Joe S ed4b5abd24 This is awful
but it shows some prototpe stuff
2021-02-06 00:19:16 -05:00
Joe S 298e5abdbe idk 2021-02-05 11:45:49 -05:00
Joe S 37524876e5 Clean up adventure-game 2021-02-03 17:27:22 -05:00
Joe S bdba68ecb0 Test some more curses 2021-01-21 19:00:27 -05:00
Joe S 375fabee71 Create requirements.txt 2021-01-20 00:40:11 -05:00
Joe S 5e30cf1fb7 Create a VERY BASIC main.py from example code in npyscreen (placeholder) 2021-01-20 00:40:08 -05:00
Joe S 04d7388eb4 Update .gitignore 2021-01-20 00:39:47 -05:00
Joe S 3d2adcf17b Create readme.md 2021-01-10 16:02:51 -05:00