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

#1 2011-05-16 06:01:50

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Create your own web browser.

Here's a contest for you all: create a web browser WITHIN Scratch! Basically, you should be able to paste in a code (in a markup language I'll describe later) and it should render it out. Here are the things I'm looking for:

•Looks: 10 points
•Number of codes it can interpret:

Code:

Here are the codes:
[b] and [/b]: bold  +5
[i] and [/i]: italics  +5
[u] and [/u]: underline  +5
[br]: line break  +1
[p]: indent  +5
[q] and [/q]: quote box +10
[c] and [/c]: code box +10
[color=?] and [/color]: color, needs to interpret at least red and blue  +20
[line]x|y|to|x|y|color|thickness[/line]: makes a line between the required coordinates, with the right color and thickness  +20
[url]x|y|x|y|code[/url]: renders that code if the area bounded by the rectangle determined by the given coordinates is clicked  +30

•Reload page +5
•History: records last few pages' codes, includes back and forward buttons  +20

Since letters are a pain to render, you don't have to be compatible with letters: just numbers: you don't need to do [i]Hi![/i], just [i]123[/i]

I look forward to see the results. I'll be making one, too (but not scoring it).

Sample code:

Code:

[i]123[/i][b]678[/b][br][br][q]1123[/q]

Last edited by Hardmath123 (2011-05-16 06:03:27)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#2 2011-05-16 06:52:19

priya911
Scratcher
Registered: 2009-07-11
Posts: 6

Re: Create your own web browser.

tongue  I might take part but i dnt think scratch is enuf for it !

Last edited by priya911 (2011-05-16 06:53:05)

Offline

 

#3 2011-05-16 06:58:36

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Create your own web browser.

What, using BBCode?
Could we use Panther instead?  tongue

Offline

 

#4 2011-05-16 10:29:11

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Create your own web browser.

scimonster wrote:

What, using BBCode?
Could we use Panther instead?  tongue

Scratch only.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#5 2011-05-16 10:31:07

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Create your own web browser.

Hardmath123 wrote:

scimonster wrote:

What, using BBCode?
Could we use Panther instead?  tongue

Scratch only.

That's going to be difficult.
I hope there isn't a time limit!  tongue

Offline

 

#6 2011-05-16 13:27:59

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Create your own web browser.

This is an interesting challenge.

I'm afraid it will take far to many scripts for the colors unless we use Panther, in fact, Panther will be so much easier in general. Might I suggest that you lift the rule for just Scratch?  smile

Offline

 

#7 2011-05-16 13:29:44

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Create your own web browser.

What do you mean by a quote/code box?
Also, how many extra points if it is letter compatible?

Offline

 

#8 2011-05-16 13:46:41

xIIV
New Scratcher
Registered: 2010-12-04
Posts: 72

Re: Create your own web browser.

Magnie wrote:

This is an interesting challenge.

I'm afraid it will take far to many scripts for the colors unless we use Panther, in fact, Panther will be so much easier in general. Might I suggest that you lift the rule for just Scratch?  smile

Aren't you making a web browser in Panther with sparks?  big_smile


Helping helps others to help you.  wink

Offline

 

#9 2011-05-16 23:56:08

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Create your own web browser.

Magnie wrote:

This is an interesting challenge.

I'm afraid it will take far to many scripts for the colors unless we use Panther, in fact, Panther will be so much easier in general. Might I suggest that you lift the rule for just Scratch?  smile

I meant for people to render the numbers—as 7-light displays:

Code:

 _
|_|
|_|

@scimonster  +30 for letter-compatible. Quote/code boxes are

this

and

Code:

this

Last edited by Hardmath123 (2011-05-16 23:57:17)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#10 2011-05-17 02:31:23

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Create your own web browser.

Does it have to read webpages or does it have to read code?

Also, if you want it to read webpages... I don't think it can be done on Scratch. Maybe in Panther though...


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#11 2011-05-17 05:08:32

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Create your own web browser.

Hardmath123 wrote:

Magnie wrote:

This is an interesting challenge.

I'm afraid it will take far to many scripts for the colors unless we use Panther, in fact, Panther will be so much easier in general. Might I suggest that you lift the rule for just Scratch?  smile

I meant for people to render the numbers—as 7-light displays:

Code:

 _
|_|
|_|

@scimonster  +30 for letter-compatible. Quote/code boxes are

this

and

Code:

this

What if I can do regular looking letters and numbers? I have a sprite with them already.  cool

Offline

 

#12 2011-05-17 06:35:50

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Create your own web browser.

jji7skyline wrote:

Does it have to read webpages or does it have to read code?

Also, if you want it to read webpages... I don't think it can be done on Scratch. Maybe in Panther though...

Code


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#13 2011-05-17 13:07:48

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: Create your own web browser.

I'm thinking about entering this, might take me a while though.

Also with the stuff you've added points to, I believe the tags are encapsulated in <> not []

so [b] --> <b>


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#14 2011-05-17 13:36:22

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: Create your own web browser.

RUMCHEERYPOOPOO wrote:

I'm thinking about entering this, might take me a while though.

Also with the stuff you've added points to, I believe the tags are encapsulated in <> not []

so [b] --> <b>

He/she's talking about BBCode, not html (I think).


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#15 2011-05-17 13:57:11

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Create your own web browser.

xIIV: Sort of though Sparks has made most of it already.

HardMath123: That makes sense. But if you let them make it in Panther, I can make a website so they can get webpages off of that. So basically our own web site place. ( So they can type 'http://mywebsite.com/' and it will redirect to: 'http://scratchnetwork.zxq.net/webssites/mywebsite.com' so Scratchers' can have their own website. ^.^

Last edited by Magnie (2011-05-17 14:00:33)

Offline

 

#16 2011-05-17 18:55:51

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Create your own web browser.

scratcher7_13 wrote:

RUMCHEERYPOOPOO wrote:

I'm thinking about entering this, might take me a while though.

Also with the stuff you've added points to, I believe the tags are encapsulated in <> not []

so [b] --> <b>

He/she's talking about BBCode, not html (I think).

+1


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#17 2011-05-18 00:26:41

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Create your own web browser.

Magnie wrote:

xIIV: Sort of though Sparks has made most of it already.

HardMath123: That makes sense. But if you let them make it in Panther, I can make a website so they can get webpages off of that. So basically our own web site place. ( So they can type 'http://mywebsite.com/' and it will redirect to: 'http://scratchnetwork.zxq.net/webssites/mywebsite.com' so Scratchers' can have their own website. ^.^

I like that—how about the winner's browser is used for that site?  big_smile

I used [b], not <b>, because most of us are more comfortable with BBCode.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#18 2011-05-18 03:47:22

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Create your own web browser.

Hardmath123 wrote:

Magnie wrote:

xIIV: Sort of though Sparks has made most of it already.

HardMath123: That makes sense. But if you let them make it in Panther, I can make a website so they can get webpages off of that. So basically our own web site place. ( So they can type 'http://mywebsite.com/' and it will redirect to: 'http://scratchnetwork.zxq.net/webssites/mywebsite.com' so Scratchers' can have their own website. ^.^

I like that—how about the winner's browser is used for that site?  big_smile

I used [b], not <b>, because most of us are more comfortable with BBCode.

How do you know? I use the HTML tags too. ^^

Offline

 

#19 2011-05-18 07:27:47

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: Create your own web browser.

I might try this.
But no obligations  wink

Offline

 

#20 2011-05-18 09:26:59

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Create your own web browser.

scimonster wrote:

Hardmath123 wrote:

Magnie wrote:

xIIV: Sort of though Sparks has made most of it already.

HardMath123: That makes sense. But if you let them make it in Panther, I can make a website so they can get webpages off of that. So basically our own web site place. ( So they can type 'http://mywebsite.com/' and it will redirect to: 'http://scratchnetwork.zxq.net/webssites/mywebsite.com' so Scratchers' can have their own website. ^.^

I like that—how about the winner's browser is used for that site?  big_smile

I used [b], not <b>, because most of us are more comfortable with BBCode.

How do you know? I use the HTML tags too. ^^

I don't know... I also prefer [] to <>, it's just better to look at.

PS You still have to make it in Scratch, the winner's browser will probably be converted to Panther.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#21 2011-05-18 11:55:19

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Create your own web browser.

Hardmath123 wrote:

Magnie wrote:

xIIV: Sort of though Sparks has made most of it already.

HardMath123: That makes sense. But if you let them make it in Panther, I can make a website so they can get webpages off of that. So basically our own web site place. ( So they can type 'http://mywebsite.com/' and it will redirect to: 'http://scratchnetwork.zxq.net/webssites/mywebsite.com' so Scratchers' can have their own website. ^.^

I like that—how about the winner's browser is used for that site?  big_smile

That works.  smile

Offline

 

#22 2011-05-22 10:42:35

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Create your own web browser.

Bump


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#23 2011-05-22 10:45:56

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Create your own web browser.

scimonster wrote:

What if I can do regular looking letters and numbers? I have a sprite with them already.  cool

Offline

 

#24 2011-05-22 11:02:26

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Create your own web browser.

scimonster wrote:

scimonster wrote:

What if I can do regular looking letters and numbers? I have a sprite with them already.  cool

Uhh, how will you do color? (No extra points)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#25 2011-05-22 11:05:24

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Create your own web browser.

Hardmath123 wrote:

scimonster wrote:

scimonster wrote:

What if I can do regular looking letters and numbers? I have a sprite with them already.  cool

Uhh, how will you do color? (No extra points)

It will be hard. I'll need two sets, and I'll use the color effect.

Offline

 

Board footer