Discuss Scratch

AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

This Forum is for the new coding competition called The Intelligence Battle where you have to make AIs that play various games and play those games against other AIs in the competition. You could see mazes, tic-tac-toe, pong, and more, so prepare your minds to create the best AIs ever in The Intelligence Battle. You can enter by asking to curate in the comments of the studio or by filling out the application here. At the end of the competition, you will also make the AI detect what you are playing and then play the game. Another thing is that Scratch isn't the only place for the competition. If you chose, you can also enter in the HTML5 Intelligence Battle where you use AIs in games that could have AIs that are made with HTML and JavaScript.

Application Template:
Username:
Scratch Experience:?/10
HTML5 Experience:?/10
AI Experience:?/10
AI Examples:
Would you like to enter the Scratch competition, HTML5 competition, or both?



The studio is here: https://scratch.mit.edu/studios/5233990/

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
EpicIzAwesome
Scratcher
100+ posts

New Contest: The Intelligence Battle

Username: EpicIzAwesome
Scratch Experience:7/10
HTML5 Experience:1/10
AI Experience:3/10
AI Examples: I have never really worked with AI's because they have never come up in my games, but i know the general idea of them.
Would you like to enter the Scratch competition, HTML5 competition, or both?: Scratch competition


Being Epic and Awesome since 2016
I guess.
_______________________________

Check out me games by going to my profile 0-0

I dont know anymore
green-cat
Scratcher
4 posts

New Contest: The Intelligence Battle

sorry look below

Last edited by green-cat (July 10, 2018 22:07:48)

-invisible-
Scratcher
4 posts

New Contest: The Intelligence Battle

Username: -invisible-
Scratch Experience: 9/10
HTML5 Experience: 2/10
AI Experience:4/10
AI Examples: Pong AI, enemy AI, etc (in previous accounts)
Would you like to enter the Scratch competition, HTML5 competition, or both? Scratch competition please!

AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

EpicIzAwesome wrote:

Username: EpicIzAwesome
Scratch Experience:7/10
HTML5 Experience:1/10
AI Experience:3/10
AI Examples: I have never really worked with AI's because they have never come up in my games, but i know the general idea of them.
Would you like to enter the Scratch competition, HTML5 competition, or both?: Scratch competition

You're in!

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

-invisible- wrote:

Username: -invisible-
Scratch Experience: 9/10
HTML5 Experience: 2/10
AI Experience:4/10
AI Examples: Pong AI, enemy AI, etc (in previous accounts)
Would you like to enter the Scratch competition, HTML5 competition, or both? Scratch competition please!

Great! You're Scratch competitor #3!

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
Mole_Gaming
Scratcher
100+ posts

New Contest: The Intelligence Battle

Username:
Scratch Experience:10/10
HTML5 Experience:5/10 (if by html5 you mean javascript)
AI Experience:7/10
AI Examples: None visible to public, although I have a somewhat complex one for a game called screeps
Would you like to enter the Scratch competition, HTML5 competition, or both?
I'll enter both

am can program above good
SuperSamuel25MC
Scratcher
68 posts

New Contest: The Intelligence Battle

Username: SuperSamuel25MC
Scratch Experience:10/10
HTML5 Experience:3/10
AI Experience:?2/10
AI Examples: Not too much
Would you like to enter the Scratch competition, HTML5 competition, or both?
Scratch competition.

TechySam - Mapping Computer Enthusiast. https://sites.google.com/view/techysam/home
AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

Mole_Gaming wrote:

Username:
Scratch Experience:10/10
HTML5 Experience:5/10 (if by html5 you mean javascript)
AI Experience:7/10
AI Examples: None visible to public, although I have a somewhat complex one for a game called screeps
Would you like to enter the Scratch competition, HTML5 competition, or both?
I'll enter both
You're in!

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

SuperSamuel25MC wrote:

Username: SuperSamuel25MC
Scratch Experience:10/10
HTML5 Experience:3/10
AI Experience:?2/10
AI Examples: Not too much
Would you like to enter the Scratch competition, HTML5 competition, or both?
Scratch competition.
Why wouldn't I accept you? LOL!

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
jokebookservice1
Scratcher
1000+ posts

New Contest: The Intelligence Battle

Here is my solution to the HTML5 task “SpikeJump”. (EDIT: Open the JS console when viewing the game, and paste that, and it will auto-start and play)

const start = function() {mode = 1, x = 0}
const jump = () => y == 400 && myCanvas.click()
start();
setInterval(() => [-600, -300, 0, 300, 600].map(n => (x - 20) + n).some(i => i > 0 && i < 100) && jump(), 50)

Last edited by jokebookservice1 (July 12, 2018 11:05:25)

AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

jokebookservice1 wrote:

Here is my solution to the HTML5 task “SpikeJump”. (EDIT: Open the JS console when viewing the game, and paste that, and it will auto-start and play)

const start = function() {mode = 1, x = 0}
const jump = () => y == 400 && myCanvas.click()
start();
setInterval(() => [-600, -300, 0, 300, 600].map(n => (x - 20) + n).some(i => i > 0 && i < 100) && jump(), 50)
Great! Just like my code, infinite maximum score!

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
jokebookservice1
Scratcher
1000+ posts

New Contest: The Intelligence Battle

AmazingMech2418 wrote:

jokebookservice1 wrote:

Here is my solution to the HTML5 task “SpikeJump”. (EDIT: Open the JS console when viewing the game, and paste that, and it will auto-start and play)

const start = function() {mode = 1, x = 0}
const jump = () => y == 400 && myCanvas.click()
start();
setInterval(() => [-600, -300, 0, 300, 600].map(n => (x - 20) + n).some(i => i > 0 && i < 100) && jump(), 50)
Great! Just like my code, infinite maximum score!
Yay! How does scoring work, out of interest, those that completed it and those that didn't? Also, feel free to share your solution – I'm interested.

Note that this could've been done in a single line:

x=(mode=(setInterval(()=>[-600,-300,0,300,600].map(n=>(x-20)+n).some(i=>i>0&&i<100)&&(y==400 && myCanvas.click()),50)-1))-1
AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

jokebookservice1 wrote:

AmazingMech2418 wrote:

jokebookservice1 wrote:

Here is my solution to the HTML5 task “SpikeJump”. (EDIT: Open the JS console when viewing the game, and paste that, and it will auto-start and play)

const start = function() {mode = 1, x = 0}
const jump = () => y == 400 && myCanvas.click()
start();
setInterval(() => [-600, -300, 0, 300, 600].map(n => (x - 20) + n).some(i => i > 0 && i < 100) && jump(), 50)
Great! Just like my code, infinite maximum score!
Yay! How does scoring work, out of interest, those that completed it and those that didn't? Also, feel free to share your solution – I'm interested.

Note that this could've been done in a single line:

x=(mode=(setInterval(()=>[-600,-300,0,300,600].map(n=>(x-20)+n).some(i=>i>0&&i<100)&&(y==400 && myCanvas.click()),50)-1))-1
For each challenge, if you complete it, you get 3 points. If it is a battle, win = 3, loss = 0, and tie = 1. If it is a best score wins, you get (total entries-your place) points. Mine is
var event = document.createEvent("Event");
event.initEvent("keydown",true,true);
function jump() {
document.dispatchEvent(event);
}
function getX() {
return x%300;
}
function read() {
if (getX()<120) {
jump();
}
}
setInterval(read,10);

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

bump

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

Bump

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
SUPERBOYsuperboy
Scratcher
2 posts

New Contest: The Intelligence Battle

Username: SUPERBOYsuperboy
Scratch Experience: 9/10
HTML5 Experience: 8/10
AI Experience:4/10
AI Examples: https://scratch.mit.edu/projects/235596582/, https://scratch.mit.edu/projects/238232733/, https://scratch.mit.edu/projects/239833722/
Would you like to enter the Scratch competition, HTML5 competition, or both?
Just the Scratch competition
AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

SUPERBOYsuperboy wrote:

Username: SUPERBOYsuperboy
Scratch Experience: 9/10
HTML5 Experience: 8/10
AI Experience:4/10
AI Examples: https://scratch.mit.edu/projects/235596582/, https://scratch.mit.edu/projects/238232733/, https://scratch.mit.edu/projects/239833722/
Would you like to enter the Scratch competition, HTML5 competition, or both?
Just the Scratch competition
You're in!

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs
INFIN1TY
Scratcher
100+ posts

New Contest: The Intelligence Battle

Username: INFIN1TY
Scratch Experience:8.5/10
HTML5 Experience:2/10
AI Experience:7/10
AI Examples: https://scratch.mit.edu/projects/223026527/ (Top Loved 06/06/18)
Would you like to enter the Scratch competition, HTML5 competition, or both? Scratch competition
Thanks

AmazingMech2418
Scratcher
500+ posts

New Contest: The Intelligence Battle

INFIN1TY wrote:

Username: INFIN1TY
Scratch Experience:8.5/10
HTML5 Experience:2/10
AI Experience:7/10
AI Examples: https://scratch.mit.edu/projects/223026527/ (Top Loved 06/06/18)
Would you like to enter the Scratch competition, HTML5 competition, or both? Scratch competition
Thanks
You're in!

set [variable v] to [true]
if <<I finally learned how to do a signature :: sensing> = <variable :: variables>> then
set [response v] to [YES!!!!!]
end
say (show::looks stack) for (stop [all v]::cap) secs

Powered by DjangoBB

Standard | Mobile