The problem is that there is no way to possible lose if playing competently. You have four ghosts which means that wherever Pac-Man goes you can easily block all of his exits (especially because he is so slow) and send the last ghost to catch him. If his AI was improved this problem might possibly be solved.