⚓️ Welcome! ⚓️ I decided to make a sailing simulator, and after 2 weeks, this is what I came up with! I'm planing on adding a lot more in the future, including combat with cannons, trading, and general island-hopping exploration. Let me know what you think! ⚓️ Controls ⚓️ turn - right/left arrow keys position sail - a/d keys The wind blows from left to right, so try to catch the wind in your sails! ⚓️ General Approach ⚓️ All data for the game is stored in lists. This way, any object can view and edit the data of any other object, making complex collisions possible. Each ship's collision hitbox is defined by a set of line segments. When two line segments from different ships cross, a collision is registered at that point, and appropriate forces are applied to the two ships involved in the collisions. ⚓️ Graphics ⚓️ To gain more control over graphics but maintain quality, I have a dedicated graphics sprite that creates all graphics as clones every frame, then deletes them at the start of a new frame. The process itself is slightly slower (about 10% slower than preserving and updating clones), but it makes much of the other code in the project far more efficient. ⚓️ Credits ⚓️ Collision response adapted from Robert Fotino https://fotino.me/2d-rigid-body-collision-response/ Line segment intersection adapted from GeeksforGeeks https://www.geeksforgeeks.org/check-if-two-given-line-segments-intersect/