Added playGame function

for rules engine for game