No video

Snakes and Ladders Game Tutorial in Visual Studio with WPF and C#

  Рет қаралды 11,319

Moo ICT

Moo ICT

Күн бұрын

Hello and welcome to this tutorial. This this tutorial we will make a snakes and ladders game in visual studio using WPF and C#. In this game you will click on the board to move the player and after the player makes a move the CPU will make its move too. You will move between 1 and 6 steps. The player and CPU will move to the numbered location on the board and If you land on bottom of the ladder you move up to where the ladder ends and if you land on the mouth of the snake then you will go down to where the tail ends.
Source code and images - www.mooict.com...
You will win by making it to the top of the board before the CPU. One important rule of the game is that if you are on the top you will need the exact number of steps before you can make it to the end. Lets say you are on 97 in that case you will need to roll a 3 or below to move forward, if you roll anything bigger than that you will pass your round to the CPU and the same rules apply to the CPU.
Lesson Objectives -
Create a fun Snakes and Ladders Game in Visual Studio using WPF and C# programming
Use different variables to make this work such as Rectangles, Integers, Boolean and more
Create the UI inside of the XAML code first and the move on the C# Programming
Inside the C# programming code the timer event and mouse click event to add interactivity to the game
Use custom functions such as set up game, restart game, move pieces and more
Use sprite sheets to dynamically generate the game board and interact with it inside of the game
Play with the CPU as you are progressing through the game
Create logic to interact with the snakes and ladders inside of the game

Пікірлер: 12
@mooict
@mooict 3 жыл бұрын
Download the full project here - github.com/mooict/WPF-Snakes-and-Ladders-Game
@Increase111
@Increase111 Жыл бұрын
Glad you made this video saved my life
@garyerwin91
@garyerwin91 3 жыл бұрын
Followed from the start till the end of the tutorial. Works like a charm. Thank you for the tutorial!
@SpeediBoi
@SpeediBoi 2 жыл бұрын
We respect India for creating Snake & Ladders
@nikolettbenkovics3208
@nikolettbenkovics3208 3 жыл бұрын
Your videos are absolutely amazing! I wonder if you could make a game tutorial for a parachutist who is falling down, avoiding the objects? Because I couldn't find anything like that, and would help a lot. :)
@mooict
@mooict 3 жыл бұрын
Hi, I think you can change up the item drop down game tutorial and change it into falling down and avoiding the obstacles game.
@nikolettbenkovics3208
@nikolettbenkovics3208 3 жыл бұрын
@@mooict Thanks, I will try :)
@daiyaanganchi2173
@daiyaanganchi2173 Ай бұрын
is there a way u can have 11 players and no cpu?
@mastervovo
@mastervovo 2 жыл бұрын
How can I make this a 2 player game???
@yubrajkhadka5733
@yubrajkhadka5733 3 жыл бұрын
Sir can you provide a source code
@mooict
@mooict 3 жыл бұрын
It's on link in video description
@akeemjokosenumi7946
@akeemjokosenumi7946 3 жыл бұрын
Hi is there a way you can do this in Xamrin please ?
WPF C# Tutorial How to make a Pac Man game in Visual Studio
48:13
Snakes & Ladders, But ONLY SNAKES | House Rules
59:33
No Rolls Barred
Рет қаралды 788 М.
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 54 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,7 МЛН
Make Games Without Coding by Using These Engines!
8:54
Ask Gamedev
Рет қаралды 602 М.
The Most Legendary Programmers Of All Time
11:49
Aaron Jack
Рет қаралды 552 М.
Programming a Tetris Game in C# - Full Guide
39:34
OttoBotCode
Рет қаралды 198 М.