This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-03-27 03:14:43

Repto
Scratcher
Registered: 2010-01-10
Posts: 88

AI Competition

I have decided to make an AI competition in which different people design an AI tank or bot. I myself am not much of an advanced scratcher, however this is an opportunity for other lower scratchers, and maybe even, if I am very lucky, a couple of more advanced scratchers.

The rules are as follows:

Hide blocks are prohibited on tank sprite.
You cannot fire extra bullets to destroy other peoples bullets as this would require programming on both tanks.
If you have a method of evading bullets at all times then you must post it and I will decide whether it is illegal or not, if it is I will ban it, if it isn't then you may delete your post.
A delay between shots is optional.
The max speed of the tank is 15.
The max speed of the bullets are 15.
No more than one sprite for bullets however if you can make multiple bullets with one sprite, fine.
Bullets cannot explode or follow the opponent.
Only one sprite for base or movement allowed. You cannot have more than one tank.
You may have 4 sensors max.
You can have no more than 7 sprites in your entry.
Collaboration between bots will be done by me so please leave comments in your project telling me what to link up etc.
You may only have bullets as weapons.
You must have ordinary bullets which do not explode.
You cannot have lasers, follow missiles etc.
Scoring system done by me, you only score one per hit.
All sizes of tanks and bullets will be edited by me to ensure fairness throughout competition.
Set x to, set y to and glide blocks are prohibited.
Hide blocks are not allowed on main movement body.
There are no barriers, and all pen blocks are prohibited.
All bullets must come from turret, turret must forever go to the base.

The way this works is that you have a ladder of duels between the bots until the finals. It is a knock out competition.

If you want to make a bot, post below then make your bot. Once you have made your bot please upload it and leave the link below.

Last edited by Repto (2010-05-16 02:10:39)


http://scratch.mit.edu/static/projects/Repto/1074910_sm.pngandhttp://scratch.mit.edu/static/projects/Repto/1184314_sm.pngMy most successful projects!

Offline

 

#2 2010-03-27 03:26:31

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: AI Competition

Yeah I'll participate. The other contest was too hard  smile   I should have the bot done soon.

Offline

 

#3 2010-03-27 06:45:20

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: AI Competition

Can you post a base for the size of bullet sprites and tank sprites?
I'll just import my wafflebot AI  big_smile


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#4 2010-03-27 07:26:10

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: AI Competition

how long must the delay be between firing bullets?
how many bullets can you have?
can bullets home in on the opponent bot?
I would also like some sprite size guides
what blocks are banned?
how fast can the robot/bullets go?

Last edited by bhz (2010-03-27 08:22:02)

Offline

 

#5 2010-03-27 10:17:35

Repto
Scratcher
Registered: 2010-01-10
Posts: 88

Re: AI Competition

bhz wrote:

how long must the delay be between firing bullets?
how many bullets can you have?
can bullets home in on the opponent bot?
I would also like some sprite size guides
what blocks are banned?
how fast can the robot/bullets go?

In answer to your questions, the delay is not fixed, you don't have to have one. You can have as many bullets as you want, but only one sprite for them, stamping is allowed.
Bullets cannot home onto enemies. I will make a size guideline project. No blocks are banned. Max speed for robot, 15. Max speed for bullet unlimited.

I guess this means that you are taking part.


http://scratch.mit.edu/static/projects/Repto/1074910_sm.pngandhttp://scratch.mit.edu/static/projects/Repto/1184314_sm.pngMy most successful projects!

Offline

 

#6 2010-03-27 12:10:18

jmenk
Scratcher
Registered: 2009-10-03
Posts: 1

Re: AI Competition

