C#C
C#16mo ago
olleeee

Binding problems, property not updating

Hi, im currently creating a snakes and ladders game where the user get to roll a dice and then move a gamepiece by it self on a board with numbered squares. The other player is a CPU and rolls the dice and moves automatically when its the CPUs turn. When landing on a ladder the player goes up to a new square, and on an snake it goes down. But i also want to implement a certain feature where if you land on a certain tile in the gameboard you swap positions with the other player. This is now only working for the cpu, and the cpu lands on the other humanplayer but the humanplayer still stands on the same tile and doesnt automatically goes to the cpus tile. I feel like it is a binding problem but don't really understand it since it works for the CPU and have implemented the same sort of code. Please Help!!
Was this page helpful?