Ciezo/Snake-Game

On Gameplay Window and Gameplay what happened was the Snake character is moving over the whole components

Opened this issue · 1 comments

Ciezo commented

Problems
While playing the game and as I embedded the Snake character from SnakeProto to the SnakeGame's game_frame, it was moving over bounds, and the whole components inside the panel.

Enumeration:

  1. Snake is moving over the gameplay panel on game_frame
    
  2. Snake character is not able to move well when setBounds on Y coordinate is set to more thant 100 
    
  3. Snake movement is not processing at all when we try to modify the setBounds
    

Detailed Descriptions
After many tries, solutions, and implementations we have finally embedded a Snake character instance with complete game mechanics onto the game_frame, however, we still continue to experience problems with the positioning of the overall layout because the whole Snake instance from SnakeProto class is OVER THE COMPONENTS of the gameplay panel and game_frame


Screenshots
Put all your screenshots here! This will be helpful for debugging, fixes, and improvements!!
image

The snake character from SnakeProto instance is over the top of the UI components!
Turned on gridlines for better X and Y grids

Ciezo commented

Possible fix is we rewrite a whole snake character with all the required game mechanics. And this is on the different or separate class!