This repo holds the source code for the detailed blog post on how to build it on ng-newsletter.com.
See the demo at http://ng2048.github.io/.
Ari Lerner & Nate Murray Fullstack.io
2048 demo
This repo holds the source code for the detailed blog post on how to build it on ng-newsletter.com.
See the demo at http://ng2048.github.io/.
Ari Lerner & Nate Murray Fullstack.io
The calculateNextPosition method in grid.js, we can find that the withinGrid method called 3 times, first in while loop, second in cellAvailable and last getCellAt. Only do this check in getCellAt.
My first words on github.....:D
I made some searching and finally found that all that missed was the grunt-karma line in the "package.json" file.
I tried to "npm install --save-dev grunt-karma" and it worked just fine.
Thanks a lot for the awesome work. :)
(same as title)
We need the ability to share a board via a URL. For example, in a development environment, you might generate a URL that looks like this:
With no value, we're sharing an empty board. However, in a completed game, we want to share something like this:
Would it be difficult to extend the game to go beyond 2048?
Hey,
nice work!
As the following image depicts, when it's about a four-digit number, the font exceeds the given area for the specified tile (in this case, the 1024
tile), to the right.
Thing is, that decreasing the font size for the case of a four-digit number, will possibly lead to an aesthetical inconsistency (from my point of view).
What's your opinion?
This may be a stupid question, but how do I run this project using node?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.