Community Data Science Workshops (Spring 2014)/April 5th project instructor outlines: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Mako
(Created page with "Both projects we'll use were created by Jessica McKellar and live on GitHub: * https://github.com/jesstess/Wordplay * https://github.com/jesstess/ColorWall They are instruct...")
 
imported>Mako
No edit summary
Line 5: Line 5:


They are instructor-led, following roughly these outlines:
They are instructor-led, following roughly these outlines:

=== Wordplay ===

# Review relevant material from lecture (e.g. <tt>for</tt> loops)
# Go over <tt>words1.py</tt> through <tt>words6.py</tt> as a class
# Demo <tt>scrabble_cheater.py</tt>
# Have students explore other interesting word properties or play with <tt>scrabble_cheater.py</tt> (BPW has had people start Words With Friends games and cheat using the script)


=== ColorWall ===
=== ColorWall ===
Line 17: Line 24:
* change the math in <tt>Checkerboards</tt>
* change the math in <tt>Checkerboards</tt>
* write and customize (e.g. colors) your own message in <tt>Message</tt>
* write and customize (e.g. colors) your own message in <tt>Message</tt>

=== Wordplay ===

# Review relevant material from lecture (e.g. <tt>for</tt> loops)
# Go over <tt>words1.py</tt> through <tt>words6.py</tt> as a class
# Demo <tt>scrabble_cheater.py</tt>
# Have students explore other interesting word properties or play with <tt>scrabble_cheater.py</tt> (BPW has had people start Words With Friends games and cheat using the script)

Revision as of 03:31, 31 March 2014

Both projects we'll use were created by Jessica McKellar and live on GitHub:

They are instructor-led, following roughly these outlines:

Wordplay

  1. Review relevant material from lecture (e.g. for loops)
  2. Go over words1.py through words6.py as a class
  3. Demo scrabble_cheater.py
  4. Have students explore other interesting word properties or play with scrabble_cheater.py (BPW has had people start Words With Friends games and cheat using the script)

ColorWall

  1. Review relevant material from lecture (e.g. dictionaries)
  2. Go over SolidColorTest and DictionaryTest in effects.py as a class
  3. Have students implement RainbowTest

If people finish (3) early, have them tweak existing effects or write a new one. Example tweaks including:

  • changing the hue bounds in Twinkle
  • change the math in Checkerboards
  • write and customize (e.g. colors) your own message in Message