8000 GitHub - sixcircuit/2048: A small clone of 1024 (https://play.google.com/store/apps/details?id=com.veewo.a1024)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sixcircuit/2048

 
 

Repository files navigation

2048

A woman I met once told me she built game players when she wanted to be done with a game. She was right. This cured my addiction to 2048.

I had to refactor the original code to be computer "player" compatable. You can build off of it if you like, just mess around with the algorithms that compute desireable board states.

Some of the code is a little janky, some of that is my fault, some isn't. The place you would plug in your own player is pretty well defined, and stable.

It'd be great if you could plug in different players and compare them. It'd be great if the code was cleaner. I'm not going to do either.

It'll play forever. On "Watch It" mode, it'll play on fast until it hits 1024 then goes to medium till 1024 + 512, then slow when it hits 1024 + 512 + 256.

Enjoy.

Also, my layout changes aren't in the scss files, only the main.css file. Shit's weak. I know. If you want to be awesome, fix the layout, which is kinda busted anyway.

Watch it play here!

You can play the original here.

A small clone of 1024, based on Saming's 2048 (also a clone).

Contributions

Many thanks to rayhaanj, Mechazawa, grant, remram44 and ghoullier for the many other good contributions.

Screenshot

Screenshot

Contributing

Changes and improvements are more than welcome! Feel free to fork and open a pull request. Please make your changes in a specific branch and request to pull into master! If you can, please make sure the game fully works before sending the PR, as that will help speed up the process.

You can find the same information in the contributing guide.

License

2048 is licensed under the MIT license.

About

A small clone of 1024 (https://play.google.com/store/apps/details?id=com.veewo.a1024)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.7%
  • CSS 7.3%
  • SCSS 4.4%
  • HTML 1.5%
  • Ruby 0.1%
0