Author Topic: Axe Little contest !  (Read 12968 times)

0 Members and 1 Guest are viewing this topic.

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Axe Little contest !
« on: July 06, 2014, 05:41:35 pm »
You can try to participe at this litle contest ! ;) http://tiplanet.org/forum/viewtopic.php?f=12&t=14945


enjoy ! :)


ps : if someone can translate my topic here in english... that's will be very cool ! :)



mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Axe Little contest !
« Reply #1 on: July 06, 2014, 05:48:31 pm »
Here's my shot at a translation of the post.

Quote from: TI Planet Post
Hello everyone, I have an Axe programming challenge! You must program a checkerboard (box of 8x8 size) infinity scrolling program using the arrow keys! It will leave the program with a [clear]. The program must be the smallest size possible! Watch out! The asm command is prohibited!



My program, without optimization, is 418 bytes with the header! Send me the programs by PM. You do not have a time limit. Specify in the comments that you are attending and, if you wish, your current score, but do not give your code! I will update this post with scores! Good luck!

I'm not sure of one thing: Are we talking about source bytes or compiled bytes? The two are different.
« Last Edit: July 06, 2014, 05:50:55 pm by willrandship »

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: Axe Little contest !
« Reply #2 on: July 06, 2014, 05:59:16 pm »
I have 369 357 !
« Last Edit: July 06, 2014, 07:27:16 pm by nikitouzz »
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axe Little contest !
« Reply #3 on: July 07, 2014, 01:33:09 am »
I'm not sure of one thing: Are we talking about source bytes or compiled bytes? The two are different.
I'd say "compiled" because there is no point comparing the sources (if you write Data(0001)Data(0001) it obviously takes more space than just [0101] for the same result) and because he said "with the header"... But which header ? Noshell ? Ion ? More ? And which name to the program ? Because it is also obvious that a program named AA is bigger than a program named A.
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 willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Axe Little contest !
« Reply #4 on: July 07, 2014, 01:56:36 am »
That's what I was thinking as well. One challenge is that noshell means including any libs that mos or DCS would just call, but using mos or DCS have header implications of their own as well.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axe Little contest !
« Reply #5 on: July 07, 2014, 02:41:09 am »
I think that the most interesting is to compile as Noshell, because the size of the header is constant (not saying Ion header=DCS header but that the difference in size between two programs with the same header is the same whatever header they share) while the size of routines isn't.

So I compiled my program in Noshell and called it AA, it is 356 bytes :P


edit Got it down to 352.


edit I now have 348 but I am too lazy to make a screenshot :P
« Last Edit: July 07, 2014, 06:02:05 am by Hayleia »
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 TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: Axe Little contest !
« Reply #6 on: July 07, 2014, 07:21:22 am »
I am at 344 bytes with my try, without having it really optimized  :P
I named the program TE and compiled in noshell.
No screen, cause it is always the same >< (and I am lazy)


EDIT : I am at 287 bytes if I made no mistake ><

EDIT2 : got it down to a 278 bytes crazy fast program. I hope there is no hidden bug like last time  ;D
« Last Edit: July 07, 2014, 09:58:08 am by TheMachine02 »
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: Axe Little contest !
« Reply #7 on: July 07, 2014, 11:08:35 am »
I have 341 now :p but very very slooowwww !!!!
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Axe Little contest !
« Reply #8 on: July 07, 2014, 11:25:33 am »
I am at 344 bytes with my try, without having it really optimized  :P
I named the program TE and compiled in noshell.
No screen, cause it is always the same >< (and I am lazy)


EDIT : I am at 287 bytes if I made no mistake ><

EDIT2 : got it down to a 278 bytes crazy fast program. I hope there is no hidden bug like last time  ;D
Wow that sounds like an anorexic program on steroids. :P

Offline nikitouzz

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 215
  • Rating: +22/-1
    • View Profile
Re: Axe Little contest !
« Reply #9 on: July 07, 2014, 12:43:36 pm »
303 now ! :) i need optimiz
mes records personels :

2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes

megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axe Little contest !
« Reply #10 on: July 07, 2014, 02:28:41 pm »
Watch out guys, I found this topic. :P

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 Little contest !
« Reply #11 on: July 07, 2014, 02:29:26 pm »
Wait, what if, instead of the ASM() command we put the data as hex and jump to that memory address :P

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

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Axe Little contest !
« Reply #12 on: July 07, 2014, 02:32:40 pm »
Watch out guys, I found this topic. :P
Nuuuuuuu ! D:
Wait, what if, instead of the ASM() command we put the data as hex and jump to that memory address :P
Well, that's not the ASM() command so it's legit I guess.
* Streetwalrus runs

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Axe Little contest !
« Reply #13 on: July 07, 2014, 02:38:15 pm »
Watch out guys, I found this topic. :P
Lol, I was wondering how long you would let us brag about our programs before appearing :P

Wait, what if, instead of the ASM() command we put the data as hex and jump to that memory address :P
Yeah, but how do you jump to the right memory address ?
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 Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Axe Little contest !
« Reply #14 on: July 07, 2014, 02:39:18 pm »
By using (address)() ? Or Goto address. :P