Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » [ATC#3] So you say you're a "hacker"? Prove it!
        ![[RSS Feed] [RSS Feed]](//cdn.scratch.mit.edu/scratchr2/static/__5b3e40ec58a840b41702360e9891321b__//djangobb_forum/img/feed-icon-small.png)  
- MartinBraendli2
- 
                             Scratcher Scratcher
100+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
After Spamela experienced her first loss against an ambush Windows update last week, this is how is reconstructed her today:
Meet HugoTheHedgehog. He's slow, but don't try to touch him, it probably will hurt you more than him:
                        
                        
                    PROTECT @30
SET DIRECTION (DIRECTION+1)%4
PROTECT @31
PROTECT @32
PROTECT EXECUTION_POINTER
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
SET EXECUTION_POINTER 2
PROTECT @RANDOM
SET *@*EXECUTION_POINTER @32
TAG SPAMelaAnderson2
Meet HugoTheHedgehog. He's slow, but don't try to touch him, it probably will hurt you more than him:
SET DATA1 (DATA1+1)%2
PROTECT @(1+DATA1)
TAG Hugo
PROTECT @(3+DATA1)
SET DIRECTION RANDOM
PROTECT @(5+DATA1)
SET *@RANDOM @3
PROTECT @(7+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(9+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(11+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(13+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(15+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(17+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(19+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(21+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(23+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(25+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(27+DATA1)
IF *EXECUTION_POINTER GREATERTHAN 0 7 5
PROTECT @(29+DATA1)
MOVE
PROTECT @(31+DATA1)
- helloandgoodbye9
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Try to score a point on me. 
                        
                        
                    
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
- jokebookservice1
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Try to score a point on me.PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
SET *@32 @3
SET EXECUTION_POINTER 1
TAG
Last edited by jokebookservice1 (July 18, 2016 21:05:26)
- helloandgoodbye9
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
You forgot move and direction…Try to score a point on me.PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTERAssuming you are found early, the loop is so short that if you have only done like 100 lines, then that translates to ~3 protects a line, which can be easily combatted against by running 8 lines of this codeSET *@32 @3
SET EXECUTION_POINTER 1
TAG
- jokebookservice1
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Maybe I'll get lucky and we initialize on the same axis, and the initial direction is lucky. But it is possible, and even with a move and direction, that adds an extra two lines that get executed, making 16 total lines to counter 96. I'd call that a winYou forgot move and direction…Try to score a point on me.PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTER
PROTECT @EXECUTION_POINTERAssuming you are found early, the loop is so short that if you have only done like 100 lines, then that translates to ~3 protects a line, which can be easily combatted against by running 8 lines of this codeSET *@32 @3
SET EXECUTION_POINTER 1
TAG
- jokebookservice1
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Which version of RunRunProtect id you say nearly got second?
                        
                        
                    - jokebookservice1
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Submission: RunRunProtect
                        
                        
                    PROTECT EXECUTION_POINTER
MOVE
IF *EXECUTION_POINTER EQUALS -1 1 4
SET *@RANDOM @8
PROTECT @(RANDOM%8+1)
PROTECT @RANDOM
SET EXECUTION_POINTER 1
TAG RunRunProtect
- jokebookservice1
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
MATU, If CodeLegend says that my second version was more likely to get a higher rank, the the other version can be found on page 12 if possible?
EDIT: Because I will be asleep in like 20 mins
                        
                            EDIT: Because I will be asleep in like 20 mins
Last edited by jokebookservice1 (July 18, 2016 22:02:56)
- goldfish678
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
18th page?
nope
I guess I should work on WonkThePlank but I don't really feel like it/feel like I can improve it more
                        
                            nope
I guess I should work on WonkThePlank but I don't really feel like it/feel like I can improve it more
Last edited by goldfish678 (July 18, 2016 21:45:34)
- CodeLegend
- 
                             Scratcher Scratcher
500+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Genius! I never thought to do it that way… I'm very, very impressed.PROTECT @30
SET DIRECTION (DIRECTION+1)%4
PROTECT @31
PROTECT @32
PROTECT EXECUTION_POINTER
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 2
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
IF *EXECUTION_POINTER GREATERTHAN 0 31 30
SET EXECUTION_POINTER 2
PROTECT @RANDOM
SET *@*EXECUTION_POINTER @32
TAG SPAMelaAnderson2
If you need an idea for the next ATC, I've got a few

Last edited by CodeLegend (July 19, 2016 03:58:04)
- CodeLegend
- 
                             Scratcher Scratcher
500+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
So this isn't competing (it's past the deadline, not great, and fairly derivative) but I thought I'd share it with you all:
Submission: STINGerla
It's a combination of STINGER and SPAMela (I call it STINGerla), which clearly demonstrates that the two strategies don't work well together.
EDIT: It actually works quite well with other bots present. It just can't take on STINGER or SPAMela 1v1. MATU, would it be alright if STINGerla competes too? I know it's a bit past the deadline, but in my defense, Martin didn't submit his correctly either
                        
                            Submission: STINGerla
PROTECT @32
PROTECT @31
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 20 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 20 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
SET EXECUTION_POINTER 1
SET EXECUTION_POINTER 22
PROTECT @RANDOM%14+17
SET DIRECTION RANDOM
PROTECT @RANDOM
SET *EXECUTION_POINTER RANDOM
SET *@*EXECUTION_POINTER @31
SET DATA1 1
SET *@DATA1 @32
SET DATA1 DATA1+1
IF DATA1 GREATERTHAN 32 28 30
SET EXECUTION_POINTER 1
SET EXECUTION_POINTER 1
SET EXECUTION_POINTER 25
SET EXECUTION_POINTER EXECUTION_POINTER-1
TAG STINGerla
EDIT: It actually works quite well with other bots present. It just can't take on STINGER or SPAMela 1v1. MATU, would it be alright if STINGerla competes too? I know it's a bit past the deadline, but in my defense, Martin didn't submit his correctly either

Last edited by CodeLegend (July 19, 2016 04:26:29)
- MartinBraendli2
- 
                             Scratcher Scratcher
100+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
@MATU Are you running the competition tonight?
                        
                        
                    - TheMonsterOfTheDeep
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Welp, now I know I'm a goner. 
                        
                        
                    
- jokebookservice1
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
So this isn't competing (it's past the deadline, not great, and fairly derivative) but I thought I'd share it with you all:lol, but then I have a smaller chance of getting third place. But I don't mind
Submission: STINGerlaIt's a combination of STINGER and SPAMela (I call it STINGerla), which clearly demonstrates that the two strategies don't work well together.PROTECT @32
PROTECT @31
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 20 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 20 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
IF *DIRECTION EQUALS -1 19 18
IF *DIRECTION EQUALS -1 21 18
SET EXECUTION_POINTER 1
SET EXECUTION_POINTER 22
PROTECT @RANDOM%14+17
SET DIRECTION RANDOM
PROTECT @RANDOM
SET *EXECUTION_POINTER RANDOM
SET *@*EXECUTION_POINTER @31
SET DATA1 1
SET *@DATA1 @32
SET DATA1 DATA1+1
IF DATA1 GREATERTHAN 32 28 30
SET EXECUTION_POINTER 1
SET EXECUTION_POINTER 1
SET EXECUTION_POINTER 25
SET EXECUTION_POINTER EXECUTION_POINTER-1
TAG STINGerla
EDIT: It actually works quite well with other bots present. It just can't take on STINGER or SPAMela 1v1. MATU, would it be alright if STINGerla competes too? I know it's a bit past the deadline, but in my defense, Martin didn't submit his correctly either

Last edited by jokebookservice1 (July 19, 2016 13:29:31)
- MegaApuTurkUltra
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
@MATU Are you running the competition tonight?No, I was sleeping

I'll run it hopefully today
- CodeLegend
- 
                             Scratcher Scratcher
500+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
I can't take two places-snip-lol, but then I have a smaller chance of getting third place. But I don't mind

- jokebookservice1
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Really? Then I'm all in.I can't take two places-snip-lol, but then I have a smaller chance of getting third place. But I don't mind
While you are here: Which version of RunRunProtect were you running all your tests with?
MATU: Am I still allowed to mark “RunRunRun” as NON COMPETING even though it is past the deadline?
- MegaApuTurkUltra
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
1. Latest version for all submissionsReally? Then I'm all in.I can't take two places-snip-lol, but then I have a smaller chance of getting third place. But I don't mind
While you are here: Which version of RunRunProtect were you running all your tests with?
MATU: Am I still allowed to mark “RunRunRun” as NON COMPETING even though it is past the deadline?
2. Sure
Last edited by MegaApuTurkUltra (July 19, 2016 16:06:53)
- jokebookservice1
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Ok. I still would like RunRunProtect to take part though!1. Latest version for all submissionsReally? Then I'm all in.I can't take two places-snip-lol, but then I have a smaller chance of getting third place. But I don't mind
While you are here: Which version of RunRunProtect were you running all your tests with?
MATU: Am I still allowed to mark “RunRunRun” as NON COMPETING even though it is past the deadline?
2. Sure

- goldfish678
- 
                             Scratcher Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
So I guess revision 3 of wonktheplank is competing. Don't really know what to think xP
                        
                        
                    - Discussion Forums
- » Advanced Topics
- 
            » [ATC#3] So you say you're a "hacker"? Prove it! ![[RSS Feed] [RSS Feed]](//cdn.scratch.mit.edu/scratchr2/static/__5b3e40ec58a840b41702360e9891321b__//djangobb_forum/img/feed-icon-small.png)  
 
            ![[RSS Feed] [RSS Feed]](http://cdn.scratch.mit.edu/scratchr2/static/__5b3e40ec58a840b41702360e9891321b__//djangobb_forum/img/feed-icon-small.png)






