In [1]:
import numpy as np
import scipy as sp
import pandas as pd
import matplotlib.pyplot as plt
%matplotlib inline

import client_base as cb

In [2]:
c = cb.Client()
# Change these values to map to the game instance's HTML port (use None for default port)
host = ""
port = None

In [ ]:
def do(cmd):
    return cb.run_command(cmd, use_curl=True, host=host, port=port)

In [3]:
do('help')


Out[3]:
{"Command help ('help <command>|<kind>' for more information) where kind is 'meta', 'game', or 'computer'": {'status': 'game command',
  'toggle_prompt': 'meta command',
  'help': 'meta command',
  'help_api': 'computer command',
  'objectives': 'meta command',
  'submit_data': 'meta command',
  'diagnostics': 'meta command',
  'cancel_deployment': 'meta command',
  'extract': 'game command'}}

In [ ]: