Sunday, 16 November 2014

2048 game

Wow. Its been a very long time. 
I don't even know if someone somewhere is reading this but i would just keep posting from now henceforth. 
I just found out that the creator of the game 2048 is a teenager like me and same age. 
Cool. I went looking for the source code and found it on GitHub. 
He is a very wonderful programmer. 
I went through the code even with my little knowledge of JavaScript, i was able to understand the logic behind some of the main features of the game. Like the movement of the tiles, adding two equal numbers, the random generator that produces either 2 or 4 after each move, etc... It really sparked a new interest for me. I have been trying to get some Jess. I think you guys should check it out.Source code:2048 source code (2048 game) Remember, this blog is for beginners so please i don't want any intimidation coming from expert programmers. Thank You all.. More post coming soon...

1 comment: