How To: Create Simple Puzzle Game using C# Programming

Поделиться
HTML-код
  • Опубликовано: 10 ноя 2024

Комментарии • 18

  • @minhngai8243
    @minhngai8243 4 года назад +6

    The checkOrder() method is wrong as well. The index should be initialize as int index = 1, not int index = 0. Since the number on the box start from 1-8 if we do the Convert.ToInt16(), then at the beginning if we say index = 0, it would be impossible to check for the win condition. Because at the first iteration it says 1 != 0 which it will become a useless method since it will never success to check for the win condition.

  • @ngocbien4267
    @ngocbien4267 3 года назад +1

    Sometimes, some block don't move because TabIndex is not correctly. I have some method to fix that. First, you click on View => TabOrder . After that, you will see the number of TabIndex on controls. You can click it and you can solve the problem.

  • @vikydogphotovideo3370
    @vikydogphotovideo3370 4 года назад +3

    hi, your project is very nice. There is a small problem, when the game ends (when the squares are aligned correctly) it does not tell you that you have finished the game. byei!

  • @Humble2288
    @Humble2288 4 года назад +1

    I have some problems with moving buttons ,somtimes they are crossing ,sometimes they aren't going up ,how can i solve it ,pls ,can you put the full code there

  • @mahmoodhasson1863
    @mahmoodhasson1863 6 лет назад

    Thanks for this quick tutorial

  • @armandmetelerkamp6647
    @armandmetelerkamp6647 4 года назад +1

    Which version of .Net Framework is this programmed on?

  • @kikiboo3314
    @kikiboo3314 5 лет назад +1

    Why is that some blocks aren't moving?

    • @SanadAbdulrahmanBinShuaib
      @SanadAbdulrahmanBinShuaib  5 лет назад +1

      you can only move the block near the blank block

    • @kikiboo3314
      @kikiboo3314 5 лет назад +1

      Even there's a blank block it won't move. Sometimes the other number crossed to the blank block or like jump 🤣

    • @Humble2288
      @Humble2288 4 года назад

      Mine as well ,i couldnt move some of them

  • @sandhayapatel3083
    @sandhayapatel3083 4 года назад

    usefull coding