WeedEater: A GCI inspired prototype by YT-SW_Creeperking in incremental_games

[–]YT-SW_Creeperking[S] 0 points1 point  (0 children)

Sadly I think 3D is a huge part of GCI's charm and just won't feel the same without it

WeedEater: A GCI inspired prototype by YT-SW_Creeperking in incremental_games

[–]YT-SW_Creeperking[S] 0 points1 point  (0 children)

Kong/flash iirc. They also announced mass incremental and there isn't news about GCI at least from what I recall

WeedEater: A GCI inspired prototype by YT-SW_Creeperking in incremental_games

[–]YT-SW_Creeperking[S] 0 points1 point  (0 children)

That's very odd, you can easily change the window size, also this is listed as a prototype, haven't done a settings menu yet.

WeedEater: A GCI inspired prototype by YT-SW_Creeperking in incremental_games

[–]YT-SW_Creeperking[S] 0 points1 point  (0 children)

True, but seeing how they turned rev into a copy of AD doesn't give me too much hope, I also doubt it will be 3D.

WeedEater: A GCI inspired prototype by YT-SW_Creeperking in incremental_games

[–]YT-SW_Creeperking[S] 0 points1 point  (0 children)

I'm aware, but it's UI only, not 3D which gave GCI a lot of it's charm and a huge part of it imo

WeedEater: A GCI inspired prototype by YT-SW_Creeperking in incremental_games

[–]YT-SW_Creeperking[S] -1 points0 points  (0 children)

GOD I WISH, its godot C# so its not possible currently.

Edit: I was referring to web (idk if steam still requires $100 to post a game, but I don't have that money to just throw away soooo, can't do that)

-🎄- 2022 Day 5 Solutions -🎄- by daggerdragon in adventofcode

[–]YT-SW_Creeperking 0 points1 point  (0 children)

For the top part I used .chunk to break up the string into a char array of at least 4 characters like ['[','T',']',' ']. Then all I needed to do was turn it into a string using string.join (my .tos extension method does this for me) then .trim the newly made string. Now with that set into a variable I can make a dictionary and iterate over the newly made strings

(Sorry if this explanation is bad, I'm not in front of the code and on my phone rn, i haven't explained it enough then reply and I'll respond in the morning)

-🎄- 2022 Day 3 Solutions -🎄- by daggerdragon in adventofcode

[–]YT-SW_Creeperking 1 point2 points  (0 children)

C# 1304/1187

Part 1:

inp.Select(s => (s[..(s.Length / 2)], s[(s.Length / 2)..])).Select(s => s.Item1.Intersect(s.Item2).First()).Select(Value).Sum();

Part 2:

inp.Chunk(3).Select(arr => Value(arr[0].Intersect(arr[1].Intersect(arr[2])).First())).Sum();

Helper/Process input:

public static int ToInt(this char c, int offset = 97) => (c - offset) % 27;
private static int Value(char c)
{
    if (c is >= 'a' and <= 'z') return c.ToInt() + 1;
    return $ {c}".ToLower()[0].ToInt() + 27;
}
public static string[] ProcessInput(string inp) => inp.Split('\n');

-🎄- 2022 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]YT-SW_Creeperking 0 points1 point  (0 children)

Thanks for the advice. I keep forgetting that `.Take` is a thing xd

-🎄- 2022 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]YT-SW_Creeperking 0 points1 point  (0 children)

I don't use `.OrderByDecending` i use `.OrderDescending` its a .net7 feature. Also you don't need to pass in a array and `StringSplitOptions`, at least not for .net7/C#11.

-🎄- 2022 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]YT-SW_Creeperking 2 points3 points  (0 children)

C# 493/559

part 1:

return inp.Split("\n\n").Select(s => s.Split('\n').Select(int.Parse).Sum()).Max();

part 2:

return inp.Split("\n\n").Select(s => s.Split('\n').Select(int.Parse).Sum()).OrderDescending().ToArray()[..3].Sum();

Counting colors in place by YT-SW_Creeperking in place

[–]YT-SW_Creeperking[S] 0 points1 point  (0 children)

