Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart functionality in Main class and Enum for snake directions #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Commits on Jan 23, 2021

  1. replaced int snake directions with directions enum

    George Bouroutzoglou committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    6a2015a View commit details
    Browse the repository at this point in the history
  2. added game restart loop in Main

    and minor changes to accommodate that in Window and ThreadsController.
    
    Ensured proper termination of the ThreadsController thread and timely disposing of previous JFrames
    George Bouroutzoglou committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    ebe607d View commit details
    Browse the repository at this point in the history
  3. made the game window centered by default

    Quality of life improvement to avoid players having to center manually after restarts
    George Bouroutzoglou committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    8e464cf View commit details
    Browse the repository at this point in the history