Last roll of the dice: how idioms are used

It’s all fair in love and war and friendship too.

I felt I was losing ground with a friend and that we would soon be going our own separate ways, so I asked her to do something for me which would require her to commit to making an effort in a very specific way.