Line 97: | Line 97: | ||
var bt1=document.getelementbyid("btn1"); | var bt1=document.getelementbyid("btn1"); | ||
var bt2=document.getelementbyid("btn2"); | var bt2=document.getelementbyid("btn2"); | ||
− | function bt1{ | + | function bt1(){ |
addClass(bt1,"active"); | addClass(bt1,"active"); | ||
removeClass(bt2,"active"); | removeClass(bt2,"active"); | ||
mergerule=0; | mergerule=0; | ||
} | } | ||
− | function bt2{ | + | function bt2(){ |
addClass(bt2,"active"); | addClass(bt2,"active"); | ||
removeClass(bt1,"active"); | removeClass(bt1,"active"); |
Revision as of 14:30, 7 October 2017
2048
0
0
Color mixing version of 2048
New GameHow to play: Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one!
Note: This is the special version of 2048 game to help people feel the rules of color mixing. Adapter is SJTU-Biox-Shanghai.
Original 2048 game is created by Gabriele Cirulli. Based on 1024 by Veewo Studio and conceptually similar to Threes by Asher Vollmer.