Jump to content

Photo

2048 game for Intellivision

2048 Intellivision ROM

62 replies to this topic

#1 nanochess ONLINE  

nanochess

    River Patroller

  • 4,587 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Wed Nov 9, 2016 9:53 PM

Hi everyone.

Today I was kind of bored and tired trying to implement an algorithm for a game that I'm doing by request.

Casually I ended in the 2048 game page, and I passed half an hour playing it.

The objective of the game is to move all numbers in any of 4 directions (like falling), and the numbers of same value collapse, till you get the magical 2048 number. It's not so easy.

I thought it would make a very interesting Intellivision game and I started coding it, it took me 4 hours. :grin:

And here is it after some polishing, including adding some music by First Spear ;)

Edit: BTW sources included, maybe tomorrow I'll add now including a pair of sound effects I've forgot.

 

Edit 2: Now with 4096 and 8192 modes, press 5 in title screen ;)

 

Edit 3: Now with the extra modes by Kiwi and Tarzilla, code clean and re-indented to my style :P and also with my original "classic" mode.

(click to animate)
mvi_0007.gif

 

Attached Files



#2 atari5200dude82 OFFLINE  

atari5200dude82

    Stargunner

  • 1,169 posts
  • Location:ATLANTIS

Posted Wed Nov 9, 2016 11:58 PM

Very cool . Looks interesting

#3 fdr4prez OFFLINE  

fdr4prez

    Stargunner

  • 1,108 posts

Posted Thu Nov 10, 2016 1:10 AM

This is a game i play a lot of on my phone.

 

Now I can play it old skool style

 

Thanks!



#4 mthompson ONLINE  

mthompson

    Dragonstomper

  • 571 posts
  • Location:Northern Illinois

Posted Thu Nov 10, 2016 11:00 AM

Neat! I like puzzle games, and this one is simple but challenging one. Thanks for completing and posting it!



#5 Byte Knight OFFLINE  

Byte Knight

    Stargunner

  • 1,009 posts
  • Robinett Rules!
  • Location:Waconia, MN

Posted Thu Nov 10, 2016 2:07 PM

Amazing what you can program in 4 hours!



#6 nanochess ONLINE  

nanochess

    River Patroller

  • Topic Starter
  • 4,587 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Thu Nov 10, 2016 7:08 PM

Added version 2 with sound effects and a gameplay video. (check first post)



#7 Eric7100 OFFLINE  

Eric7100

    River Patroller

  • 3,057 posts

Posted Thu Nov 10, 2016 7:34 PM

When does the CIB version come out?  :)



#8 nanochess ONLINE  

nanochess

    River Patroller

  • Topic Starter
  • 4,587 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Thu Nov 10, 2016 7:39 PM

When does the CIB version come out?  :)

 

As soon as Tarzilla and freewheel start IntyBASIC showcase vol.2 :P



#9 Byte Knight OFFLINE  

Byte Knight

    Stargunner

  • 1,009 posts
  • Robinett Rules!
  • Location:Waconia, MN

Posted Thu Nov 10, 2016 8:49 PM

Yeah baby!

 

IMG_2256.JPG



#10 nanochess ONLINE  

nanochess

    River Patroller

  • Topic Starter
  • 4,587 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Thu Nov 10, 2016 9:00 PM

Yeah baby!

 

attachicon.gifIMG_2256.JPG

 

:o I'm astonished!



#11 5-11under ONLINE  

5-11under

    River Patroller

  • 3,152 posts
  • Location:Ontario, Canada

Posted Thu Nov 10, 2016 9:37 PM