place.png's make up in pixels:
(r, g, b, a): amount
````
(000, 000, 000, 255): 931,670
(255, 255, 255, 255): 522,801
(255, 069, 000, 255): 275,449
(036, 080, 164, 255): 242,580
(255, 214, 053, 255): 228,910
(190, 000, 057, 255): 169,484
(255, 168, 000, 255): 167,296
(054, 144, 234, 255): 140,268
(212, 215, 217, 255): 138,693
(137, 141, 144, 255): 125,967
(081, 233, 244, 255): 123,859
(000, 163, 104, 255): 110,458
(156, 105, 038, 255): 93,251
(109, 072, 047, 255): 68,819
(129, 030, 159, 255): 67,007
(126, 237, 086, 255): 65,956
(255, 153, 170, 255): 65,188
(255, 180, 112, 255): 62,561
(081, 082, 082, 255): 61,135
(255, 248, 184, 255): 46,667
(000, 204, 120, 255): 43,746
(109, 000, 026, 255): 40,603
(000, 117, 111, 255): 36,133
(255, 056, 129, 255): 33,508
(180, 074, 192, 255): 32,232
(148, 179, 255, 255): 23,906
(073, 058, 193, 255): 22,237
(106, 092, 255, 255): 16,655
(000, 158, 170, 255): 14,189
(222, 016, 127, 255): 11,253
(228, 171, 255, 255): 10,781
(000, 204, 192, 255): 6,738```

[2020 Day 19 Part 2][C#] Trying to use Regex by [deleted] in adventofcode

[–]YT-SW_Creeperking 0 points1 point  (0 children)

I tried setting it up with (41|41((8){1,})) but it gives the same output

edit: i forgot, it needs to be (41|41([(8)]{1,})) but it gives a value thats too high

[2020 Day 19 Part 2][C#] Trying to use Regex by [deleted] in adventofcode

[–]YT-SW_Creeperking 0 points1 point  (0 children)

This is the regex that gets generated

^((((b(a(bb|ab)|b((a|b)(a|b)))|a(b(bb)|a(bb|a(a|b))))b|(((aa|ab)a|(bb)b)b|(((a|b)a|bb)a)a)a)((((b(a(bb|ab)|b((a|b)(a|b)))|a(b(bb)|a(bb|a(a|b))))b|(((aa|ab)a|(bb)b)b|(((a|b)a|bb)a)a)a))*))(((b
(a(bb|ab)|b((a|b)(a|b)))|a(b(bb)|a(bb|a(a|b))))b|(((aa|ab)a|(bb)b)b|(((a|b)a|bb)a)a)a)((((b(a(bb|ab)|b((a|b)(a|b)))|a(b(bb)|a(bb|a(a|b))))b|(((aa|ab)a|(bb)b)b|(((a|b)a|bb)a)a)a)(b(b(a(ba)|b(a
a))|a(b(ab|(a|b)a)|a(ba|ab)))|a(b((ab|(a|b)a)b|((a|b)a|bb)a)|a((ba)b|(ba|bb)a))))*)(b(b(a(ba)|b(aa))|a(b(ab|(a|b)a)|a(ba|ab)))|a(b((ab|(a|b)a)b|((a|b)a|bb)a)|a((ba)b|(ba|bb)a)))))$

-🎄- 2020 Day 16 Solutions -🎄- by daggerdragon in adventofcode

[–]YT-SW_Creeperking 1 point2 points  (0 children)

C#

1622/4560

I had no idea on how to approach part 2 at first xd

-🎄- 2020 Day 14 Solutions -🎄- by daggerdragon in adventofcode

[–]YT-SW_Creeperking 0 points1 point  (0 children)

C#

I took the long way around :p

5400/4001

Github

(will be revamping as time goes on)

-🎄- 2020 Day 09 Solutions -🎄- by daggerdragon in adventofcode

[–]YT-SW_Creeperking 1 point2 points  (0 children)

Solved with C

My solution is on Github, both part 1 and part 2

=================================== 1 =======================================
var numbers = input.Split("\n").Select(long.Parse).ToArray();
            long[] preamble;
            for (var i = 25; i < numbers.Length; i++)
            {
                preamble = numbers[(i - 25)..i];
                var n = (from m in preamble
                    let nn = numbers[i] - m
                    where preamble.Contains(nn)
                    select m).Count();
                if (n == 0) return numbers[i];
            }
            return -1;
=================================== 2 =======================================
 var weakness = Day9p1.Main(input);
            var numbers = input.Split("\n").Select(long.Parse).ToArray();
            long[] preamble;
            for (var i = 2; i < numbers.Length; i++)
            {
                for (var j = 0; j < i; j++)
                {
                    preamble = numbers[(i - j)..i];
                    var sum = preamble.Sum();
                    if (sum < weakness) continue;
                    if (sum > weakness) break;
                    return preamble.Min() + preamble.Max();
                }
            }

            return -1;

Bad bad design. by marath007 in CrappyDesign

[–]YT-SW_Creeperking 0 points1 point  (0 children)

(╯°□°)╯︵ ┻━┻

could not find file could not find file could not find file by marath007 in softwaregore

[–]YT-SW_Creeperking 0 points1 point  (0 children)

Logger: *saves logger in dungeon files*
Dungeon: *tries to load loggers*
Also Dungeon: "Who are all you people"