Energy Bar working and game over cases added