tuna

joined 1 year ago
[โ€“] tuna@discuss.tchncs.de 1 points 1 month ago

#F5A9B8 at (5,11)

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 2 points 2 months ago

#5BCEFA at (6,10)

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 2 points 2 months ago

#5BCEFA at (5,9)

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 1 points 2 months ago

#5BCEFA at (7,9)

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 2 points 2 months ago

#5BCEFA at (6,8)

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 3 points 2 months ago

#F5A9B8 at (4,13)

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 2 points 2 months ago

#F5A9B8 at (4,12)

imma just pretend the pink above this one is the right shade xD

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 1 points 2 months ago

#5BCEFA at (4,10)

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 2 points 2 months ago

#5BCEFA at (4,9)

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 3 points 2 months ago

#5BCEFA at (3,24)

Palette and y-coordinate helper

  • Cyan - #5BCEFA at 7-10, 23-26
  • Pink - #F5A9B8 at 11-14, 19-22
  • White - #FFFFFF at 15-18
[โ€“] tuna@discuss.tchncs.de 7 points 2 months ago

PR: Merged

Good call with using a shared reference so now we can kiss our partner(s) more than once!!

Kissing many partners with one big smooch might be hard tho, maybe we need to change the implementation to use combinatorics so that everyone kisses each of their partners at least once.

Since there's no way to tell who kisses who, i can cheat by printing nCr times :3

pub fn lovers(partners: &[&dyn Gender]) {
    match partners.len() {
        0 => {
            println!("ghost smooch~");
        }
        1 => {
            println!("mirror smooch~");
        }
        p => {
            // p >= 2, safe to unwrap
            for _ in 0..ncr(p, 2).unwrap() {
                println!("smooch~");
            }
        }
    }
}
view more: โ€น prev next โ€บ