The Duke Nukem Stat Manager

Written by billo. 
billo@billo.com

This is a python program which lets you track Duke stats. The program has two modes:

  1. New game entry. When you play a game, you type in the kill stats as they appear on the end-of-game screen.
  2. Stat computation. Compute stats and print a report based on compiled data from previous games. You can report on all games, the last N games, or all games of a given name.

The main part of the package is a python program which reads game data and does the computations. duke.py

A supporting C shell script shows how to generate reports on different data. doduke.csh

This is a sample datafile which you create by entering game stats.

Sample session for entering game stats:


# ./duke.py duke.dat -new
Entering a new game report
  Fri Feb 21 16:20:18 1997

Game ID [134]: 
Game Minutes [29]: 45
Game Name: HotelHell
Enter scores. Press Ctrl-D on it's own line when you're done.
bob 0 3 4 5
jim 3 1 2 2
frank 10 4 3 2
jane 4 5 5 1
^D
bob         0   4   5   3
frank      10   3   2   4
jane        4   5   1   5
jim         3   2   2   1