I learned a lot about Python and tpserver-py this week. Mostly about shelves and some of the inner workings of the SQL system in tpserver-py.
- Basic Research implementation is up!
- It was fun. Most of what needs to be done now should be simple to implement.
- I have to refactor it out of using shelve and into tpserver-py’s normal database.
- Shelve helped me get the basic design pattern of the research done which was essential to figuring out how I wanted to implement it. It should make next week simpler as I can concentrate on learning the SQL part of tpserver-py.
- Each player now uses their own Drone list when producing drones
- Players can now research new drones
- Found a bug with Order Packets and fixed it.
- This was technically my first real (and I’d say impacting) fix to tpserver-py. It allows protected attribute functions for orders to access their object ids. Fixing this will allow me to know which player is the one researching or building drones so I can provide them with their own list of options.
I wasn’t able to look into Time Frames much since I decided to focus more on research as it is the last major milestone I’ve set to achieve before the mid-term evaluations.
Next Week:
- Going to refactor Research into the tpserver-py’s database using the SQLType.
- Going to add some more Research options and types
- Implement those types into the actual game so they have an impact
- If time permits, I’ll try to look into the Time Remaining Frames.