In the following the browser game PacMan based on Elm is developed. Due to the latest browser policies in the browser Chrome the automatic playback of audio is no longer supported. We therefore recommend the use of Firefox or Edge. This document will be expanded in the course of development.
Before you start the application, you must compile the newest PacMan class as javascript file, as the following:
$ elm make src/Main.elm --optimize --output src/Assets/elm.js
After this step, you can run the application by tiping the following command in terminal:
$ elm reactor
Now you can open the page by following this link http://localhost:8000/src/index.html.
You can also easily view and test the application on the GitHub Page without having to compile it yourself in your development environment.
The game starts directly when you enter the page.
To move PacMan the arrow keys of the keyboard are used. To pause or resume the game the escape key is used.
See Requirements