1
0
Fork
You've already forked numberwar-graphs
0
A repository with programs and data from the graphing of the evolution of a forum game in the ksp forums. https://forum.kerbalspaceprogram.com/topic/205310-*/
  • Python 96.6%
  • Shell 3.4%
2024年03月03日 10:23:44 +01:00
3 Added scripts, data and graphs 2024年03月03日 10:12:37 +01:00
data Added scripts, data and graphs 2024年03月03日 10:12:37 +01:00
generate-graph Added scripts, data and graphs 2024年03月03日 10:12:37 +01:00
LICENSE Initial commit 2024年03月02日 16:17:22 +00:00
make-battle Added scripts, data and graphs 2024年03月03日 10:12:37 +01:00
make-segment Added scripts, data and graphs 2024年03月03日 10:12:37 +01:00
README Silly mistake in README corrected 2024年03月03日 10:23:44 +01:00
README.md Hello world 2024年03月02日 17:24:32 +01:00

This work is openly licensed under of the terms of the GNU GPL 2.0 or later license. See LICENSE for more details.

Please don't upload to Github
Due to ethical concerns, I kindly ask you not to upload this work to Github. Thanks!

Number War Graphs

Some time ago, I decided to start making graphs of the evolution of a forum game in the KSP forums. Now I have a pretty capable program to draw graphs.

How to use

The generate-graph program (written in python) generates graphs. It requires a data file, which can be specified with the option file:<file-path>. For example, if you are in the root of this repository, and wish to graph the third data set, you can enter ./generate-graph file:data/3.

Command-line arguments are interpreted in sequence; make sure you specify a file before asking, e.g, the list of battles.

The list of arguments supported by this program may be retrieved by giving it the --help argument on the command line. Temporary note: the help message is useless as of now, but I will make it more useful in the future.

The two shell scripts make-segment and make-battle are wrappers around generate-script to make it easier to do certain kinds of graphs.

They both are to be called with a first argument which is the name of the data set in the data/ directory (e.g 3), followed by more arguments:

  • For make-battle, each one indicates a battle to be graphed.
  • For make-segment, each one (n) causes the posts from n 001 to n+1 000 (inclusive) to be graphed; that is, the segment of 1000 posts starting at n001.