Discuss Scratch

IcyCoder
Scratcher
1000+ posts

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

CodeLegend wrote:

Submission: STINGER
PROTECT @32
PROTECT @31
PROTECT EXECUTION_POINTER
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
SET DIRECTION RANDOM
MOVE
SET DIRECTION RANDOM
MOVE
SET *@*EXECUTION_POINTER @31
SET *@*EXECUTION_POINTER @31
IF *DIRECTION EQUALS -1 28 24
SET EXECUTION_POINTER 24
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 STINGER

I guess I'll actually have to start improving it…
the legend arrives

Because JS is the future (echos) future future futur futu fut fu f
CodeLegend
Scratcher
500+ posts

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

IcyCoder wrote:

-snip-
the legend arrives
The CODE legend has been here the whole time
CodeLegend
Scratcher
500+ posts

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

I think we'll need more than three trials when we get higher up. The results are highly variable when running these bots:
RunRunProtect, IcyFireBot, CopyBot, InfiniteLoop, Snipar, STINGER
jokebookservice1
Scratcher
1000+ posts

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

CodeLegend wrote:

I think we'll need more than three trials when we get higher up. The results are highly variable when running these bots:
RunRunProtect, IcyFireBot, CopyBot, InfiniteLoop, Snipar, STINGER
NTW, I am working on RunRunBeat, it isconsistently beating STINGER (by a couple point) during 1v1 games. It is kinda inspired by yours - we'll see what MAPU says
IcyCoder
Scratcher
1000+ posts

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

CodeLegend wrote:

I think we'll need more than three trials when we get higher up. The results are highly variable when running these bots:
RunRunProtect, IcyFireBot, CopyBot, InfiniteLoop, Snipar, STINGER
you should do STINGER vs STINGER vs STINGER vs (repeat as necessary)

Because JS is the future (echos) future future futur futu fut fu f
IcyCoder
Scratcher
1000+ posts

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

jokebookservice1 wrote:

CodeLegend wrote:

I think we'll need more than three trials when we get higher up. The results are highly variable when running these bots:
RunRunProtect, IcyFireBot, CopyBot, InfiniteLoop, Snipar, STINGER
NTW, I am working on RunRunBeat, it isconsistently beating STINGER (by a couple point) during 1v1 games. It is kinda inspired by yours - we'll see what MAPU says
ohh I am making a third bot (or second I may discontinue IcyBot (not IcyFireBot))

Because JS is the future (echos) future future futur futu fut fu f
Macie1234
Scratcher
100+ posts

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

-stache- wrote:

Macie1234 wrote:

Submission: BotyMcBotFace
MOVE
SET DIRECTION RANDOM
MOVE
**SET *@1 @8
**SET *@2 @7
**SET *@25 @7
SET EXECUTION_POINTER 1
TAG
revision 1:
MOVE
SET DIRECTION RANDOM
MOVE
**SET *@1 @8
**SET *@2 @7
**SET *@25 @RANDOM%8+8
SET EXECUTION_POINTER 1
TAG
TAG
TAG
TAG
TAG
TAG
TAG
TAG
Updated:
SET EXECUTION_POINTER 5
TAG
SET EXECUTION_POINTER 1
MOVE
SET DIRECTION RANDOM
MOVE
SET *EXECUTION_POINTER 1
**SET *@2 @3
**SET *@1 @2
**SET *@3 @2
**SET *@4 @2
**SET *@5 @2
**SET *@6 @2
**SET *@7 @2
**SET *@8 @2
**SET *@9 @3
**SET *@2 @2
BOTYMCBOTFACE IS NOT COMPETING


CodeLegend
Scratcher
500+ posts

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

jokebookservice1 wrote:

CodeLegend wrote:

I think we'll need more than three trials when we get higher up. The results are highly variable when running these bots:
RunRunProtect, IcyFireBot, CopyBot, InfiniteLoop, Snipar, STINGER
NTW, I am working on RunRunBeat, it isconsistently beating STINGER (by a couple point) during 1v1 games. It is kinda inspired by yours - we'll see what MAPU says
As long as you share it, so I can beat you back

Also keep in mind that 1v1 isn't how this competition is played…

Last edited by CodeLegend (July 14, 2016 20:33:48)

jokebookservice1
Scratcher
1000+ posts

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

CodeLegend wrote:

