Elm Pixel Boulder Game
The Elm Pixel Boulder Game is a bit "out-of-hand" experiment to write a game in a pure functional language. I tried to apply some tricks out of the books like the Actor-Component system which allows you to configure the entities in assets.
For years I wanted to build a led table like this one (not mine). Which I would probably do on a raspberry pi in Python. One of the games I would like to make for it is the old school Boulder Dash. And I thought, if I could make Boulder Dash in a pure functional language like Elm. Then I could probably write about any game you can create in a 12 by 12 pixels grid in Python.
This is also the reason why its all pixel-ish (the menu and some original levels).
When I showed people this they where like "mhe" until I decided to add images. Suddenly it really looked like the old Boulder Dash!
Play the game!
You can play the game at github pages.
Easy level editor
And then play your own level!
Advanced level editor
If you do not like the default configuration then you can also use the advanced editor to configure more of your game!
Clone the repository.
git clone https://github.com/JordyMoos/elm-pixel-boulder-game.git
Go into the directory.
Install the dependencies.
Run the local version.
And play it in your browser at localhost:3000
Create a prod build
After installing the dependencies you can also create a production build.
npm run prod
Which will create the production version in the