Gaming Logic in ASP.Net
-
hi,i am developing web game.Two clicnt may play this game. In which i want to change the second player`s page after the complitition of first players turn. can any one give me loginc to do such a task in asp.net using threading or any other logic.(this game will be played on same or different PCs)
-
hi,i am developing web game.Two clicnt may play this game. In which i want to change the second player`s page after the complitition of first players turn. can any one give me loginc to do such a task in asp.net using threading or any other logic.(this game will be played on same or different PCs)
Threading is not the issue, the issue is that a postback needs to occur for a page to change. I think there's an article on CP on getting controls to update themselves without full postback. The other option is to get the page to autorefresh. I hope it's not an action game, asp.net is just the wrong way to do that. Christian Graus - Microsoft MVP - C++
-
Threading is not the issue, the issue is that a postback needs to occur for a page to change. I think there's an article on CP on getting controls to update themselves without full postback. The other option is to get the page to autorefresh. I hope it's not an action game, asp.net is just the wrong way to do that. Christian Graus - Microsoft MVP - C++
hi, actually i am tring to develop Tic-Tac toe game using ASp.Net, so that it can be played on LAN or atleast one PC using different web pages, can u tell me batter logic to do this.i tried through thread but could not get resultes. plz guid me i will be thankful to u.
-
hi, actually i am tring to develop Tic-Tac toe game using ASp.Net, so that it can be played on LAN or atleast one PC using different web pages, can u tell me batter logic to do this.i tried through thread but could not get resultes. plz guid me i will be thankful to u.
I reiterate - using threads is meaningless. HTML is a disconnected model, and ASP.NET just serves HTML. That's all it does from the client perspective. The only way to find out if a client has made a move is to keep on auto refreshing, which you can do with a javascript timer. Basically, ASP.NET is not a platform for writing games on. Christian Graus - Microsoft MVP - C++