All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.monpetitcoin.java.PrisonerGame.PrisonerApplet

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----com.monpetitcoin.java.PrisonerGame.PrisonerApplet

public class PrisonerApplet
extends java.applet.Applet
This very simple applet is just used to run a Prisoner's Dilemma game. It does nothing except getting the parameters and instantiating a PrisonerGame object. If the parameters are not set or not in a proper format, it gets the default value from the PrisonerGame class.

Version:
1.00 14 August 2001
Author:
François Suter
See Also:
com.monpetitcoin.java.PrisonerGame.PrisonerGame

Variable Index

 o columns
 o incentive
 o rows
 o thePrisoner
 o theSize
 o threshold

Constructor Index

 o PrisonerApplet()

Method Index

 o init()

Variables

 o thePrisoner
 com.monpetitcoin.java.PrisonerGame.PrisonerGame thePrisoner
 o theSize
 java.awt.Dimension theSize
 o rows
 int rows
 o columns
 int columns
 o threshold
 double threshold
 o incentive
 double incentive

Constructors

 o PrisonerApplet
 public PrisonerApplet()

Methods

 o init
 public void init()
Overrides:
init in class java.applet.Applet

All Packages  Class Hierarchy  This Package  Previous  Next  Index