generated from acm-ndsu/byte_le_engine
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Saving work on road * Commit for safety in case of reversion. Needs fixing and cleanup, but saving to branch in case of future problems. * Reversion Point Not ready for pull request. * New action and other changes. Still not ready to pull. * Action object changed and selection modified Contract list added to action object constructor in order to allow for pre-tick contract generation that is accessible by the client without exposing player. * Changed location type to region * Delete singleton_controller.py Removed unused Singleton * Cleanup and memes * Changed from_json and added copy Needs review * Removed deprecated client property * Fixed active contract assignment * Added comments * Fixes * More fixes Changed equals to equals to __eq__ to fit python conventions and added isinstance check. Also fixed typo in contract saving. * More fixes Changed equals to __eq__ to fit python conventions and added isinstance check. Also fixed typo in contract saving. * Quick fix * Design Changes Moved functionality to truck as suggested by Wyly * Rework Saving before potentially working on contract generation. * Comments and fix * Minor change * Fixed outdated comment * Update stats.py * Update contract_controller.py * Update action.py * Fixed multiple outputs * Merged Chris * Merged dev * began work on time function * Gas Controller changes * Buy controller? * Moved time to player * Resolved sophies suggestions * removed locationTypes File * Added file for effort controller * Added RoadType and DisasterType to enums * Added length modifier to road * Added road_type as parameter for road * Connect road types to event types * Create 2020-10-27-byte-le-minutes.md * EventHandler Logic Method to randomly chose and execute an event. * Working game! * Removed print statement! * Moved event_handler Moved into controllers and renamed to event_controller * removed controllers * Removed imports * Other minor changes * Okay guys it really works this time * Changed possible event types from sets to lists (for weighting) * Added missing name in get city by name * Add files via upload * Linked truck\'s node to map * Added missing import * Began work on upgrade controller * Add files via upload * Revert "Linked truck\'s node to map" This reverts commit 660b051. * Progress update, stuff is actually getting done folks I'm not lying this time haha * Add files via upload * Update 2020-11-17-byte-le-minutes.md * More upgrades and their tests! TODO add logic for only having one of each upgrade class * Began work on changing upgrade logic to only allow for one upgrade of each type * nearly to the pr state * Add files via upload * I'm a lazy bum for not having done any of this sooner. Happy Thanksgiving * A bit late for Thanksgiving but I think I've got something here. Seems to work alright * Add files via upload * Completed the framework for upgrading objects. * Added some comments. * Finished body upgrade controller, objects and tests. Need to align tests so they are more similar * Finished upgrade logic, changed classes so they all inherit baseUpgradeObject * here this should run I think * Add files via upload * made tests similar to eachother, all passing * here you go soph * Fixed spelling mistakes * Removed logic that only allowed you to buy gas at cities * Fixes. Added inheritence for body objects so they all have gas levels. I think it works * placeholder contract generation reimplemented, json modified * fixes and region modifiers * Added truck to/from json, logic to prevent contract selection being out of bounds * json fixes, player current node, selection modification * fixes, comments, removed redundancy * more fixes * minor fixes * Began work on implementing how upgrades impact event damage and chance. Still thinking about the best way to do this * Fixed node not calling to_json method in truck * began changes to gamestats, event controller * Fixed some json * node json and typo fix * fixed typo * Finished changing the logic for events, will start creating tests for them * fixed duplicate from merge * basic json output * Current node assignment fixes, typo * missing self in event_controller * missing import * quick fix * more progress on the event controller tests, fixes * percentage change * organization and longer roads * More progress on creating tests * Merged Dev * Finished event testing. Was unable to unit test move because it's too bulky/dependant to unit test * Removed uneccesary assignement of event controller hapenning twice, commented out auto time reduction * truck from json, contract deadline/renown, moved money to truck * removed broken is equal method * reimplement contract == method * deadline stat changes * Fixed test cases * Began looking into broken upgrade controller * Before pull dev * Reverted changes to payment * Fixes to health and gas actions so they work as intended * Uncommented game map in contract for now * Added maximum speed gamestat. Also Fixed bad reference in heal controller. Added speed unit test * Began work on documentation * Began work on documentation * Fix partial gas buy * Fixed client, __speed variable was unnecessary * Changes is not to != * Removed move unit tests * Set upgrades to base objects. minor changes to base client * Updated docs a bit * Every turn now takes one tick of time. Pumping gas, repairing and upgrading also now take time with this time listed in gamestats. Updated docs but more work to do * Fixed some formatting stuff * More formatting junk * Fixed mpg to be based on speed 'again' * Added final score * slight changes to stats. Fixed tire switching not working * fixed max turn time * Added scrimage server * Began work on scrimage server * Upped buffer size * a bunch of stuff * Updated git ignore to have vID * Added log removal after new game is run * More client changes * Update build.sh Changed back to 3 * Added new scrimmage server * Added scrimmage temp folders to git ignore * Fixed bug where runs would go past max runs * Updated client, added time subtraction for no actiontype chosen * Added url resolver. CSS style * Fixed formatting issues * Built documentation * Moved test client, changed docs * Moved some stuff around within the docs * hey look it'sa website er something maybe * Considerable changes to documentation * made some edits to the wrapper. updating should now be possible once we start working with versions which I'd really like to have started doing by now but that's neither here nor there at this point. happy face, happy thoughts happy face happy thoughts * Tiny little itty bitty change because I'm a smarty pants. Also not sure who put that semi-colon there, Riley. * Changes * Built docs, added new command * More merge conflicts that don't show up in rst files * Updated server * Resolved conflict in html, unneeded files * Added great image * Removed map comment * Fixed issue with __main__ Co-authored-by: Christopher Parks <[email protected]> Co-authored-by: Anomalous-Creator <[email protected]> Co-authored-by: [Sean Hagen] <[email protected]> Co-authored-by: qstanley <[email protected]> Co-authored-by: Christopher Parks <[email protected]> Co-authored-by: PixPanz <[email protected]>
- Loading branch information
1 parent
809f032
commit 8b1800c
Showing
66 changed files
with
1,584 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+417 Bytes
(100%)
docs/LearnTheTruckinGame/.doctrees/RunningTheGame.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.