This small logic game written in JavaScript+HTML5 has spawned quite a lot of variants. There is a site called Make Your Own 2048 where you can switch the original's numbers to any text or image and share your creation. However, modifying the game logic requires some programming knowledge and sometimes bigger rework of the original JavaScript code.
My goal with an F#-based version was to have an easily overriden game rules class to enable writing a new variant in a few lines of code. In CloudSharper, you can write and play your variant right in your browser window. Clone this shared workspace and look for the file Variants.fs
for editing. Build the project and open index.html
and switch to Document/Split view for easiest testing, or use the Workspace/Deploy locally (Ctrl+D) menu option.
Currently the grid size and the tiles' appearance can't be customized, but expect this demo to be expanded to show off more features coming to CloudSharper.
Can’t find what you were looking for? Drop us a line.