beginnerprogrammer23
Programmer
I am having difficulty with a school assignment. We have to create a Tron game and I am having trouble with the part where if a player hits their or another player's trail, it is game over. The teacher told us that we should use intColour = CStr(PictureBox.Point(intX, intY)) and checking whether the intColour matches a trail colour. The problem is though that I am constantly hitting my own trail. The code I have written so far is down below. I added a file to make it easier. The file attached below is the work I have done so far.