this post was submitted on 29 Jan 2024
707 points (98.0% liked)

Memes

45719 readers
1276 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] r00ty@kbin.life 5 points 9 months ago* (last edited 9 months ago) (1 children)

Well I think goingToCrashIntoEachOther needs to return another drone object. Then don't can take that object. Based on self.serialNo and other.serialNo a mutually beneficial avoiding manoeuvre could be executed.

If you're about to crash into more than one other drone.. Good luck the function specifies "EachOther" meaning just one other drone!

[โ€“] tourist@lemmy.world 3 points 9 months ago

this calls for a whiteboard