Basic victory condition implemented