bubble sort

Your browser needs java to view projects. Click here to install Java.

user_icon archmage shared it 1 year, 2 months ago
614 views, 4 taggers, 9 people love it, 133 downloads, in 1 gallery
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
ILuvPeanuts ILuvPeanuts 3 months, 3 weeks ago

How do you list?

mgmir mgmir 9 months, 1 week ago

Fun port of a classic C++ learning project.

archmage archmage 9 months, 1 week ago

I learned this in java :)

(view all replies)
illusionist illusionist 10 months, 1 week ago

the lists are black!!!!!!!!

scratchycat625625 scratchycat625625 3 months, 4 weeks ago

no they not!

(view all replies)
StBernard17 StBernard17 10 months, 1 week ago

I downloaded it, but I still don't get what the j and i variables mean d:)

archmage archmage 10 months, 1 week ago

They are indexing numbers. They are meant to keep place of the values.

(view all replies)
Rdevos Rdevos 1 year ago

Do you use java too?

Rdevos Rdevos 1 year ago

I tried the random number thing, but what I really want is something like a random number between 50 an 100.

archmage archmage 1 year ago

For random numbers, use Math.random(). It produces a number between 0 and 1 and it you want greater random numbers multply it like this: Math.random()*100 This makes a number between 0 and 100.

(view all replies)
archmage archmage 1 year ago

I learned java in school.

(view all replies)
archmage archmage 1 year ago

system.out.println("Yes I do, but I am not that great with it.");

(view all replies)
imacat imacat 1 year ago

ok, it didn't do it. so, who wants pie?

imacat imacat 1 year, 1 month ago

how do you make something a sensor button?(just asking)

archmage archmage 1 year, 1 month ago

You can't make a button sensor block. It's impossible in scratch. Just use broadcasts instead.

(view all replies)
archmage archmage 1 year, 1 month ago

You don''t. But if you want you can do when button pressed broadcast(IGotPressed) and just have another sprite recieve that broadcast.

(view all replies)
archmage archmage 1 year, 1 month ago

I don't know what a sensor button is...

(view all replies)
b_jay8 b_jay8 1 year, 1 month ago

great

nightgal339 nightgal339 1 year, 1 month ago

Wow! cool I think I can use this somwhere

logan996 logan996 1 year, 1 month ago

nice!

Robin7 Robin7 1 year, 1 month ago

Ok, I will. =P Actually, I'm fine with people remixing our games and not giving us credit.... he's just being rather obnoxious about it. By the way, very cool project!

illusionist illusionist 1 year, 1 month ago

the next archknights adventure remix is finally here!!!!!!!!! i would put a (link to project) but it said: "sorry, you have posted a similar message recently." so i'm just gonna ask you to go look. :)

imacat imacat 1 year, 1 month ago

how do you do a (link to project) thingy?

(view all replies)
skryed skryed 1 year, 1 month ago

how much is the lenth of the screen? not x, y

m44 m44 1 year, 1 month ago

do you think im ready for flash?

archmage archmage 1 year, 1 month ago

You won't know unless you try it

keroro645 keroro645 1 year, 1 month ago

R U working on something good?

archmage archmage 1 year, 1 month ago

nope

(view all replies)
thelasthorizon thelasthorizon 1 year, 1 month ago

could you give me some tips for flash. I can't figure it out.

archmage archmage 1 year, 1 month ago

Look up flash tutorials on google, also, flash is way harder than scatch which may be too hard for you.

jokerofsouls jokerofsouls 1 year, 1 month ago

archmage i need your help for more info see my forum in inspiration

dapontes dapontes 1 year, 1 month ago

Nice!

TimeFreeze TimeFreeze 1 year, 1 month ago

lol is that why you can't get less messages?

archmage archmage 1 year, 1 month ago

It's pretty futile to try to delete them all now if thats what you are asking.

TimeFreeze TimeFreeze 1 year, 1 month ago

dang it you get too many messages!!!

archmage archmage 1 year, 1 month ago

I know, my messages page can never load completely anymore.

(view all replies)
thrash240 thrash240 1 year, 1 month ago

archmage please look at my new game i think you will like it

TyCamden TyCamden 1 year, 2 months ago

This is great. Thanks for making it!

m44 m44 1 year, 2 months ago

tell me if you think this is a good game. ttp://(link to project)">scratch.mit.edu/projects/m44/256642

archmage archmage 1 year, 2 months ago

Its alright

Tanner-FBI Tanner-FBI 1 year, 2 months ago

Hi Archmage, can you take a look at my funny blocks project and remix please?

archmage archmage 1 year, 2 months ago

I'll look at it.

Worfaniggles Worfaniggles 1 year, 2 months ago

Small glitch: at the begging, your tracking variable is set to 1 but it should be at zero because the increase block is at the start of the script. Otherwise, the smallest number is always carried over.

archmage archmage 1 year, 2 months ago

I will fix that

bii44222 bii44222 1 year, 2 months ago

dosent load

News-guy News-guy 1 year, 2 months ago

you should make a GHOST RIDER game. Just ike the movie

thrash240 thrash240 1 year, 2 months ago

archmage please look at my new game i think you will like it

geckofreak geckofreak 1 year, 2 months ago

I learned how to do a bubble sort when I was learning trubasic.

geckofreak geckofreak 1 year, 2 months ago

Finally you can do a simple bubble sort in scratch. about time they put arrays in.

classicgamezer classicgamezer 1 year, 2 months ago

tell meez wuh u tink 'bout meez prowjectz

classicgamezer classicgamezer 1 year, 2 months ago

YAY! hi archie! can i callz u that? i just remade mario bros!

Princeoflaughalot Princeoflaughalot 1 year, 2 months ago

Check out my project (link to project)">(link to project) If you downlod it you can press enter to make the cat speak

Brawlcountry Brawlcountry 1 year, 2 months ago

can you help me with scrolling? my first scroller wasn't that good and I followed a scrolling method! he doesn't fall smoothly or jump at all! you need to download it to work! it's called Salty the donut

archmage archmage 1 year, 2 months ago

Yea, I looked at your new project. It needs some work.

archmage archmage 1 year, 2 months ago

Yea, I looked at it.

(view all replies)
archmage archmage 1 year, 2 months ago

check out some of the scrolling demonstrations I programmed

(view all replies)
thrash240 thrash240 1 year, 2 months ago

archmage please look at my new game i think you will like it

thrash240 thrash240 1 year, 2 months ago

i love 1.3 its awesome i wonder what else you can do in 1.3 lists are good for lots of stuff cant wait till the online thing is fixed oh ya and archmageyou are awesome

Jens Jens* 1 year, 2 months ago

Very nice! I have also experimented with various sorting algorithms: (link to project)">(link to project) Scratch lists are slow, but with clever strategies you can drastically improve performance.

TheCatAndTheBanana TheCatAndTheBanana 1 year, 2 months ago

it works well!

Bobby500 Bobby500 1 year, 2 months ago

Nice simulation. You have gotton very busy all of a sudden with projects.

archmage archmage 1 year, 2 months ago

I like arrays. There is a lot of new stuff you can do with them.

(view all replies)
Please Wait...