Game works according to assignment requirements