Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: TiMoW1337 on March 18, 2014, 01:23:59 pm

Title: [AXE] 2048
Post by: TiMoW1337 on March 18, 2014, 01:23:59 pm
I created the game 2048 (http://gabrielecirulli.github.io/2048/) in axe.
The game is really fun and I wanted to play it on my calculater.
Currently it has no animations.
If you have any suggestions please reply.


EDIT: added source code
Title: Re: [AXE] 2048
Post by: Sorunome on March 18, 2014, 02:39:49 pm
Next time when you accidentally posted in the wrong sub-forum please just ask an admin to move it instead of double-posting ;)
Thanks!
Title: Re: [AXE] 2048
Post by: DJ Omnimaga on March 18, 2014, 03:25:05 pm
I used to be able to move topics, but I lost that ability after the upgrade due to the different newsing procedure. D:

Also nice game idea, I noticed that it was quite popular on Cemetech lately. Even a doge version was made :P https://twitter.com/kermmartian/status/445733383293767681
Title: Re: [AXE] 2048
Post by: JWinslow23 on March 19, 2014, 04:48:05 pm
First of all, welcome to Omnimaga!
Second of all, I've never heard of this game before I played the online version. This seems like it's a good port of the original game (minus the sliding animation, and the bulging animation whenever two blocks meet; I'm sure you'll work on that, though ;) ).
Third, just a tip: Always include the Axe source in your post, at LEAST. You seem to have only put the compiled result in there, and it's customary to have the source there as well. :P


Overall, I'd say this is great! However, this can be improved...give us the source, and we could probably help you.
Title: Re: [AXE] 2048
Post by: Hayleia on March 19, 2014, 05:14:00 pm
Third, just a tip: Always include the Axe source in your post, at LEAST. You seem to have only put the compiled result in there, and it's customary to have the source there as well. :P


Overall, I'd say this is great! However, this can be improved...give us the source, and we could probably help you.
Well maybe that since you came here, everybody always included the source, but this is not compulsory ;)
I, for example, gave the source of my Flappy Bird clone because I had problems with the code, and also because I don't care that much about this game, but I didn't release TInyCraft and Pokemon with their source.

Anyway, nice game :)
Too bad there are no animations, but the mechanics are there and the gameplay is great. We play this game a lot at school on computers or phones, and now on calcs :P
Title: Re: [AXE] 2048
Post by: JWinslow23 on March 19, 2014, 09:39:12 pm
I think I was the last of all of us to hear about 2048 (I first heard about it in this thread)...yet nobody in my school has heard of it. :/
Title: Re: [AXE] 2048
Post by: TiMoW1337 on March 20, 2014, 12:41:52 pm
Thanks for the replies.
I will post the source soon, I just have to optimize it.
The animations are difficult because the algorithm first checks the complete board as one, not each block individually which is diffcult to do on a calculator.
Title: Re: [AXE] 2048
Post by: JWinslow23 on March 20, 2014, 01:20:14 pm
Thanks for the replies.
I will post the source soon, I just have to optimize it.
The animations are difficult because the algorithm first checks the complete board as one, not each block individually which is diffcult to do on a calculator.
I don't know what you mean by that. :/


I, however, have an idea on the order in which the blocks should be processed (slide the blocks in the direction specified in this order ((please view the image close up; I'm too lazy to enlarge it :/) rotate to get how the other sides should be processed (same starting point); I'm to lazy to do so myself :/ )):
(http://img.ourl.ca/2048Sliding.bmp)
Also, I think that you should have two boards stored: one for the visible board, and one initally similar to that board to process the sliding. That way, animations are possible.
Title: Re: [AXE] 2048
Post by: Hayleia on March 20, 2014, 04:03:41 pm
((please view the image close up; I'm too lazy to enlarge it :/ ) rotate to get how the other sides should be processed (same starting point); I'm to lazy to do so myself :/ )):
(http://img.ourl.ca/2048Sliding.bmp)
You can "enlarge" it by yourself with just some more bbcode. Replace [img] with [img width=200] for example to get this:
(http://img.ourl.ca/2048Sliding.bmp)
Title: Re: [AXE] 2048
Post by: JWinslow23 on March 20, 2014, 05:11:23 pm
((please view the image close up; I'm too lazy to enlarge it :/ ) rotate to get how the other sides should be processed (same starting point); I'm to lazy to do so myself :/ )):
(http://img.ourl.ca/2048Sliding.bmp)
You can "enlarge" it by yourself with just some more bbcode. Replace [img] with [img width=200] for example to get this:
(http://img.ourl.ca/2048Sliding.bmp)
Hayleia, once again, you have my blessing. :)

But yeah, use that. :/
Title: Re: [AXE] 2048
Post by: DJ Omnimaga on March 21, 2014, 12:13:38 pm
I think I was the last of all of us to hear about 2048 (I first heard about it in this thread)...yet nobody in my school has heard of it. :/
i first heard about it on Cemetech and only got an idea of what it was when I saw Doge2048 screenshot on Twitter. :P
Title: Re: [AXE] 2048
Post by: TheCoder1998 on April 06, 2014, 02:20:57 pm
this is a very nice port of 2048 :D

but it's kinda buggy, as it freezes a lot and i need to pull a battery to stop the program
i think you should fix this