Game logic

Please approve and merge :+1: