Mid twenties, girl I'm dating is going to move in 1-4 months, been hanging out for 5 months.

My game outside of ONS has been getting better with each girl I date, this latest has been pretty good. The girl is smart, successful, and good looking. I think I've become codependent as now I'm already thinking about gaming new girls and stuff after she moves away. In short I feel attatchment and wondering how you guys have dealt with this and if anyone has any advice