Skip to content

Commit

Permalink
placeholder for two analysis scripts:
Browse files Browse the repository at this point in the history
- single game summary graphic
- single player summary graphic
  • Loading branch information
privong authored and George C. Privon committed Feb 4, 2018
1 parent 9188ed7 commit 604975c
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
35 changes: 35 additions & 0 deletions analysis/SingleGame-summary.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env python
"""
Make a single game summary graphic.
"""

import argparse
import matplotlib.pyplot as plt
import numpy as np


def getArgs():
"""
Get command line arguments.
"""

parser = argparse.ArgumentParser(description="Make a single-game summary \
graphic.")
parser.add_argument('gameID', type=int, action='store', default=None,
help='gameID number to analyze.')

return parser.parse_args()


def main():
"""
main routine
"""

args = getArgs()

# now do other stuff


if __name__ == "__main__":
main()
35 changes: 35 additions & 0 deletions analysis/SinglePlayer-summary.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env python
"""
Make a single player summary graphic.
"""

import argparse
import matplotlib.pyplot as plt
import numpy as np


def getArgs():
"""
Get command line arguments.
"""

parser = argparse.ArgumentParser(description="Make a single-player summary \
graphic.")
parser.add_argument('playerID', type=int, action='store', default=None,
help='playerID number to analyze.')

return parser.parse_args()


def main():
"""
main routine
"""

args = getArgs()

# now do other stuff


if __name__ == "__main__":
main()

0 comments on commit 604975c

Please sign in to comment.