CS 161: Introduction to CS/OOP/Java
Winter 2001 -- Dr. Burnett
Programs

General information about how to submit any CS 161 assignment

P#1 : Book class and applet. Due: Friday, Jan. 26, 2:00 p.m.

P#2 : Book class and applet.  Due: Friday, Feb. 2, 2:00 p.m.

Solution #2 : Book.java  , BookApplet.java , BookApplet.html  [ Solution by Mizuki Kagaya ]

P#3 : String puzzles application; Due: Friday, Feb. 16, 2:00 p.m.

Solution #3:   StringPuzzlesApplication.java

P#4 : Poker Chips, using buttons and other graphics.  Due:  Friday, Mar. 2, 2:00 p.m. for extra credit, or Monday, Mar. 5, 2:00 p.m. for regular credit.

Solution #4:   Pile.javaPokerChip.javaPokerChipApplet.htmlPokerChipsApplet.java  [Solution by Dave Peixotto]

Solution #4: AWT+Swing version: Pile.java , PokerChip.javaPokerChipsApplet.html (this will not run on a browser without swing),  PokerChipsApplet.java

Solution #4: AWT-only version: here is the only file that is different from the above version: PokerChipsApplet.java

Solution #4:  Having problems getting those two to run?  Try this one!    Pile.javaPokerChip.javaPokerChipsApplet.htmlPokerChipsApplet.java

P#5 : A game using the poker chips; Due: Friday, Mar. 16, 2:00 p.m.

A sample screenshot from Dr. Burnett.
     The scenario here is:
        I've already moved 1 red chip and 2 blue chips into the ante pile (left).
        Then I selected the green chip, which made it turn darker.

Here is a solution to this program by Rob Banagale (he uses swing):  Pile.javaPokerChip.javaPokerChipsApplet.htmlPokerChipsApplet.java

Solution to this program by  Pawel Olas (he uses the chip-to-pile approach):  Pile.javaPokerChip.javaPokerChipsApplet.htmlrollPanel.java , PokerChipsApplet.java