2048 game with F# + WebSharper Core team
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.