Lecture: 12-19-2012

posted Dec 19, 2012, 6:26 AM by Samuel Konstantinovich   [ updated Dec 21, 2012, 6:06 AM ]
Vacation Assignment: Due Friday January 4th. You have 4 school days and a vacation to work on this, so I have very high expectations : weighted as 5 homeworks
A. Scheme Practice 

Write a scheme function (shuffle A B) that takes two lists A and B, and returns a new list with the elements of both the lists shuffled together in alternating order, starting with the first element of A. 
examples:
(shuffle '(a b c) '(1 2 3))  returns:  (a 1 b 2 c 3)
(shuffle '(red foo) '(sky blue)) returns: (red sky foo blue)

When one of the lists is longer than the other (see below) then it shuffles as many elements as it can, then uses the remaining elements of the longer list.

(shuffle '(x y) '(a b c d)) returns: (x a y b c d)
(shuffle '( hey yah) '() ) returns: (hey yah)


B. Final Project Prototype

Prototype your project: (This involves no coding)
  • You will refine/modify your proposal. Decide on more features, be more specific about how you want the project to flow. What are the different modes/parts/levels, when should the program transition between them. (Don't worry about how you will do things yet)
  • Draw / Design your user interface to your project. This includes buttons/sliders/widgets. You should label them and provide descriptions (on a separate typed page) of what each part of the user interface will do/what are they going to be used for. You can leave your "world" view blank here. Keep things basically to scale.
  • Draw / Sketch / Design the different "world" views of your project. You probably want to draw it larger so you can put in more details. Some games always have the same game screen (like Tetris) , while others have menu screens, or a screen that changes when you move to a new area (side scrolling/platform games) 
Drawings: Straight edges should be straight (use a ruler), text should be NEATLY written, the pictures should be reasonable to what your project should look like, but stick-like figures are fine for turtles.
Proposal / Descriptions should be typed. 

You are handing in: (one per group)
Updated proposal (typed) including : Your Super Awesome Team Name!
Interface Design (drawn)
World Design(s) (drawn)
Description of widgets/interface (typed)

Comments