Repository

29 views
Skip to first unread message

Leonardo Barichello

unread,
Nov 9, 2011, 6:52:38 AM11/9/11
to KTurtle; an educational programming environment
Hello,

i am using kturtle to teach programming for prospectives math teachers
ans high school student and would like to know if there is any
repository where i can share the code we made.

Thanks

Niels Slot

unread,
Nov 9, 2011, 3:27:23 PM11/9/11
to kdeedu-...@googlegroups.com
Hi Leonardo,

Awesome that you're using KTurtle to teach programming. If you have any feedback, please let us know!

About the repository. KTurtle has integration with the kde-files.org website. If you look in the File menu, there should be an item with a star icon. That pops up a window where you can download examples from the kde-files.org website.

To upload these examples, register at the kde-files.org website, and add a new KTurtle script. It should be pretty straight forward, let us know if you run into any problems.

Also make sure that the files you upload have a .turtle extension. Otherwise users won't be able to run the examples if they download them with KTurtle. (Though I might change that in the future.)

I look forward to seeing your code.

Regards,

Niels Slot

2011/11/9 Leonardo Barichello <baric...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "KTurtle; an educational programming environment" group.
To post to this group, send email to kdeedu-...@googlegroups.com.
To unsubscribe from this group, send email to kdeedu-kturtl...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/kdeedu-kturtle?hl=en.


cies

unread,
Nov 11, 2011, 10:49:12 AM11/11/11
to kdeedu-...@googlegroups.com
for a quick approach you can also just dump your code in an email and
send it to this list :)

we love to see code!

kindly,
cies.

Leo Barichello

unread,
Nov 11, 2011, 12:17:30 PM11/11/11
to kdeedu-...@googlegroups.com
I just uploaded to kde-files, in order to see how it works.
And it seems fine!

But once you like codes, that is it:

learn arvore $niveis, $n {

forward 50

$n = $n+1

if ($n<$niveis) {

turnright 20

arvore $niveis, $n

turnleft 40

arvore $niveis, $n

turright 20

}

backward 50

}


arvore 5, 0


Just a basic recursive tree.

Bye

2011/11/11 cies <cies....@gmail.com>



--
Sócio-diretor da Mais educacional - www.mais.mat.br
Professor do Colégio Villa Lobos e PUC-Campinas


Reply all
Reply to author
Forward
0 new messages