I am programming a game in Python and I have ran into a problem that I don't know how to handle.
My game is a space strategy game and has clickable fleets and stars. Only one star and fleet can be active at any one time. With stars. it is easy. They are always in one place and don't move. However fleets can move and at some point two or more fleets are going to end up on one star.
I can manage the situation, if one fleet is currently on a star, but I have no idea, what to do, when there are two or more.