I am programming a Pac man game. But I don't know how I can create a Level. I have upload the file, where you can see how the level should look. P stands for Pacman, M for his opponent, and # is a power up, * is the wall and ... is the stuff which he has to collect. My first idea, was that I convert this file into an Array. Then I could use a for loop, to display it on the Screen.
But how can access the file?
Can someone please help me?