added game play logic

Please merge