Discuss Scratch

MartinBraendli2
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:
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
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
1000+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

helloandgoodbye9 wrote:

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
Assuming 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 code

Last edited by jokebookservice1 (July 18, 2016 21:05:26)

helloandgoodbye9
Scratcher
1000+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

jokebookservice1 wrote:

helloandgoodbye9 wrote:

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
Assuming 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 code
You forgot move and direction…
jokebookservice1
Scratcher
1000+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

helloandgoodbye9 wrote:

jokebookservice1 wrote:

helloandgoodbye9 wrote:

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
Assuming 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 code
You forgot move and direction…
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 win
jokebookservice1
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
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
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

Last edited by jokebookservice1 (July 18, 2016 22:02:56)

goldfish678
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

Last edited by goldfish678 (July 18, 2016 21:45:34)

CodeLegend
Scratcher
500+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

MartinBraendli2 wrote:

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
Genius! I never thought to do it that way… I'm very, very impressed.

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
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
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
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

Last edited by CodeLegend (July 19, 2016 04:26:29)

MartinBraendli2
Scratcher
100+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

@MATU Are you running the competition tonight?
TheMonsterOfTheDeep
Scratcher
1000+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

Welp, now I know I'm a goner.
jokebookservice1
Scratcher
1000+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

CodeLegend wrote:

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
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
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
lol, but then I have a smaller chance of getting third place. But I don't mind

Last edited by jokebookservice1 (July 19, 2016 13:29:31)

MegaApuTurkUltra
Scratcher
1000+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

MartinBraendli2 wrote:

@MATU Are you running the competition tonight?
No, I was sleeping

I'll run it hopefully today
CodeLegend
Scratcher
500+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

jokebookservice1 wrote:

CodeLegend wrote:

-snip-
lol, but then I have a smaller chance of getting third place. But I don't mind
I can't take two places
jokebookservice1
Scratcher
1000+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

CodeLegend wrote:

jokebookservice1 wrote:

CodeLegend wrote:

-snip-
lol, but then I have a smaller chance of getting third place. But I don't mind
I can't take two places
Really? Then I'm all in.

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
1000+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

jokebookservice1 wrote:

CodeLegend wrote:

jokebookservice1 wrote:

CodeLegend wrote:

-snip-
lol, but then I have a smaller chance of getting third place. But I don't mind
I can't take two places
Really? Then I'm all in.

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?
1. Latest version for all submissions
2. Sure

Last edited by MegaApuTurkUltra (July 19, 2016 16:06:53)

jokebookservice1
Scratcher
1000+ posts

[ATC#3] So you say you're a "hacker"? Prove it!

MegaApuTurkUltra wrote:

jokebookservice1 wrote:

CodeLegend wrote:

jokebookservice1 wrote:

CodeLegend wrote:

-snip-
lol, but then I have a smaller chance of getting third place. But I don't mind
I can't take two places
Really? Then I'm all in.

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?
1. Latest version for all submissions
2. Sure
Ok. I still would like RunRunProtect to take part though!
goldfish678
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

Powered by DjangoBB