Author Topic: 2048 Clone, Ti 89, C  (Read 9549 times)

0 Members and 1 Guest are viewing this topic.

Offline 1cook

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +0/-0
    • View Profile
2048 Clone, Ti 89, C
« on: March 01, 2016, 10:43:04 pm »
Features:
  • Tile Move Animations
  • Save Games
  • High Scores

Here is the file that you send to your calculator, https://github.com/1cook/t2048/raw/master/t2048.89z
Source code, https://github.com/1cook/t2048/blob/master/t2048.c

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: 2048 Clone, Ti 89, C
« Reply #1 on: March 02, 2016, 06:03:27 am »
Wow, awesome to see some more stuff for the 89 calcs, great job! :D
 

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

Offline Dudeman313

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 106
  • Rating: +2/-0
  • I am the embodiment of honorificabilitudinity.
    • View Profile
Re: 2048 Clone, Ti 89, C
« Reply #2 on: March 02, 2016, 02:41:26 pm »
Looks nice! And question:
Because this is written in C, could it be recompiled for the CE, or would it need to be modified to do so?
Does this qualify as a signature?
The answer is "Sure."

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: 2048 Clone, Ti 89, C
« Reply #3 on: March 02, 2016, 02:42:43 pm »
Looks nice! And question:
Because this is written in C, could it be recompiled for the CE, or would it need to be modified to do so?
It would still require some modification to port the the CE, but is entirely doable. If this were written in 68k assembly, then it wouldn't be feasible to port.
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline Dudeman313

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 106
  • Rating: +2/-0
  • I am the embodiment of honorificabilitudinity.
    • View Profile
Re: 2048 Clone, Ti 89, C
« Reply #4 on: March 03, 2016, 06:56:02 am »
Looks nice! And question:
Because this is written in C, could it be recompiled for the CE, or would it need to be modified to do so?
It would still require some modification to port the the CE, but is entirely doable. If this were written in 68k assembly, then it wouldn't be feasible to port.
So, would the modifications be screen-size related, or just including some files (ti84pce.inc, etc.)?
Does this qualify as a signature?
The answer is "Sure."

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: 2048 Clone, Ti 89, C
« Reply #5 on: March 03, 2016, 08:04:53 am »
The graphics routines would have to be updated for CE, i think it just uses a rectangle routine which i believe Mateo has already provided. I dunno if the CE has a dialog box library or not. I'm also not sure if the files library has been implemented yet (to save data to appvars/programs etc.). The main logic should port over easily enough, but some calculator specific stuff might require a bit of tweaking.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: 2048 Clone, Ti 89, C
« Reply #6 on: March 03, 2016, 10:01:18 am »
@1cook  Welcome to Omnimaga! It's pretty rare to see a 68k project these day, but it's quite a welcome site. :)