basic gameplay implemented with score and pattern display