Adding game functionality.