View this PageEdit this Page (locked)Attachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Case Final Project Summer 2007

CoWeb Assignment 1 (due 5/22)

  1. Mini Java-to-Squeak Tutorial
    This tutorial, like the title suggests, is devoted to showing how the concepts are coded in Java and in Squeak. It's very useful because I would argue that many of us are have only used Java in college (I know have be cause Matlab isn't a real language to me), and when lerning a new language, it is best to first notice the similarities it has with another language instead of starting from scatch.
  2. Chowder Powder's Sudoku PA2
    Right away the author mentions the mistake he made on starting the first assignment too late and without a partner and thus receiving a great big zero. However he's turned over a new leaf and started the next assignment early and with a partner. He and his partner worked in the "Extreme Programming" fashion instead of using the "divide and conquer" that inevitably leads to disaster. Besides providing an algorithm they used for the auto solver portion and a warning about remembering to do the Sunit testing first, Team Chowder Powder actually doesn't reveal the secrets of their code to the public.
  3. A tutorial for Morphic by Mike Noonan
    Mike Noonan discusses his favorite aspect of Squeak, Morphic, specifically regarding his 2-d animation project. Mike analyzes the qualities of SketchMorph, which he used to draw the arms and legs of his actor for the project. However he ran into a problem trying to rotate on an axis that was not based on the center. He solved this problem "by loading an image into the sketchmorph that was transparant on one half of the side." (see figures below)

    But Mike also discovered by using TransformMorph in the first place he could've avoided the whole problem entirely. Mike gives an example code of how to use CurveMorph/ PolygonMorph and explains that TextMorph is used for text manipulations. Using the morphs he advises to not forget to intialize the super:
    super initialize.
    Mike then gives examples of basic functions and how to display an image inside SketchMorph. He then adds each portion of the actor to the main Morph. In order to manage all of the submorphs, Mike iterates through the submorphs and when he find a PolygonMorph he makes it invisible.
    self submorphs do: [:each |
    (each isKindOf: (PolygonMorph)) ifTrue: [each visible: false]]
    ].
    Mike's tutorial is fairly detailed and presented with pictures and definately with help on projects using Morph.
  4. Video Professor: Because reading is HARD.
    Frankly I must say that this case is awesome. It quickly introduced me to the world of Squeak though video. Though the quality of the video kind of required me to view the movie a couple of times, it was well worth it. The topics that were filmed included: how to file in new code, edit code, quickly save, quickly share code, work with Morphs and much more.
  5. A Tutorial on Good Design


Link to this Page