Skip to content

A web port of the game 2048 written in JavaFX. Also cross-platform & native.

License

Notifications You must be signed in to change notification settings

webfx-demos/webfx-demo-fx2048-clone

Repository files navigation

Live demo

The demo is published on this page.

This is the game 2048. You can use the arrow keys to play (or the touch screen on tablets and mobiles). Tiles with the same number can merge into one that sums these 2 numbers. The goal of the play is to sum 2048 on a single tile.

Highlighted features

Reusability

This demo demonstrates how you can port existing JavaFX applications. There was indeed already a JavaFX version of the game, and this demo is just a port of it in WebFX so the game could be transpiled into a Web Application.

HTML/CSS mapping

This demo also shows that you can write applications such as games using the scene graph and CSS (this game is not canvas based).

About

A web port of the game 2048 written in JavaFX. Also cross-platform & native.

Resources

License

Stars

Watchers

Forks

Packages

No packages published