Skip to content

A basic RPG implemented in Elm, with a reference JS implementation for comparison

License

Notifications You must be signed in to change notification settings

joelclermont/elm-rpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-rpg

A basic RPG implemented in Elm, with a reference JS implementation for comparison

Elm is one of my favorite things and I've tried to share that joy with my 15 year old son, who is very interested in programming. So you can just imagine my shock and horror to walk into his room and find him writing a game in JavaScript! How could he do this to me?!

I thought this could be a good opportunity to demonstrate why I like Elm, so I decided to reimplement his JS game in Elm. Then we could compare and contrast which was a better developer experience.

I also saw it as a good opportunity for me to learn. I've been using Elm for a little less than a year, but mainly for businessy web apps, nothing like games with sound and animation and collision detection.

This repo contains both my Elm implementation and my son's JS implementation.

##Current game status##

  • random map generation
  • player movement

##Next steps##

  • better map tiles
  • better player sprite
  • collision detection
  • item system
  • music
  • sound effects

##Game demos##

JS game

Elm game

About

A basic RPG implemented in Elm, with a reference JS implementation for comparison

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages