Skip to content

drewfravert/2048

Repository files navigation

2048

Build Status Release Version Dependency Status Development Dependency Status License

This is a port of the popular tile game by Gabriele Cirulli written in Elixir. This repo is a medium for me to experiment with Elixir, Phoenix & OTP, to demonstrate my engineering abilities, and so my wife can play her favorite game ad-free.

The game uses LiveView, which isn't ideal for this type of game, but wanted to use this as a sandbox for my personal learning and enjoyment. That said, if you have a decent internet connection, you shouldn't really notice any latency.

Quick Start

Want to go ahead and jump in? Play the game online.

If you would prefer to run the game locally:

  • Clone this repo with git clone git@github.com:drewfravert/2048.git
  • Setup the application environment with mix setup
  • Add game.local as an alias to localhost in your /etc/hosts file
  • Start the server with mix phx.server
  • Visit https://game.local:4001 in your browser.

Feature Roadmap

  • Leaderboard
  • Recap of played games
  • Live observation of ongoing games

Questions / Requests

If you have questions or would like to request a new feature, you may reach me at drew@fravert.org.

License

Licensed under the MIT License.