News for hackers. Stuff that matters.
Re:An easter egg for one user: Luke Skywalker by saltedmd5 on Wednesday June 28, 2017 @07:27AM (#14653207)
"Using that information I created a trigger that only activated Darth Vader when someone with that avatar was playing (well, almost, anyone with that hair, glasses and smile, couldn't be sure about skin tone or hair color from the screenshot)."

Presumably the avatars are built by combining pre-made features.

Re:An easter egg for one user: Luke Skywalker by einaregilsson on Wednesday June 28, 2017 @08:13AM (#14653404)
Exactly. Each avatar is made up of 6 features, hair, hair color, skin color, eyes and mouth. No nose, because who needs them! So each part has a code, and I can store a face as a simple 6 character string. Then I just compared against the ids of the eyes, hair and smile. I actually allowed any glasses and any smile because I wasn't absolutely sure which one he'd used :)
Re:An easter egg for one user: Luke Skywalker by komali2 on Wednesday June 28, 2017 @07:36AM (#14653238)
Yea so like simple as if this hair + this glasses + crown, show the Easter egg.