Anonymous user
Chicago Python Workshop/Chicago Python Workshop 1/Saturday projects/Wordplay: Difference between revisions
Chicago Python Workshop/Chicago Python Workshop 1/Saturday projects/Wordplay (view source)
Revision as of 17:30, 28 November 2012
, 11 years agoCodersquid moved page Chicago Python Workshop 1/Saturday projects/Wordplay to Chicago Python Workshop/Chicago Python Workshop 1/Saturday projects/Wordplay: nesting makes for better breadcrumb navigation
imported>Aisha |
imported>Codersquid m (Codersquid moved page Chicago Python Workshop 1/Saturday projects/Wordplay to Chicago Python Workshop/Chicago Python Workshop 1/Saturday projects/Wordplay: nesting makes for better breadcrumb navigation) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 4:
# Go over <tt>words1.py</tt> through <tt>words6.py</tt> as a class
# Demo <tt>scrabble_cheater.py</tt>
# Create fake_scrabble.py where you use scrabble_cheater as a module to return all possible words that could be placed against a letter.
## For this project, your script should run like this: <code>python fake_scrabble.py <RACK> <BOARD_LETTERS></code>
## You can assume that there is plenty of space between letters in BOARD_LETTERS on the board.
## You should also modify scrabble_cheater.py to return what it prints out, and put the surrounding code under a function definition.
# If you have more time
## Once you select a word, refresh the rack with new letters, and then add to the front and back letters of the word on the BOARD_LETTERS.
===Congratulations!===
|