Recent Work, 6/30/2016

In the screen refactor:

  • All loop functions for Win and Retire screens have been integrated into Game() and Screen() objects.  Just need to automate their initialization.
  • Started moving event handling into the the Screen() class, with classes for different kinds of events.  Current goal is to get the simplest screens (Win and Retire, which should merge eventually) to be handled completely in the game object.
    • An action that occurs when any key is pressed is in the AnyKey() class.
    • An action that occurs when the quit button [X] is in the Quit() class.
    • Moved button activation into screen refactor.

Errors Seen but Not Heard:

  • Apparent problem with saving.  Occasional loss of file permissions.  Possibly due to programming in cloud.

Current Plan for Screen Refactor

  1. Push all actions on the Win and Retire screens into Game() and Screen() objects. 
  2. Push all actions in the Login screen into Game() and Screen() objects.
    • Need to get some interactivity with the name variable.
  3. Work on the selection screen to get levels and tutorials into Game() and Screen objects.
  4. Push all actions in the Selection screen into Game() and Screen() objects.
  5. Work on moving the program into the Game() object so that it's manipulable.
  6. Integrate parts of that into the Win and Retire screen.. (i.e., you can move stuff around, but not alter the program).
  7. Work on moving inputs in the game() function into Game() and Screen() objects.
  8. Push Game screen into the Game() and Screen() objects.
  9. Integrate the Win and Retire screens.