modifying map; adding exit. improving win/lose conditions