Archive for the ‘Java’ Category

Prisoner’s dilemma on Android

Sunday, June 12th, 2011

The old prisoner's dilemma applet has been revitalized on Android. It was a fit occasion to clean up and rewrite those messy sources from the nineties.

Dilution calculator for distillers

Thursday, January 29th, 2009

This very simple Java application calculates the volume of water that needs to be added to an alcoholic distillate to reduce it to bottling strength. Although it's not a very complex calculation of course, life becomes a tidbit easier when the result is just a mouse click away. Invoke as follows: java ...

Prisoner’s Dilemma applet

Wednesday, June 4th, 2008

Retrieved from the old wiki: The Prisoner's Dilemma source code has been released, a simple AWT based and multithreaded Java applet. /** The Prisoner's Dilemma @version 0.20 @author Serge Helfrich 03-Aug-2002 (0.01 11-Feb-1998) */ import java.awt.*; import java.awt.event.*; import java.applet.*; public class Pris00 extends Applet ...