jokebookservice1 wrote:

CodeLegend wrote:

I think we'll need more than three trials when we get higher up. The results are highly variable when running these bots:
RunRunProtect, IcyFireBot, CopyBot, InfiniteLoop, Snipar, STINGER
NTW, I am working on RunRunBeat, it isconsistently beating STINGER (by a couple point) during 1v1 games. It is kinda inspired by yours - we'll see what MAPU says
As long as you share it, so I can beat you back

Also keep in mind that 1v1 isn't how this competition is played…
You areright, it still sucks at multiplayer
PROTECT @RANDOM
PROTECT @EXECUTION_POINTER
PROTECT @RANDOM
SET *@RANDOM @32
SET *EXECUTION_POINTER
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
SET *@RANDOM @31
SET *@RANDOM @32
SET *@RANDOM @31
SET *@RANDOM @32
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
PROTECT @RANDOM
SET *@RANDOM @31
SET *@RANDOM @32
SET *@RANDOM @31
SET *@RANDOM @32
SET *@RANDOM @31
SET *@RANDOM @32
SET *@RANDOM @31
MOVE
SET EXECUTION_POINTER 1
SET EXECUTION_POINTER EXECUTION_POINTER
TAG RunRunBeat
TheMonsterOfTheDeep
Scratcher
1000+ posts

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

jokebookservice1 wrote:

[snip]
You areright, it still sucks at multiplayer

PROTECT @EXECUTION_POINTER
Why does it protect the line at the execution pointer instead of the execution pointer itself?

my latest extension: 2d vector math
Macie1234
Scratcher
100+ posts

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

This post was eaten by the moon
This is stopping at line nine…
PROTECT EXECUTION_POINTER
PROTECT EXECUTION_POINTER
PROTECT @10
PROTECT @9
PROTECT @1
PROTECT @5
PROTECT @31


IF *EXECUTION_POINTER GREATERTHAN 1 2 11
SET @32 *@*(EXECUTION_POINTER+1)
SET *@*EXECUTION_POINTER @31
SET DATA1 DATA1+1
IF *@DATA1 EQUALS 31 15 16
SET *@DATA1 @31
IF DATA1 GREATERTHAN 31 17 13














TAG test
I'm getting
aputurk.tk/:1 Uncaught TypeError: getOtherBotValue(...) is not a function
in the console

Last edited by Macie1234 (July 14, 2016 21:04:04)



IcyCoder
Scratcher
1000+ posts

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

Macie1234 wrote:

PROTECT EXECUTION_POINTER
PROTECT EXECUTION_POINTER
PROTECT @10
PROTECT @9
PROTECT @1
PROTECT @5
PROTECT @31
SET DIRECTION DIRECTION+1
MOVE
IF *EXECUTION_POINTER GREATERTHAN 1 2 11
SET @32 *@*(EXECUTION_POINTER+1)
SET *@*EXECUTION_POINTER @31
SET DATA1 DATA1+1
IF *@DATA1 EQUALS 31 15 16
SET *@DATA1 @31
IF DATA1 GREATERTHAN 31 17 13














TAG UnnamedBot977
Why the program getting stuck at 9? I'm getting
aputurk.tk/:1 Uncaught TypeError: getOtherBotValue(...) is not a function
Report it on github

Because JS is the future (echos) future future futur futu fut fu f
goldfish678
Scratcher
1000+ posts

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

Submission: WonkThePlank
SET DIRECTION RANDOM
MOVE
IF *@2 EQUALS @17 1 1
IF *@2 EQUALS @19 1 1
SET EXECUTION_POINTER 1
TAG
Revision 1
SET DIRECTION RANDOM
MOVE
IF *@2 EQUALS @15 1 1
IF *@2 EQUALS @17 1 1
SET EXECUTION_POINTER 1
TAG
Revision 2
PROTECT @3
SET DIRECTION RANDOM
MOVE
IF *@2 EQUALS @15 1 1
IF *@2 EQUALS @17 1 1
SET EXECUTION_POINTER 1
TAG
Revision 3
PROTECT @5
PROTECT @6
PROTECT @7
PROTECT @8
SET DIRECTION RANDOM
MOVE
SET *@15 @14
SET *@17 @14
SET *@RANDOM @14
SET *@RANDOM @14
SET *@RANDOM @14
SET *@RANDOM @14
SET EXECUTION_POINTER 1
TAG
I have no idea if this will work

