Text this: A Mathematical Framework for Interpreting Playing Environments as Media for Information Flow