Re: timer functionality.......need ur help

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



There is a setTimeout function in javascript that is sort of like a one-time
timer. I have found this to be an excellent resource on javascript
http://www.devguru.com/technologies/javascript/home.asp, I am sure there are
tons of other examples on the web as well.

As an aside, would anyone want to play this? It's all completely random with
no user interaction required...

"AVL" <AVL@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6B4C082A-4EDD-469B-8F70-2CABD541A9B3@xxxxxxxxxxxxxxxx
> Hi,
> We are developing an online fun game called tambola...
> The requirement is as follows
> Tambola is a game in which each player will get a ticket and the
> co-ordinator of the game will pick up numbers from 1 to 99 randomly..
> If the picked up number happens to be amongst the numbers being given on
> the
> tciket, then the player marks that numbers in his tciket as completed. The
> game ends when any one of the players will have his tciket completely
> marked....
> In the online tambola, the players are the users of the application and
> system is the co-ordinator
> of the game...The system should pick up each number randomly after every
> 10 secs........
> Each logged user will have a ticket generated for him..
> The system should display the numbers from 1 to 99 after every 10 secs....
>
> Presently, I've used a timer control to display the numbers after every 10
> secs...
> The problem with the timer control is that, it's causing a postback after
> every 10 secs,,, which is a hit on the server..
> I want to avoid this hit on the server.. Is there any other to achieve
> this
> functionality in .net without much load on the server
>
> I heard that javascript can help out.. I need some code smaples with
> similar
> functionality..Can anyone help us out


.



Relevant Pages

  • Re: javascript setTimeout does not work
    ... they always go to the server to reset the timer on the server. ... setTimeout function from a second page which is an html page. ... I have a web page and onload it calls a javascript function which calls ... If I am calling from the html page the setTimeout function just before I ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DCSS: Questions about timed vaults
    ... But why not announce their existance to the player, ... the timed vault for just few turns, ... That's supposed to start the "long" timer while giving ... stuck to the current exploration pattern. ...
    (rec.games.roguelike.misc)
  • Re: embed media player 9 in a html file and display it on pocket p
    ... After I installed wmnall.exe on my PPC, ... >1) how to use javascript to add parameters ... Let's assume you used an HTML ID of 'Player' for your embedded media ... you also need to load the WM ActiveX control for PPC which isn't ...
    (microsoft.public.pocketpc.multimedia)
  • Re: Opening in a web site
    ... Which would open the stand alone player. ... you'd have a small piece of javascript instead: ... In other words, just a basic window ... >> code and it should work fine with the newer embedding code above. ...
    (microsoft.public.windowsmedia)
  • Re: OO Principle - reference needed
    ... Say an object uses a timer. ... pleases and consumes "tick" events generated by the timer. ... represents a MIDI file player (I use MIDI as an example because I'm ... be the responsibility, if I understand correctly, of the one setting up ...
    (comp.object)