Is 2048 the end of the game, then? You should be able to keep playing. I know I've got the 4096 before, so I'd add support up to 8192 at least (realizing 16384 and higher won't fit as easily).



#12 mthompson ONLINE  

mthompson

    Dragonstomper

  • 571 posts
  • Location:Northern Illinois

Posted Thu Nov 10, 2016 9:44 PM

How does the Score work? Does a lower score indicate fewer moves, or is a higher number better?

#13 nanochess ONLINE  

nanochess

    River Patroller

  • Topic Starter
  • 4,587 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Thu Nov 10, 2016 10:28 PM

Is 2048 the end of the game, then? You should be able to keep playing. I know I've got the 4096 before, so I'd add support up to 8192 at least (realizing 16384 and higher won't fit as easily).

 

Yep, 2048 is the end of the game. Hmmmm, it could be a startup option.

 

How does the Score work? Does a lower score indicate fewer moves, or is a higher number better?

 

Yep, a lower score indicates fewer moves because each time you merge a number, the resulting number is added to your score.

 

Anyway not a "clear" better score as the number seed in board is pseudo-random.



#14 Tarzilla OFFLINE  

Tarzilla

    Stargunner

  • 1,659 posts
  • Location:Alberta, Canada

Posted Thu Nov 10, 2016 10:52 PM

As soon as Tarzilla and freewheel start IntyBASIC showcase vol.2 :P

I'm still recovering from Volume 1 ;)

#15 Byte Knight OFFLINE  

Byte Knight

    Stargunner

  • 1,009 posts
  • Robinett Rules!
  • Location:Waconia, MN

Posted Thu Nov 10, 2016 11:02 PM

Is 2048 the end of the game, then? You should be able to keep playing. I know I've got the 4096 before, so I'd add support up to 8192 at least (realizing 16384 and higher won't fit as easily).

 

Having the option of being able to play to 2048, 4096, or 8192 would be cool.



#16 fdr4prez OFFLINE  

fdr4prez

    Stargunner

  • 1,108 posts

Posted Thu Nov 10, 2016 11:11 PM

Unfortunately I removed the game phone, but I also had a super high number.

Maybe I'll reinstall it and see if I can repeat it.

#17 cmart604 OFFLINE  

cmart604

    Quadrunner

  • 11,031 posts
  • Location:Vancouver

Posted Thu Nov 10, 2016 11:39 PM

Is there a snow level?

#18 Kiwi OFFLINE  

Kiwi

    Stargunner

  • 1,332 posts

Posted Fri Nov 11, 2016 12:12 AM

Is there a snow level?

Isn't that rev's line? :ponder:



#19 Rev OFFLINE  

Rev

    A.K.A. Revolutionika

  • 15,073 posts
  • Location:NC

Posted Fri Nov 11, 2016 8:47 AM

I'm still recovering from Volume 1 ;)


Me too. Ha

#20 Rev OFFLINE  

Rev

    A.K.A. Revolutionika

  • 15,073 posts
  • Location:NC

Posted Fri Nov 11, 2016 8:47 AM

Is there a snow level?


Plagiarism!

#21 Rev OFFLINE  

Rev

    A.K.A. Revolutionika

  • 15,073 posts
  • Location:NC

Posted Fri Nov 11, 2016 8:48 AM

Isn't that rev's line? :ponder:


Hey. That line works! I've talked groovybee to adding snow levels in every game he does. Hahaha.


;-)

#22 nanochess ONLINE  

nanochess

    River Patroller

  • Topic Starter
  • 4,587 posts
  • Coding something good
  • Location:Mexico, Mexico

Posted Fri Nov 11, 2016 11:53 AM

Now with 4096 and 8192 mode ;) press 5 in title screen (check first post)



#23 Kiwi OFFLINE  

Kiwi

    Stargunner

  • 1,332 posts

Posted Fri Nov 11, 2016 12:25 PM

OOoo... Source code.  Maybe rev will get his snow level he wanted. *rub hands* Muhahahahaha *thunderclaps*


Edited by Kiwi, Fri Nov 11, 2016 12:30 PM.


#24 fdr4prez OFFLINE  

fdr4prez

    Stargunner

  • 1,108 posts

Posted Fri Nov 11, 2016 4:02 PM

Many of the games like this have a selection of different board sizes, such as 3x3, 4x4, 5x5, etc, and a "take back" button to go back one move for when you accidentally click the wrong direction.

#25 Kiwi OFFLINE  

Kiwi

    Stargunner

  • 1,332 posts

Posted Fri Nov 11, 2016 4:42 PM

2o48.png <-- does not animate, just showing off my score

 

Here's a youtube video I made snow in action:

 

Snow addified:  Attached File  2048s.zip   14.08KB   64 downloads

 

Kinda funny that as I was adding the feature to the Interrupt procedure, it wouldn't work.  The window would pop up and close.  Reading in the manual in the past basically saying don't put too much work in the on frame loop or stack overflow will occur, was on my mind. It took me awhile to remember if ROM size is over 16KB, remap the data.  So I did that and then the snowing animation worked.  Yay!!! With priority bit on for the back snowflakes.  So I went ahead and boot up tile studio to draw the number and the backdrop for the bottom of the screen.  The numbers are attached in the zip file.  Only thing you have to know that the number 128, and 2048, the last tile displaying 8 is the duplicate tile that Intycolor found.  So keep that in mind that you'll have to update the 2048 and above tile information in the 2 print_at trees in the source code if you're redrawing those 2 numbers.  I changed the graphic mode to colorstack mode to make the priority bit work right for the numbers. 

 

I don't know if I broke anything or not.  That snowman isn't from Christmas Carol as far as I know of.

 

Rev(and/or cmart) will now have to put this on his LTO Flash and play it on his Intellivision.


Edited by Kiwi, Fri Nov 11, 2016 5:12 PM.






Also tagged with one or more of these keywords: 2048, Intellivision, ROM

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users