Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/shank404/fp_snake
- Owner: Shank404
- Created: 2023-08-14T22:39:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-14T23:07:51.000Z (over 1 year ago)
- Last Synced: 2024-10-12T20:03:26.298Z (about 1 month ago)
- Topics: currying, elm, elm-architecture, elm-lang, functional-programming, higher-order-functions
- Language: Elm
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 :)!