A library of simple, dependency-free 2048 games coded in various programming languages (currently just JavaScript and C).
- C - Unix-like OS with a
makeutility installed - JavaScript - ES2020 supported web browser
The games for each language is purposefully placed in their own directory within languages so be sure to navigate to the desired source code accordingly before getting started.
Run make cli-2048 && ./cli-2048 on the command line
In VSCode, I recommend using the "Live Preview" extension developed by Microsoft and starting it with the index.html file selected.
Alternatively, you could use any web server software pointing to the javascript directory. One simple option for users with Node.js and NPM installed on the system is to install the package http-server globally (npm install -g http-server) then run http-server . -o. This will open your default web browser and load the index.html file automatically.