Initiate gameplay function