Author Topic: Simon blogs  (Read 47865 times)

0 Members and 1 Guest are viewing this topic.

Offline namida

  • Administrator
  • Posts: 10466
    • View Profile
    • NeoLemmix Website
Re: Simon blogs
« Reply #240 on: June 18, 2020, 10:26:43 pm »
Quote
I hesitate making intricate programming design topics here though: It's really software development at heart, not of general Lemmings interest, and probably more sensible on Software Engineering stack overflow. It would be a genuine call for help, on a nontrivial and highly specific problem in my personal areas of expertise and interest (Lemmings, OOP) -- thus obvious solutions won't fit.

On the other hand, it's easier to explain the problem on Lemmings Forums, because we have a bunch of developers here that will readily understand the problem. And if we find the least-worst solution, maybe it'll be helpful too for somebody in the future.

There is no rule against posting in more than one place. ;)

Offline ccexplore

  • Administrator
  • Posts: 5320
    • View Profile
Re: Simon blogs
« Reply #241 on: June 22, 2020, 10:05:15 am »
There's no harm in posting the problem here; as the saying goes, two (or more) heads can be better than one.  But I also think you are actually already the person on the forum who's most well-versed in the theory and practice of software design and architecture.  So ideally you'd want to get advice from someone who's even better at this, and hence a more programming-oriented forum or channel is probably the way to go.

But even if you end up solving the problem through purely outside advice, I certainly wouldn't mind hearing about the solution here. ;)

[aside: your previous post about keeping sentences terser has made me actually took the time to review and edit my writing above accordingly]

Offline Dullstar

  • Posts: 1775
    • View Profile
    • Leafwing Studios Website (EXTREMELY OUTDATED)
Re: Simon blogs
« Reply #242 on: June 23, 2020, 02:29:57 am »
I often feel more comfortable posting questions in places like this where I recognize a lot of the posters even if there's probably a technically better place to ask the question. Of course, if it's too advanced, there might not be anyone here who can help, but there's certainly not any harm in posting it here. I'd certainly be interested in seeing whatever you come up with; I find your posts on these topics quite interesting and informative.

Offline namida

  • Administrator
  • Posts: 10466
    • View Profile
    • NeoLemmix Website
Re: Simon blogs
« Reply #243 on: June 23, 2020, 04:27:42 am »
There's no harm in posting the problem here; as the saying goes, two (or more) heads can be better than one.  But I also think you are actually already the person on the forum who's most well-versed in the theory and practice of software design and architecture.  So ideally you'd want to get advice from someone who's even better at this, and hence a more programming-oriented forum or channel is probably the way to go.

Counter-point: Not all progamming problems are purely about the programming. Some might be about the underlying logic - there's usually many ways to approach such questions. Some might be about the UI, in which case feedback from potential users is very important - indeed, I feel that some decisions in Lix are based too much on programmer mentality and not user mentality (for example, the strong focus on making sure the UI is optimized in terms of fewest clicks - to the extent that some of the "nice fuzz" that players may expect in a game, is missing).

Of course, most such cases fall under "having a variety of opinions is good", and thus are most strongly arguments for "ask the question on both".

Offline WillLem

  • Posts: 982
  • "I can't think of a billion billion things!" - BB
    • View Profile
Re: Simon blogs
« Reply #244 on: June 25, 2020, 01:58:48 am »
Christmas tree problem

You have a fir tree and want to decorate it with christmas lights.

The fir tree's green bushy "surface" is cone-shaped, with a circular boundary at the bottom.

You also have n candles. These are about to be placed on the fir tree.

---

Task. Distribute the n candles on the fir tree such that the candles are nicely spaced apart from all other candles. You may place candles on the boundary.

No problem! I'm ace at decorating Christmas trees 8-) Nearer the time, I'll put up some pictures.



Application. If your christmas tree is instead the space of all colors, and you have 8 Lix player colors, find a distribution of 8 colors such that no two colors look more similar than necessary. This is hard, especially if you, in addition, want to avoid black because black lixes looks too much like the boundary level background.

To be fair, the picture you've posted distinguishes the Lixes very well. If you wanted to avoid black, this could be changed for hot pink or pastel pink, both of which are different enough from red not to be confused. Interesting that you chose teal rather than royal blue for Lix #5 in the image.

Offline namida

  • Administrator
  • Posts: 10466
    • View Profile
    • NeoLemmix Website
Re: Simon blogs
« Reply #245 on: June 25, 2020, 02:17:07 am »
Quote
To be fair, the picture you've posted distinguishes the Lixes very well. If you wanted to avoid black, this could be changed for hot pink or pastel pink, both of which are different enough from red not to be confused. Interesting that you chose teal rather than royal blue for Lix #5 in the image.

Adding to this - I would say that you could use a deeper blue there, then also use cyan as a player color. This would then allow ultimately removing black, and using white for neutrals (if that's still planned).

Offline Simon

  • Administrator
  • Posts: 2851
    • View Profile
    • Lix
Re: Simon blogs
« Reply #246 on: June 28, 2020, 08:46:10 pm »
Thanks for the suggestions to post in both places!

The problem is elaborate to describe from scratch, it relies on several details. For a start: Tiles and Occurrences, I'll probably move that and any replies to new topic.

Quote from: ccexplore
But I also think you are actually already the person on the forum who's most well-versed in the theory and practice of software design and architecture.

This is flattering. :lix-blush: I would have easily thought that you were the most well-versed, or else one of the professional software engineers who post less often, but supposedly have formal education and more years in the business. Thanks!

Still so much to learn, especially with my near-zero experience in multithreading and inter-process communication (apart from networking, or temp files).

Quote from: Dullstar
there's certainly not any harm in posting it here. I'd certainly be interested in seeing whatever you come up with; I find your posts on these topics quite interesting and informative.

This is very inspiring, thanks! This was the reason that I've begun here today with the explanation.

Re colors in Lix: Hmm, reasonable recommendations. I'll have to consider everything here in case of a physics or format change. Light grey would be a good neutral color.

-- Simon