Added basic game functionality.