final step pvp match, everything works except we need to store strings instead of ints in json docs because app42 does not have corresponding methods
also comparison of strings is questionable