| 3 | Added scripts, data and graphs | |
| data | Added scripts, data and graphs | |
| generate-graph | Added scripts, data and graphs | |
| LICENSE | Initial commit | |
| make-battle | Added scripts, data and graphs | |
| make-segment | Added scripts, data and graphs | |
| README | Silly mistake in README corrected | |
| README.md | Hello world | |
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.