implement observer pattern in GameManager class, made logic for loose/win