Jump to content




Generating Scrollable buttons in the terminal from a table


  • You cannot reply to this topic
4 replies to this topic

#1 vargaszm

  • Members
  • 38 posts

Posted 08 July 2014 - 01:52 AM

I'm working on a programming class for kids using turtles, various grades 1-6 depending on each class. My coding skills are not that strong and one thing i need is to make their list of programs mouse-clickable. It's hurting my brain thinking about it, but i have enough ideas i know i could do it with some help. I recently started playing around with stateless iterators, but I'm still building on very rusty basic skills from over 10 years ago.

Here's the code for the rednet turtle client: http://pastebin.com/XxSqVTCa

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 08 July 2014 - 02:51 AM

That's quite a project you've got going there. :lol:

I just happened to write a menu the other day (for this thing); I've stripped the code down to a basic set of function calls which I reckon you should be able to customise and/or integrate into what you've got:

Spoiler

Edited by Bomb Bloke, 08 July 2014 - 11:03 PM.


#3 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

Posted 08 July 2014 - 02:57 AM

you're definitely going to want to brush up on coding skills before attempting your project. luckily the Lua projects offers free online manuals(5.1, the version CC uses: http://www.lua.org/m...x.html#contents ) though it certainly helps to have a physical copy. You might want a physical copy for the classroom too.

#4 vargaszm

  • Members
  • 38 posts

Posted 08 July 2014 - 08:00 PM

These kids barely understand what a computer is or where the keys are, the class is highly nerfed. The goal is more to teach them a few basic structures and make them feel comfortable with what programming is. I don't have a lot of time to make an impression so I'm more focused on creating something they can take home and will want to use at home.

#5 vargaszm

  • Members
  • 38 posts

Posted 08 July 2014 - 08:17 PM

the scroller is nice, and the note block vid is pretty cool. I can def adapt this, and i love that you added in the fading. Details are gold. Danke schoen.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users