As I am a first time poster allow me to give you some information:
I have been developing for hire since 1982, but have only seriously working with .Net for a few months, and only half that time with VB.Net. The project that I am now working on is a ‘super’ tick-tack-toe game. (Heck I had to start somewhere ) Anyhow one of the modes the game can work in is all computer players.
I want to see the first computer player’s move, then the next players move etc. I have a SLEEP call to slow the plays down so that us mere humans cane watch the exciting action.
What is happening is that there is no refreshing of the button’s text value ( X or O ) or background color ( The winning 3 in a row should be a lovely purple color ) until the game is over then the final ‘result’ is flashed on screen, then pop!
So folks I’ve tried a number of unsuccessful coding ideas, what is the magic that I need to have the form/buttons refresh right after I make a change to them?
I have been developing for hire since 1982, but have only seriously working with .Net for a few months, and only half that time with VB.Net. The project that I am now working on is a ‘super’ tick-tack-toe game. (Heck I had to start somewhere ) Anyhow one of the modes the game can work in is all computer players.
I want to see the first computer player’s move, then the next players move etc. I have a SLEEP call to slow the plays down so that us mere humans cane watch the exciting action.
What is happening is that there is no refreshing of the button’s text value ( X or O ) or background color ( The winning 3 in a row should be a lovely purple color ) until the game is over then the final ‘result’ is flashed on screen, then pop!
So folks I’ve tried a number of unsuccessful coding ideas, what is the magic that I need to have the form/buttons refresh right after I make a change to them?