Adding drag-n-drop feature to HGM’s chess variant

Hey what’s up guys, in this video we gonna be adding drag and drop feature to a chess variant implemented by H.G. Muller in exactly the same way I did it in my experimental javascript chess library.

SOURCE CODE:

HGM’s variant LIVE:

Experimental javascript chess board library:

For those who don’t know who H.G. Muller is – he’s the author of world’s smallest chess program in C, here’s the link to his websites:

One Comment

  1. تصميم لعبة على سكراتش نضرب مثال شطرنج ضروري ان يكون عندك ٣ مظاهر القطعة و نرسم لون مربع على سكراتش و نرسم نفس لون المربع و بداخله قطعة يجب أن يكون بنفس مقاس مربع حدود طاولة الشطرنج ثلاثية الأبعاد نأتي للبرمجة عند النقر على الكائن اجعل السحب ممكن غير المظهر التالي اذا لامس لونين حدود مربعات طاولة الشطرنج غيري إلى المظهر الي فيه لون المربع و بداخله القطعة و اذا لمس كائن كائن الخصم اختفى حسب تسميتك لاسم المظهر انتظر ثواني كشف لعبة الكمبيوتر تغيرها بمظهر لعبة الكمبيوتر Design a game on Scratch. We give an example of chess. It is necessary that you have 3 appearances of the piece. We draw a square color on Scratch. We draw the same color as the square and a piece inside it. It must be the same size as the square of the borders of the three-dimensional chess table. Next, if two colors touch the borders of the squares of the chess table, change to the appearance in which the color of the square and the piece is inside.

Leave a Reply

Your email address will not be published. Required fields are marked *