Testing revision 1 of WonkThePlank with revision 2 of stinger. Here we go…

Aaand Stinger wins 319-0. About what I expected.

That's weird, I tried it again and Stinger seems to be stuck at 319… glitch anyone?

Last edited by goldfish678 (July 15, 2016 19:16:20)

goldfish678
Scratcher
1000+ posts

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

Submission: OverWriter
SET *@1 @32
SET *@2 @32
SET *@3 @32
SET *@4 @32
SET *@5 @32
SET *@6 @32
SET *@7 @32
SET *@8 @32
SET *@9 @32
SET *@10 @32
SET *@11 @32
SET *@12 @32
SET *@13 @32
SET *@14 @32
SET *@15 @32
SET *@16 @32
SET *@17 @32
SET *@18 @32
SET *@19 @32
SET *@20 @32
SET *@21 @32
SET *@22 @32
SET *@23 @32
SET *@24 @32
SET *@25 @32
SET *@26 @32
SET *@27 @32
SET *@28 @32
SET *@29 @32
SET *@30 @32
SET *@31 @32
SET DIRECTION RANDOM
Revision 1:
SET *@1 @32
SET *@2 @32
SET *@3 @32
SET *@4 @32
SET *@5 @32
SET *@6 @32
SET *@7 @32
SET *@8 @32
SET *@9 @32
SET *@10 @32
SET *@11 @32
SET *@12 @32
SET *@13 @32
SET *@14 @32
SET *@15 @32
SET *@16 @32
SET *@17 @32
SET *@18 @32
SET *@19 @32
SET *@20 @32
SET *@21 @32
SET *@22 @32
SET *@23 @32
SET *@24 @32
SET *@25 @32
SET *@26 @32
SET *@27 @32
SET *@28 @32
SET *@29 @32
TAG
SET DIRECTION RANDOM
SET EXECUTION_POINTER 1
Please don't take this that seriously.

Last edited by goldfish678 (July 14, 2016 22:38:58)

TheMonsterOfTheDeep
Scratcher
1000+ posts

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

@CodeLegend I may actually stand a chance against STINGER


Although the second fight was really close - the winning bot changed from STINGER to Snipar a lot so it's probably random who wins in a non-1v1

Or maybe my bot only won out of pure luck

my latest extension: 2d vector math
iamunknown2
Scratcher
1000+ posts

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

Have you tried testing out my new revision 6, anyone? As I've said, I changed it to something else…

| My website | Using Geany | A Christian | Running Ubuntu MATE 14.04 with Flash 18.0 (release 0) | Search this with quotation marks on Google to view my posts: “ellipsepostpianolizard” (some posts may not show up) |

Moving on from Scratch? Learn Python/a scripting language (e.g Perl, JavaScript), then move on to a C derivative
iamunknown2
Scratcher
1000+ posts

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

Does each turn run all the lines of code, or does it run each line of code each turn?

Last edited by iamunknown2 (July 15, 2016 00:28:34)


| My website | Using Geany | A Christian | Running Ubuntu MATE 14.04 with Flash 18.0 (release 0) | Search this with quotation marks on Google to view my posts: “ellipsepostpianolizard” (some posts may not show up) |

Moving on from Scratch? Learn Python/a scripting language (e.g Perl, JavaScript), then move on to a C derivative
CodeLegend
Scratcher
500+ posts

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

goldfish678 wrote:

That's weird, I tried it again and Stinger seems to be stuck at 319… glitch anyone?
In a 1v1 match, there are only ten opponents, and each has 32 lines of code. So it's only possible to get up to 320 points. Probably just a coincidence that it missed exactly one each time.
CodeLegend
Scratcher
500+ posts

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

iamunknown2 wrote:

Have you tried testing out my new revision 6, anyone? As I've said, I changed it to something else…
I've been including it in my tests, but it hasn't fared well

iamunknown2 wrote:

Does each turn run all the lines of code, or does it run each line of code each turn?
It runs a single line of code per turn. The bots all run in a random order.
CodeLegend
Scratcher
500+ posts

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

TheMonsterOfTheDeep wrote:

@CodeLegend I may actually stand a chance against STINGER
You definitely stand a chance! It all just depends on the configuration…

May the best bot win!

Powered by DjangoBB