I
IcyMint
Hi, I'm trying to write a program that's able to place boxes into a
room. Basically it's an empty rectangular room with different sizes of
boxes in it. The program will need to figure out where to place the new
boxes. I'm thinking of marking out the place taken by the boxes in the
room then compare if the coordinate of the new box overlaps with them.
But now, the problem is, I don't know how to start. Can you please help
me? Thanks a lot!
room. Basically it's an empty rectangular room with different sizes of
boxes in it. The program will need to figure out where to place the new
boxes. I'm thinking of marking out the place taken by the boxes in the
room then compare if the coordinate of the new box overlaps with them.
But now, the problem is, I don't know how to start. Can you please help
me? Thanks a lot!