Added basic functions using gameState object to communicate with ui