Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shank404/fp_snake

~~ Elm / Browser Game ~~ This is a snake game written in Elm. The language itself is a functional language. I learned many declarative concepts while developing this project. This game was a task in my studies.
https://github.com/shank404/fp_snake

currying elm elm-architecture elm-lang functional-programming higher-order-functions

Last synced: about 1 month ago
JSON representation

~~ Elm / Browser Game ~~ This is a snake game written in Elm. The language itself is a functional language. I learned many declarative concepts while developing this project. This game was a task in my studies.

Awesome Lists containing this project

README

        

# FP_Snake

Hello and welcome to my functional Snake implementation.
This game was developed while i was learning the concepts of declarative programming.
It's very simple in it's design and mechanics.

## How to start the game ?
- Clone this repository.
- Install elm in your package manager -> ` npm install -g elm `
- Start your IDE of choice and open the project.
- Run following command in the integrated terminal -> ` elm reactor `
- Now open your browser and navigate to -> ` http://localhost:8000/src/SnakeGame.elm `

## How to control the snake ?
Just use the arrow keys on your keyboard.

Have fun :)!