Bug 593

Summary: PacMan moves into walls
Product: Group14-Pacman Reporter: Aleksa <ajelaca2-c>
Component: GameAssignee: Alex <alex.scriba>
Status: RESOLVED FIXED    
Severity: major CC: tianxyang3-c
Priority: High    
Version: 0.0.1   
Hardware: PC   
OS: Windows   

Description Aleksa 2021-11-21 00:48:21 HKT
I run Main.java and input the command "UP". Up from PacMan is a wall. He goes into the wall instead of keeping its current position
Comment 1 Aleksa 2021-11-21 00:50:11 HKT
The problem was in handleMovements() in Game.java, as we did not check whether PacMan's next postion is a wall or not, but rather it's current position. Now it is fixed