Added the playGame method and fixed a typo.