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
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{CDSW Moved}}

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


Line 5: Line 7:


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 26:
* 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)

Latest revision as of 22:07, 15 March 2015

Page Moved
All material related to the Community Data Science Workshops have been moved from the OpenHatch wiki to a new dedicated wiki and this page is no longer being updated here. Please visit the new version of the page on the Community Data Science Collective wiki.

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