Author Topic: The code optimizing game  (Read 2758 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55865
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
The code optimizing game
« on: August 27, 2007, 06:35:00 am »
A new form of contest has been started on Omnimaga: The "Optimise That" contest. There is a TI-83+/84+ BASIC one, and a z80 assembly one. In both, we present you a piece of code (that doesn't necessarly work or do anything relevant) that is plenty of optimizing errors and bad code. Your job is to post a better version of the code, and the person who post the best code wins. There are no prizes (for now), but this should help people improving their skills even more, give them more interest to code, and bring back some calculator related activity at Omnimaga, since there hasn't been much recently (it seemed like the site was turning into a music only forum, when it wasn't meant to be this way).

Make sure to check those topics for the contest. A new code sample will be posted whenever the first ones are optimized completly.
http://omnimaga.org/index.php?showtopic=1691
http://omnimaga.org/index.php?showtopic=1692

Thanks to Halifax for the idea :)smile.gif

There may be some calculator RPG additions to the archives and related news soon as well.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Radical Pi

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1143
  • Rating: +5/-2
    • View Profile
    • RealityRevolution
The code optimizing game
« Reply #1 on: August 27, 2007, 08:30:00 am »
Sounds like fun; I'll give the Basic one a look.

[after looking] This is going to take a while... but I want to try to attempt it :Dbiggrin.gif
One of these days I'll get a sig I'm really proud of.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55865
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
The code optimizing game
« Reply #2 on: August 27, 2007, 09:07:00 am »
DoN't worry you have the entire week ;)wink.gif or until lot of entries are submitted
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

MechaTech84

  • Guest
The code optimizing game
« Reply #3 on: August 27, 2007, 12:39:00 pm »
what in the world would you program this in? (if you can't tell all I ever do is calc basic.... not even asm.) I'm obviously not doing this though....

Xphoenix

  • Guest
The code optimizing game
« Reply #4 on: August 27, 2007, 12:51:00 pm »
QuoteBegin-DJ Omnimaga+27 Aug, 2007, 12:35-->
QUOTE (DJ Omnimaga @ 27 Aug, 2007, 12:35)
http://omnimaga.org/index.php?showtopic=1691
http://omnimaga.org/index.php?showtopic=1692  

 Assembly and BASIC. Read carefully.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55865
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
The code optimizing game
« Reply #5 on: August 27, 2007, 01:46:00 pm »
yeah, the program is located here actually
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Fallen Ghost

  • Guest
The code optimizing game
« Reply #6 on: August 27, 2007, 04:35:00 pm »
Oh, are we supposed to post it in the topic thread?

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55865
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
The code optimizing game
« Reply #7 on: August 27, 2007, 04:37:00 pm »
not this one, but one of the respective topic linked
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

MechaTech84

  • Guest
The code optimizing game
« Reply #8 on: August 28, 2007, 01:05:00 am »
No, that's not what I meant at all (I think....) Are we really making a program that optimizes TI-Basic code in TI-Basic? (same with Asm.)

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
The code optimizing game
« Reply #9 on: August 28, 2007, 01:17:00 am »
Ummm no. You optimize the code given to you in the respective topic.
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55865
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
The code optimizing game
« Reply #10 on: August 28, 2007, 02:57:00 am »
btw here's what the program in the TI-BASIC topic came from. Ph33r the suckiness!!!! XDsmiley.gif



Talk about a Reign of Legends 3 game attempt only after 8 months of coding :Dbiggrin.gif
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Fallen Ghost

  • Guest
The code optimizing game
« Reply #11 on: August 29, 2007, 11:11:00 am »
Huh, assembly contest is already off-line. It's just I thought, from what was in this first post, meant that there were errors inside the code to find out. But that's impossible if we don't have background info, and just code info, which we interpret as a code doing something, hence we were searching for the outputs and inputs, rather than just optimizing it.

But I see I am wrong, it is just slow code (and not a buggy one), so it's kind of my error of complaining about that and asking all those questions. And i apologize.

Otherwise the contest was fun! (though a bit short)

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55865
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
The code optimizing game
« Reply #12 on: August 29, 2007, 11:16:00 am »
Well the assembly contest was shutted down earlier than planned due to the complains, but it's ok though, at least you pointed out flaws of the contest, so the second contest (yes there will be another, and more in the future) will be even better.

Btw always feel free to suggest routines (not the code itself, just an idea, for example, walking engine, title screen menu, etc), so then we can write you some junk code you can optimize :Ptongue.gif
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify