Our logoSpiele von Doris und FrankGreat German Games with a Hedgehog
Deutsche Version anzeigen!
Our Games About us Online Games Events Other Contact Order Infos
Home  >  Online Games  >  Numfield  >  The Applet

Numfield, the Applet

decopics/duke_power.gif Well, after pondering about the game I had many strategies in mind and in order to check them out, to compare them and to see how they react on each other I wrote another tiny Applet.

The Applet

The Applet basically works as an arena for strategies which come as classes themselves and which are loaded according to a list, which is passed to the applet on initialization. On the a later page you can see how to create a strategy class of your own and how to compete with other strategies. Unfortunately your browser is not able to display the Numfield simulation applet.

The Applet is not really interactive, once started it just lets those strategies compete. The only thing you can do is, click into the applet, to stop it. When you click again to continue, you highlight the strategy corresponding to the line you clicked on. The last three strategies clicked are highlighted in different colours, allowing you, to watch their progress more easily.

Note that the Applet starts up a bit slow, since it consists of four classes and afterward has to parse and load the strategies, one class per strategy. You can watch the loading of strategies on the Java Console window (unless you have a stupid Internet Explorer without console). For those of you who have to pay their online time: Once play started no net connection is needed any more...

The output of the Applet looks as following: The first line contains a counter how many turns (or rounds) have been played. The following lines each contain one strategy in the following format:

Rank.:Name of ClassTotal points(Number betted last round)Total point difference to next better programTotal point difference to leader

For an extinct strategy there is the round of extinction in square brackets (due to a bug, the last column still changes for extinct programs, the rest is frozen).
Programs disqualified due to a illegal bet, can be recognized by a point total of -1000.

Comments to the demo strategies

The above demonstration contains a few of the strategies, I have invented yet. I will not explain the more complex ones in detail, cause I dont want to direct your ideas in any particular direction. The source code of a few of them can be found on the next page .

Just a few comments.

Please think of interesting strategies and let me know about them!! Java-Classes make things easier for me, but I am open to any form of program snippet or natural language description.

On the next page you can learn, how to package your strategy into a Java class.


Locations of visitors to this page
LPage Guestbook
http://doris-frank.de/numapplt.html changed 4/16/07, rendered 4/17/07
(c) 1997-2007 by   Doris & Frank    Site  imprint