I thought that these are banned:
<set x to(
<set y to(

Offline

 

#7 2010-03-27 12:53:11

Repto
Scratcher
Registered: 2010-01-10
Posts: 88

Re: AI Competition

jmenk wrote:

I thought that these are banned:
<set x to(
<set y to(

Why would they be banned?


http://scratch.mit.edu/static/projects/Repto/1074910_sm.pngandhttp://scratch.mit.edu/static/projects/Repto/1184314_sm.pngMy most successful projects!

Offline

 

#8 2010-03-27 13:14:00

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: AI Competition

I'm entering!  big_smile

Repto wrote:

jmenk wrote:

I thought that these are banned:
<set x to(
<set y to([/blocks]

Why would they be banned?

Because in the other one they are.


I also have a few questions:

Will there be walls and obstacles? If so, what color (I use color sensing a lot, it isn't that unreliable) will they be?

Can our bots teleport?  (Like Set X to (pick random -200 to 200))

What is the maximum/minimum size for our bot?  Is there a set shape?

Do you have to make your tank turn towards the opponent, or can it always be pointing at it, or anywhere?

Last edited by Kileymeister (2010-03-27 13:55:39)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#9 2010-03-27 13:47:38

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: AI Competition

There should be a minimum size, or I'll enter with a one pixel bot.

Offline

 

#10 2010-03-27 14:23:28

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: AI Competition

I can make a bot that will instantly win (in about 5 seconds). You might want to change the rules for the speed of the bullet. Bullet script as follows:
[blocks]
<when green flag clicked>
<forever>
<go to[ robot
<point towards( enemyRobot
<move( <distance to[ enemyRobot )steps>
<end>
[/blocks]

Last edited by nXIII (2010-03-27 14:26:33)


nXIII

Offline

 

#11 2010-03-27 14:25:04

roger-
Scratcher
Registered: 2010-02-13
Posts: 100+

Re: AI Competition

how long are bullets supposed to last? what is the max size of the bullet? can bullets bounce off the edges?


Food is Fat. Fat is power.
        I am almighty.

Offline

 

#12 2010-03-27 14:26:21

roger-
Scratcher
Registered: 2010-02-13
Posts: 100+

Re: AI Competition

nXIII wrote:

I can make a bot that will instantly win (in about 5 seconds). You might want to change the rules for the speed of the bullet. Bullet script as follows:
[blocks]
<when green flag clicked>
<forever>
<point towards( enemyRobot
<move( <distance to[ enemyRobot )steps>
<end>
[/blocks]

hmm.. never thought of that... but it works though..


Food is Fat. Fat is power.
        I am almighty.

Offline

 

#13 2010-03-27 14:26:32

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: AI Competition

nXIII wrote:

I can make a bot that will instantly win (in about 5 seconds). You might want to change the rules for the speed of the bullet. Bullet script as follows:
[blocks]
<when green flag clicked>
<forever>
<point towards( enemyRobot
<move( <distance to[ enemyRobot )steps>
<end>
[/blocks]

Lol, that's brilliant!  big_smile


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#14 2010-03-27 14:27:06

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: AI Competition

Kileymeister wrote:

nXIII wrote:

I can make a bot that will instantly win (in about 5 seconds). You might want to change the rules for the speed of the bullet. Bullet script as follows:
[blocks]
<when green flag clicked>
<forever>
<point towards( enemyRobot
<move( <distance to[ enemyRobot )steps>
<end>
[/blocks]

Lol, that's brilliant!  big_smile

Nah, just resourceful. That's why I suggest modification of rules.


nXIII

Offline

 

#15 2010-03-27 14:27:37

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: AI Competition

nXIII wrote:

Kileymeister wrote:

nXIII wrote:

I can make a bot that will instantly win (in about 5 seconds). You might want to change the rules for the speed of the bullet. Bullet script as follows:
[blocks]
<when green flag clicked>
<forever>
<point towards( enemyRobot
<move( <distance to[ enemyRobot )steps>
<end>
[/blocks]

Lol, that's brilliant!  big_smile

Nah, just resourceful. That's why I suggest modification of rules.

Maybe it can be anything, but it has to be a finite number, unlike a variable you have there.

Last edited by Kileymeister (2010-03-27 14:27:58)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#16 2010-03-27 14:43:30

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: AI Competition

Even easier, on the bullet sprite, is "got to enemy X, enemy y".

Or just make a bullet in the shape of a massive cone and point it towards the enemy.

Last edited by Mayhem (2010-03-27 14:48:35)


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#17 2010-03-27 14:45:50

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: AI Competition

Mayhem wrote:

Even easier, on the bullet sprite, is "got to enemy X, enemy y".

The finite number thing takes care of that too, because the X and Y will change.


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#18 2010-03-27 18:10:03

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: AI Competition

urhungry wrote:

There should be a minimum size, or I'll enter with a one pixel bot.

...and a bullet that's 360x480

nXIII wrote:

I can make a bot that will instantly win (in about 5 seconds). You might want to change the rules for the speed of the bullet. Bullet script as follows:
[blocks]
<when green flag clicked>
<forever>
<go to[ robot
<point towards( enemyRobot
<move( <distance to[ enemyRobot )steps>
<end>
[/blocks]

this works better:

when flag clicked
forever
---go to [ robot ]
---go to [ enemyrobot ]
end

Last edited by bhz (2010-03-27 19:03:23)

Offline

 

#19 2010-03-27 19:22:49

roger-
Scratcher
Registered: 2010-02-13
Posts: 100+

Re: AI Competition

urhungry wrote:

There should be a minimum size, or I'll enter with a one pixel bot.

no, you should enter an invisible bot.(its possible)


Food is Fat. Fat is power.
        I am almighty.

Offline

 

#20 2010-03-27 19:27:59

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: AI Competition

Yeah, I guess that's true.

Offline

 

#21 2010-04-06 11:16:48

Repto
Scratcher
Registered: 2010-01-10
Posts: 88

Re: AI Competition

The rules have been modified from this point upwards. Please check the rules if you have considered entering before this date.


http://scratch.mit.edu/static/projects/Repto/1074910_sm.pngandhttp://scratch.mit.edu/static/projects/Repto/1184314_sm.pngMy most successful projects!

Offline

 

#22 2010-04-07 03:59:58

Repto
Scratcher
Registered: 2010-01-10
Posts: 88

Re: AI Competition

nXIII wrote:

Kileymeister wrote:

nXIII wrote:

I can make a bot that will instantly win (in about 5 seconds). You might want to change the rules for the speed of the bullet. Bullet script as follows:
[blocks]
<when green flag clicked>
<forever>
<point towards( enemyRobot
<move( <distance to[ enemyRobot )steps>
<end>
[/blocks]

Lol, that's brilliant!  big_smile

Nah, just resourceful. That's why I suggest modification of rules.

Rules adapted


http://scratch.mit.edu/static/projects/Repto/1074910_sm.pngandhttp://scratch.mit.edu/static/projects/Repto/1184314_sm.pngMy most successful projects!

Offline

 

#23 2010-04-07 05:00:21

08jackt
Scratcher
Registered: 2007-09-12
Posts: 1000+

Re: AI Competition

bhz wrote:

when flag clicked
forever
---go to [ robot ]
---go to [ enemyrobot ]
end

FAIL


http://i39.tinypic.com/jgtswi.png

Offline

 

#24 2010-04-07 16:44:59

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: AI Competition

After rule adaptataion
IN

Offline

 

#25 2010-04-09 02:28:19

bugefun
Scratcher
Registered: 2009-09-04
Posts: 3

Re: AI Competition

I might enter this, but how could I have multiple bullets from one sprite?

Offline

 

Board footer