Wed - December 5, 2007

CSC 112: Final Programming Assignment


Here are the options for your final programming assignment (optional as discussed in class):

1) Golf Card Game for 2-4 players with the capability of having the computer be one of the players. As a suggestion, see the object-oriented blackjack game in the text. For rules, see http://en.wikipedia.org/wiki/Golf_(card_game) or http://www.pagat.com/draw/golf.html.

2) Canoga (Shut-the-Box) for one or more players. Also, as a suggestion for designing this, see the object-oriented blackjack game in the text. For rules, see http://en.wikipedia.org/wiki/Canoga or http://www.mastersgames.com/rules/shut-box-rules.htm.

3) Battleship of human versus computer. For rules, see http://en.wikipedia.org/wiki/Battleship_game. For a text-based implementation, create a grid similar to that shown on the Wikipedia page to communicate ship placement and attacks.

Due by Wednesday, December 12 at 11 a.m. No late projects accepted.

Posted at 10:29 AM    

Fri - November 2, 2007

Read Chapter 7.


Make sure to read the chapter on pointers!

Posted at 12:03 PM    

Part 1 of Project 1 Due Wednesday, November 7.


Due Wed: A type-written version of your brainstorming, outline, and pseudo-code. For the pseudo-code: functions, pseudo-code for main, pseudo-code for functions.

Posted at 12:03 PM    

Project 1: Due November 16, 2007.


Choose one of these:

1) Farkle (see Wikipedia and other online resources for rules or sample games but no stealing code that you probably don't know what to do with, yet, anyway). 2-5 players or the computer and 1-5 players.

2) A text-based adventure game with a theme (i.e. fantasy, 1920s New York detective, stay-at-home parent and kids, whatever) and multi-part goal (such as get shield, get sword, fight dragon or get puzzle part 1, get puzzle part 2, assemble, use as key). The game should have at least 3 rooms, 3 verbs, and 3 objects. The objects should be randomly placed in the rooms at the beginning of the game. The game should also have an inventory system. Once the multi-part goal is reached by collecting and using things, let the player know. Be as creative and witty in your writing as possible.

Posted at 12:02 PM     Read More  

Thu - October 25, 2007

Web Exercise for Friday, October 26 Due Monday, October 29


Gone to D.C. for a research program review. In lieu of the regular class lecture, here is a web exercise. Complete here in class, at lab, or at home individually or in your pair to submit on Monday.

Posted at 06:45 PM     Read More  

Mon - October 15, 2007

Homework #3: Due Monday, October 22.


As your pair, complete Chapter 4, Exercise #1 and Chapter 5, Exercise #2. Submit planning, code, and executables as one .zip file.

Posted at 10:56 AM     Read More  

Mon - October 1, 2007

Test 1 on Friday, October 5


We'll have our first full test on Friday, covering material from class and chapters 1-3 in the text.
There may also be a short programming exercise as part of the test, so be prepared and study hard!

Posted at 04:57 PM     Read More  

Wed - September 26, 2007

Web Exercise for Class, Friday, October 28, 2007.


I have to travel to Washington, D.C. for a conference and research meetings and will not be there to lead class. Here is a web exercise to follow instead. (The link may not be active until Friday).

Posted at 08:01 PM     Read More  

Mon - September 17, 2007

Homework #2: Due Friday, September 21


Individually, submit one typed page answering Discussion Questions #1-5 at the end of Chapter 2.
As a pair, submit a .zip file with all folders, source, and executables for Exercises 1-3. (For exercises such as #2, you may attempt to compile and run to figure out things, but all that you need to submit is a text file with your answer).

Posted at 07:45 PM     Read More  

Wed - September 5, 2007

Homework #1: Due Wednesday, September 12


Homework #1:
As individuals, complete Discussion Questions #1-5 from the end of Chapter 1. Submit one printed page with your answers in class.
In your programming pair, complete Exercise #3 using the pair programming ideas that we discussed. Submit one .zip file with both names and all folders and assignment files necessary to read source code and run program.

Posted at 07:43 PM     Read More  

Fri - August 31, 2007

Up and running!


Greetings! Welcome to the oh-so-trendy class blog. I'll use this to post general announcements, assignments, changes to the schedule, etc. Please check it regularly.

For the true geeks, you can even subscribe to an RSS feed of this blog and get class updates on your newsreader or mobile device.

Please let me know if you see broken links, mistakes, etc. Suggestions are always welcome about the course and web pages in general, too.

Posted at 07:41 PM     Read More