Control variable with deferent levels in Regression

I have an experiment with two conditions: Control and treatment groups. I am measuring how confident the treatment groups felt while answering the question. It is a three level indicator- not sure, unsure, really sure. The experiment is done in pairs(2*2).

Each pair play the game together but only have access to their partners assurity levels. The pair’s total adds up for the team score. Each team only gets the team score and no information of an individual partner’s score.

How do I treat these levels in regression. I am measuring Team performance vs confidence(how sure they were).

Sorry, but your description is quite vague, so it is hard to guess. Could you please elaborate on what your scientific question is? In any case the brms package with ordinal regression (as in https://psyarxiv.com/x8swp/) and/or monotonic effects (https://cran.r-project.org/web/packages/brms/vignettes/brms_monotonic.html) is likely the way to go.