Author Topic: [AXE] 2048  (Read 5873 times)

0 Members and 1 Guest are viewing this topic.

Offline TiMoW1337

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 9
  • Rating: +2/-0
    • View Profile
[AXE] 2048
« on: March 18, 2014, 01:23:59 pm »
I created the game 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
« Last Edit: March 22, 2014, 08:48:49 am by TiMoW1337 »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [AXE] 2048
« Reply #1 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!

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [AXE] 2048
« Reply #2 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

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: [AXE] 2048
« Reply #3 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.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [AXE] 2048
« Reply #4 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
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: [AXE] 2048
« Reply #5 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. :/
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline TiMoW1337

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 9
  • Rating: +2/-0
    • View Profile
Re: [AXE] 2048
« Reply #6 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.

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: [AXE] 2048
« Reply #7 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 :/ )):

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.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [AXE] 2048
« Reply #8 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 :/ )):

You can "enlarge" it by yourself with just some more bbcode. Replace [img] with [img width=200] for example to get this:
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: [AXE] 2048
« Reply #9 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 :/ )):

You can "enlarge" it by yourself with just some more bbcode. Replace [img] with [img width=200] for example to get this:

Hayleia, once again, you have my blessing. :)

But yeah, use that. :/
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [AXE] 2048
« Reply #10 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

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: [AXE] 2048
« Reply #11 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
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza