Added win and lose checking and interface.