gabrielecirulli/2048
View on GitHub ↗ ★ 13,459 JavaScript
The source code for 2048
15 mentions on Hacker News by 15 people: 2 stories, 13 comments · first 2014-03-10 · latest 2024-09-29
20082026
-
▲ 2
Open-Source 2048: Play, Customize, and Learn from the Classic Puzzle Gamestory by HoloShift · 2024-09-29 · 0 comments
-
…hacked it to 4096 with a 5x5 layout so I could play longer. :) EDIT: I think I took this project: https://github.com/gabrielecirulli/2048 and modified it
comment by m463 · 2023-11-01 · in The beauty of finished software -
…(if it's just a text one) in new tabs. 1. https://gabrielecirulli.github.io/hn-special/ 2. https://github.com/gabrielecirulli/2048
comment by flanbiscuit · 2022-09-08 · in Show HN: I made a modern web UI for Hacker News -
…sizes <1MB https://github.com/xmrig/xmrig/releases edit: apparently the actual game is based on https://github.com/gabrielecirulli/2048 which is HTML+JS, so probably the Snap was bundling in Chromium/Electron, which explains the size.
comment by zokier · 2018-05-12 · in Malware Found in the Ubuntu Snap Store -
I like the structure of the game 2048 https://github.com/gabrielecirulli/2048 and I think it will be highly instructive for you since it implements the MVC pattern without using a framework, and you want to be framework agnostic. 2048 is…
comment by Kortaggio · 2015-05-07 · in Ask HN: Good JavaScript single page applications to learn from -
You mean this? https://github.com/gabrielecirulli/2048
comment by gee_totes · 2015-04-07 · in Three.js – JavaScript 3D library -
▲ 1
2048 game source codestory by FranklinGeorge · 2014-07-11 · 0 comments
-
It's exactly the same under the hood as Gabriele's original 2048 from https://github.com/gabrielecirulli/2048
comment by themadcreator · 2014-04-06 · in 2048 in 3D -
…date, it should be strictly after 2014-03-13 (as CSS transforms were added to 2048's repo that day https://github.com/gabrielecirulli/2048/commit/7c6fd1b2a4acb... ), and from there, test the apps. I rewrote the whole game's code as an…
comment by idlewan · 2014-03-25 · in “1024,” “2048″ And Other Copies Of Popular Paid Game “Threes” Fill App Stores -
…about a week after that. [1] http://www.theverge.com/2014/2/6/5361708/threes-ipad-iphone-... [2] https://github.com/gabrielecirulli/2048/commit/f4d95b66723cd...
comment by mbrubeck · 2014-03-23 · in 2048: The Nihilistic Face Of Free To Play -
I submitted a pull request The original source is here: https://github.com/gabrielecirulli/2048/blob/master/js/game_... (line 62)
comment by shawabawa3 · 2014-03-14 · in 2048 in the terminal -
The new tiles are only 2 (90%) and 4 (10%). From the source https://github.com/gabrielecirulli/2048/blob/master/js/game_... // Adds a tile in a random position GameManager.prototype.addRandomTile = function () { if…
comment by gus_massa · 2014-03-14 · in 2048 x 2 = 4096