Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/squidca/hacketyhack into …
Browse files Browse the repository at this point in the history
…squidca-master
  • Loading branch information
steveklabnik committed Dec 11, 2010
2 parents 47b1a6c + 3763274 commit cefe7df
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.textile
Expand Up @@ -93,3 +93,4 @@ h2. Acknowledgements
* Fela Winkelmolen, for devoting an entire summer to get Hackety to v1.0!

* Everybody who's been putting hard work into Shoes. You guys are awesome.

12 changes: 6 additions & 6 deletions lessons/tour.rb
Expand Up @@ -165,7 +165,7 @@

page "What's it Good For?" do
para "The ", code("puts"), " command is nice, because you can tell the ",
"person at the computer what's going on or just tell him somehting. ",
"person at the computer what's going on or just tell him something. ",
"You can ",
"say ", strong("sending e-mail"), " or ", strong("downloading mp3"),
" or ", strong("just crunching away..."), " depending on what your ",
Expand Down Expand Up @@ -437,7 +437,7 @@
"things, we can start treating it like one. The ", code("reject!"),
" method will delete stuff from the list that we don't want. ",
"It has an exclamation point ", strong("because it's dangerous!!"),
" Kablewy. It deletes that stuff for good. "
" Kablooey. It deletes that stuff for good. "

embed_code "# Read the Metafilter feed.\n" +
'url = "http://xml.metafilter.com/rss.xml"' + "\n" +
Expand Down Expand Up @@ -528,7 +528,7 @@
"blogs, not bad."

para "But this lesson's going to hopscotch all that other stuff. In this ",
"lesson, you'll learn to create a program that let you encrypt and ",
"lesson, you'll learn to create a program that lets you encrypt and ",
"decrypt messages!! ",
"And we'll start to figure out what all the little pieces are: ",
"strings, numbers, blocks. Stuff like that."
Expand Down Expand Up @@ -662,14 +662,14 @@

para "Let's change the line defining the button, giving it a block:"

embed_code ' button "Encrypt/Decript" do' + "\n" +
embed_code ' button "Encrypt/Decrypt" do' + "\n" +
' puts "the button got pressed!"' + "\n" +
' end'

para "That tells Hackety Hack to attach the button to the ",
"block that contains the ", code("puts")," command. Try running it again ",
"and press the button a few times. Watch the output on the Hackety ",
"Hack window. So what happens? Every time the button gets presset it ",
"Hack window. So what happens? Every time the button gets pressed it ",
"gives a puff of air to the block and its code get executed."
end

Expand All @@ -679,7 +679,7 @@
" stack do\n" +
' title "Cypher"' + "\n" +
' box = edit_box "put your text here"' + "\n" +
' button "Encrypt/Decript" do' + "\n" +
' button "Encrypt/Decrypt" do' + "\n" +
' txt = box.text' + "\n" +
' box.text = txt.rot13' + "\n" +
" end\n" +
Expand Down
41 changes: 41 additions & 0 deletions todo.txt
@@ -0,0 +1,41 @@
Hackety Hack
============

* Go through the whole thing
* Look for issues
* Log them
* See if can fix any of them
* Play with shoes

Hackety Hack Problems:

* Mac

* Windows
- when hover over the x button in the sidebar, the word "Close" is cut off
- when enter text wherever, pipe symbols follow the cursor
- actually, it seems like it is ghosting the text
* Linux
* All
- lesson 1.13 Counting
- the example here is a little dumb
- "your name has #{x} letters"
- lesson 2.2, 2.3 etc.
- saving the files to .hacketyhack sucks on a mac
- how does a newbie find that?
- I understand you are trying to show the kids how that works, but maybe that's a different thing?
- maybe ask_save_file is the thing to do here
- some kind of weird highlighting/select that I can't get rid of


* Shoes

Hackety Hack Suggestions:
-------------------------

* Can the displayed program not go over the black area, so you can read the lesson as the program runs?

* Can we copy from the lesson? eg. 2.3 Running the Program, being able to copy the url would be nice.



0 comments on commit cefe7df

Please sign in to comment.