added @status var, combined dead? and win? into done method, added state method
added spec for state method