Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI 68K => Topic started by: 1cook on March 01, 2016, 10:43:04 pm

Title: 2048 Clone, Ti 89, C
Post by: 1cook on March 01, 2016, 10:43:04 pm
Features:

Here is the file that you send to your calculator, https://github.com/1cook/t2048/raw/master/t2048.89z (https://github.com/1cook/t2048/raw/master/t2048.89z)
Source code, https://github.com/1cook/t2048/blob/master/t2048.c (https://github.com/1cook/t2048/blob/master/t2048.c)
Title: Re: 2048 Clone, Ti 89, C
Post by: Sorunome on March 02, 2016, 06:03:27 am
Wow, awesome to see some more stuff for the 89 calcs, great job! :D
 
Title: Re: 2048 Clone, Ti 89, C
Post by: Dudeman313 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?
Title: Re: 2048 Clone, Ti 89, C
Post by: Ivoah 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.
Title: Re: 2048 Clone, Ti 89, C
Post by: Dudeman313 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.)?
Title: Re: 2048 Clone, Ti 89, C
Post by: chickendude 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.
Title: Re: 2048 Clone, Ti 89, C
Post by: TIfanx1999 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. :)