1. Лучший говнокод

    В номинации:
    За время:
  2. C# / Говнокод #9906

    +158

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    61. 61
    62. 62
    63. 63
    64. 64
    65. 65
    66. 66
    67. 67
    68. 68
    69. 69
    70. 70
    71. 71
    72. 72
    73. 73
    74. 74
    private void OnLabelClick(object sender, EventArgs eventArgs)
            {
                    for (int End = 0; End < 1; End++)
                    {
                        if (((Label)sender).Text == "-")
                        {
                            ((Label)sender).Text = "X";
                        var labels = Controls.OfType<Label>().ToList();
                        for (int i = 0; i < labels.Count; i++)
                        {
                            int a = 0;
                            bool win = false;
                            if (labels[i].Text == "X")
                            {
                                for (int Low = 0, Up = 7; (Low <= 108) & (Up <= 115); Low += 12, Up += 12)
                                    if ((i >= Low) & (i <= Up))
                                    {
                                        a = 0;
                                        for (int l = 0; l < 5; l++)
                                            if (labels[i + l].Text == "X")
                                            {
                                                a += 1;
                                                if ((l == 4) & (a != 5)) a = 0;
                                            }
                                            else a = 0;
                                        if (a == 5) goto End;
                                    }
                                if (i <= 71)
                                {
                                    a = 0;
                                    for (int l = 0; l <= 12 * 4; l += 12)
                                        if (labels[i + l].Text == "X")
                                        {
                                            a += 1;
                                            if ((l == 12 * 5) & (a != 5)) a = 0;
                                        }
                                        else a = 0;
                                    if (a == 5) goto End;
                                }
                                for (int Low = 0, Up = 7; (Low <= 60) & (Up <= 67); Low += 12, Up += 12)
                                    if ((i >= Low) & (i <= Up))
                                    {
                                        a = 0;
                                        for (int l = 0; l <= 13 * 4; l += 13)
                                            if (labels[i + l].Text == "X")
                                            {
                                                a += 1;
                                                if ((l == 13 * 5) & (a != 5)) a = 0;
                                            }
                                            else a = 0;
                                        if (a == 5) goto End;
                                    }
                                for (int Low = 4, Up = 11; (Low <= 64) & (Up <= 71); Low += 12, Up += 12)
                                    if ((i >= Low) & (i <= Up))
                                    {
                                        a = 0;
                                        for (int l = 0; l <= 11 * 4; l += 11)
                                            if (labels[i + l].Text == "X")
                                            {
                                                a += 1;
                                                if ((l == 11 * 5) & (a != 5)) a = 0;
                                            }
                                            else a = 0;
                                        if (a == 5) goto End;
                                    }
                            }
                        End: if (a == 5)
                            {
                                MessageBox.Show("You Win!");
                                a = 0;
                                EndAll = true;
                                goto EndAll;
                            }
                        }

    (C) http://gordon.ucoz.com/publ
    Автор Я, сайт мой.
    Это не полный код!

    Gordon, 09 Апреля 2012

    Комментарии (654)
  3. Куча / Говнокод #26340

    −1

    1. 1
    IT Оффтоп #27

    #1: https://govnokod.ru/18142 https://govnokod.xyz/_18142
    #2: https://govnokod.ru/18378 https://govnokod.xyz/_18378
    #3: https://govnokod.ru/19667 https://govnokod.xyz/_19667
    #4: https://govnokod.ru/21160 https://govnokod.xyz/_21160
    #5: https://govnokod.ru/21772 https://govnokod.xyz/_21772
    #6: https://govnokod.ru/24063 (потёр пидор сракер) https://govnokod.xyz/_24063
    #7: https://govnokod.ru/24538 https://govnokod.xyz/_24538
    #8: https://govnokod.ru/24815 (потёр пидор сракер) https://govnokod.xyz/_24815
    #9: https://govnokod.ru/24867 https://govnokod.xyz/_24867
    #10: https://govnokod.ru/25328 https://govnokod.xyz/_25328
    #11: https://govnokod.xyz/_25436 https://govnokod.ru/25436 (потёр пидор сракер)
    #12: https://govnokod.xyz/_25471
    #13: https://govnokod.xyz/_25590 (потёр пидор сракер)
    #14: https://govnokod.xyz/_25684
    #15: https://govnokod.xyz/_25694
    #16: https://govnokod.xyz/_25725
    #17: https://govnokod.xyz/_25731
    #18: https://govnokod.xyz/_25762
    #19: https://govnokod.xyz/_25767
    #20: https://govnokod.xyz/_25776
    #21: https://govnokod.xyz/_25798
    #22: https://govnokod.xyz/_25811
    #23: https://govnokod.xyz/_25863
    #24: https://govnokod.xyz/_25941
    #25: https://govnokod.xyz/_26026
    #26: https://govnokod.xyz/_26050/

    syoma, 11 Января 2020

    Комментарии (652)
  4. Куча / Говнокод #25437

    −2

    1. 1
    Электрика / электроника #1

    syoma, 09 Марта 2019

    Комментарии (646)
  5. Куча / Говнокод #26556

    0

    1. 1
    IT Оффтоп #39

    #5: https://govnokod.ru/21772 https://govnokod.xyz/_21772
    #6: (vanished) https://govnokod.xyz/_24063
    #7: https://govnokod.ru/24538 https://govnokod.xyz/_24538
    #8: (vanished) https://govnokod.xyz/_24815
    #9: https://govnokod.ru/24867 https://govnokod.xyz/_24867
    #10: https://govnokod.ru/25328 https://govnokod.xyz/_25328
    #11: (vanished) https://govnokod.xyz/_25436
    #12: (vanished) https://govnokod.xyz/_25471
    #13: (vanished) https://govnokod.xyz/_25590
    #14: https://govnokod.ru/25684 https://govnokod.xyz/_25684
    #15: https://govnokod.ru/25694 https://govnokod.xyz/_25694
    #16: https://govnokod.ru/25725 https://govnokod.xyz/_25725
    #17: https://govnokod.ru/25731 https://govnokod.xyz/_25731
    #18: https://govnokod.ru/25762 https://govnokod.xyz/_25762
    #19: https://govnokod.ru/25767 https://govnokod.xyz/_25767
    #20: https://govnokod.ru/25776 https://govnokod.xyz/_25776
    #21: https://govnokod.ru/25798 https://govnokod.xyz/_25798
    #22: https://govnokod.ru/25811 https://govnokod.xyz/_25811
    #23: https://govnokod.ru/25863 https://govnokod.xyz/_25863
    #24: https://govnokod.ru/25941 https://govnokod.xyz/_25941
    #25: https://govnokod.ru/26026 https://govnokod.xyz/_26026
    #26: https://govnokod.ru/26050 https://govnokod.xyz/_26050
    #27: https://govnokod.ru/26340 https://govnokod.xyz/_26340
    #28: https://govnokod.ru/26372 https://govnokod.xyz/_26372
    #29: https://govnokod.ru/26385 https://govnokod.xyz/_26385
    #30: https://govnokod.ru/26413 https://govnokod.xyz/_26413
    #31: https://govnokod.ru/26423 https://govnokod.xyz/_26423
    #32: https://govnokod.ru/26440 https://govnokod.xyz/_26440
    #33: https://govnokod.ru/26449 https://govnokod.xyz/_26449
    #34: https://govnokod.ru/26456 https://govnokod.xyz/_26456
    #35: https://govnokod.ru/26463 https://govnokod.xyz/_26463
    #36: https://govnokod.ru/26508 https://govnokod.xyz/_26508
    #37: https://govnokod.ru/26524 https://govnokod.xyz/_26524
    #38: https://govnokod.ru/26539 https://govnokod.xyz/_26539

    gost, 07 Апреля 2020

    Комментарии (641)
  6. Куча / Говнокод #27620

    +1

    1. 1
    Питушня #19

    #1: https://govnokod.ru/26692 https://govnokod.xyz/_26692
    #2: https://govnokod.ru/26891 https://govnokod.xyz/_26891
    #3: https://govnokod.ru/26893 https://govnokod.xyz/_26893
    #4: https://govnokod.ru/26935 https://govnokod.xyz/_26935
    #5: (vanished) https://govnokod.xyz/_26954
    #6: (vanished) https://govnokod.xyz/_26956
    #7: https://govnokod.ru/26964 https://govnokod.xyz/_26964
    #8: https://govnokod.ru/26966 https://govnokod.xyz/_26966
    #9: https://govnokod.ru/27017 https://govnokod.xyz/_27017
    #10: https://govnokod.ru/27045 https://govnokod.xyz/_27045
    #11: https://govnokod.ru/27058 https://govnokod.xyz/_27058
    #12: https://govnokod.ru/27182 https://govnokod.xyz/_27182
    #13: https://govnokod.ru/27260 https://govnokod.xyz/_27260
    #14: https://govnokod.ru/27343 https://govnokod.xyz/_27343
    #15: https://govnokod.ru/27353 https://govnokod.xyz/_27353
    #16: https://govnokod.ru/27384 https://govnokod.xyz/_27384
    #17: https://govnokod.ru/27482 https://govnokod.xyz/_27482
    #18: https://govnokod.ru/27514 https://govnokod.xyz/_27514

    nepeKamHblu_nemyx, 27 Августа 2021

    Комментарии (637)
  7. Куча / Говнокод #25329

    0

    1. 1
    Просто оффтоп #2

    #1: http://govnokod.xyz/_20162 https://govnokod.ru/20162

    syoma, 26 Января 2019

    Комментарии (632)
  8. Assembler / Говнокод #3564

    +251

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    61. 61
    62. 62
    63. 63
    64. 64
    65. 65
    66. 66
    67. 67
    68. 68
    69. 69
    70. 70
    71. 71
    72. 72
    73. 73
    74. 74
    75. 75
    76. 76
    77. 77
    78. 78
    79. 79
    80. 80
    81. 81
    82. 82
    83. 83
    84. 84
    85. 85
    86. 86
    87. 87
    88. 88
    89. 89
    90. 90
    91. 91
    92. 92
    93. 93
    94. 94
    95. 95
    96. 96
    use32
    kernel:
      mov ax,0x8
      mov es,ax
      mov ds,ax
      mov ss,ax
      mov esp,0x10000
      
      
      macro SetPixel x,y
      {
        mov ebx,x
        mov eax,y
        call GSetPixel
      }
      
      mov esi,0xA0000
      xor ecx,ecx
      @@:
      mov eax,dword[charH+ecx*4]
      mov dword[esi],eax
      add esi,320
      inc ecx
      cmp ecx,7
      jb @b
      
      mov esi,0xA0006
      xor ecx,ecx
      @@:
      mov eax,dword[charE+ecx*4]
      mov dword[esi],eax
      add esi,320
      inc ecx
      cmp ecx,7
      jb @b
      
      mov esi,0xA000C
      xor ecx,ecx
      @@:
      mov eax,dword[charL+ecx*4]
      mov dword[esi],eax
      add esi,320
      inc ecx
      cmp ecx,7
      jb @b
      
      mov esi,0xA0012
      xor ecx,ecx
      @@:
      mov eax,dword[charL+ecx*4]
      mov dword[esi],eax
      add esi,320
      inc ecx
      cmp ecx,7
      jb @b
      
      mov esi,0xA0018
      xor ecx,ecx
      @@:
      mov eax,dword[charO+ecx*4]
      mov dword[esi],eax
      add esi,320
      inc ecx
      cmp ecx,7
      jb @b
      
      jmp $
      
    charH dd 0x0F00000F
          dd 0x0F00000F
          dd 0x0F00000F
          dd 0x0F0F0F0F
          dd 0x0F00000F
          dd 0x0F00000F
          dd 0x0F00000F
    charE dd 0x0F0F0F0F
          dd 0x0000000F
          dd 0x0000000F
          dd 0x0F0F0F0F
          dd 0x0000000F
          dd 0x0000000F
          dd 0x0F0F0F0F
    charL dd 0x0000000F
          dd 0x0000000F
          dd 0x0000000F
          dd 0x0000000F
          dd 0x0000000F
          dd 0x0000000F
          dd 0x0F0F0F0F
    charO dd 0x000F0F00
          dd 0x0F00000F
          dd 0x0F00000F
          dd 0x0F00000F
          dd 0x0F00000F
          dd 0x0F00000F
          dd 0x000F0F00

    Раскопал в старых файлах. Выводит на экран незамысловатое слово HELLO
    На World у меня бы одного бут-сектора не хватило.

    Ivan0x32, 24 Июня 2010

    Комментарии (631)
  9. Куча / Говнокод #28578

    +1

    1. 1
    error[E0277]: the trait bound `Filtered<tracing_subscriber::fmt::Layer<Layered<OpenTelemetryLayer<Layered<Filtered<tracing_subscriber::fmt::Layer<Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>>, tracing_subscriber::reload::Layer<EnvFilter, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, opentelemetry::sdk::trace::tracer::Tracer>, Layered<Filtered<tracing_subscriber::fmt::Layer<Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>>, tracing_subscriber::reload::Layer<EnvFilter, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>, fn() -> Stderr {stderr}>, EnvFilter, Layered<OpenTelemetryLayer<Layered<Filtered<tracing_subscriber::fmt::Layer<Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>>, tracing_subscriber::reload::Layer<EnvFilter, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, opentelemetry::sdk::trace::tracer::Tracer>, Layered<Filtered<tracing_subscriber::fmt::Layer<Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>, Pretty, tracing_subscriber::fmt::format::Format<Pretty>>, tracing_subscriber::reload::Layer<EnvFilter, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>, Layered<Box<dyn tracing_subscriber::Layer<Registry> + Send + Sync>, Registry>>>>: tracing_subscriber::Layer<Registry>` is not satisfied

    PE3yC, 30 Января 2023

    Комментарии (630)
  10. Куча / Говнокод #26570

    −3

    1. 1
    Электрика / электроника #3

    #1: https://govnokod.ru/25437 https://govnokod.xyz/_25437/
    #2: https://govnokod.ru/25820 https://govnokod.xyz/_25820

    gost, 10 Апреля 2020

    Комментарии (621)
  11. Куча / Говнокод #25415

    0

    1. 1
    Просто оффтоп #3

    #1: https://govnokod.xyz/_20162 https://govnokod.ru/20162
    #2: https://govnokod.xyz/_25329 https://govnokod.ru/25329

    syoma, 27 Февраля 2019

    Комментарии (619)