David Stokes
2006-Oct-17 19:02 UTC
Is it possible to make an online poker clock with ruby ?
I''m just starting to learn ruby and i wanted to set some projects for myself the 1st of which is a poker clock running online, but before i start trying to do it i would like to know if it''s possible. I dont want to waste my time if it''s not possible at all. Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Bill Walton
2006-Oct-17 19:11 UTC
Re: Is it possible to make an online poker clock with ruby ?
What''s a "poker clock"? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
David Stokes
2006-Oct-17 19:23 UTC
Re: Is it possible to make an online poker clock with ruby ?
A poker clock is used when people are playing real live poker games. the Poker clock counts down in time till a blind goes up, A blind would go up at a period of time set by the players. Sorry just to add a Blind is an amount of money, It''s a poker term. if you google Poker clocks you will see loads. but they are all download ones. where you have to install them. i want to try make a web based one. Bill Walton wrote:> What''s a "poker clock"?-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Bill Walton
2006-Oct-17 19:30 UTC
Re: Is it possible to make an online poker clock with ruby ?
Hi David, David Stokes wrote:> the Poker clock counts down in time till a blind > goes up [...] at a period of time > set by the players.Thanks for the explanation. The answer is yes; you can do that with Rails. I''m working on something similar (not poker related, though). I''m using the BackgrounDRb plugin to furnish the background clock task. Google on ''backgroundrb'' to get started. hth, Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Philip Hallstrom
2006-Oct-17 19:49 UTC
Re: Is it possible to make an online poker clock with ruby ?
You could sure... but why? Why not just use an oven timer and be done with it? Otherwise, if your blinds are set and your time interval is set, just use Javascript and update the page periodically... I mean you could use Rails, but I don''t see how it would make it easier... On Tue, 17 Oct 2006, David Stokes wrote:> > A poker clock is used when people are playing real live poker games. the > Poker clock counts down in time till a blind goes up, A blind would go > up at a period of time set by the players. Sorry just to add a Blind is > an amount of money, It''s a poker term. > > if you google Poker clocks you will see loads. but they are all download > ones. where you have to install them. i want to try make a web based > one. > > > > > Bill Walton wrote: >> What''s a "poker clock"? > > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
David Stokes
2006-Oct-17 19:51 UTC
Re: Is it possible to make an online poker clock with ruby ?
Well i wanted to use rails because i''m trying to learn it. But if using javascript is easier then I wont use Rails. As a total beginner to Rails what would you suggest as a 1st project. Philip Hallstrom wrote:> You could sure... but why? Why not just use an oven timer and be done > with it? > > Otherwise, if your blinds are set and your time interval is set, just > use > Javascript and update the page periodically... > > I mean you could use Rails, but I don''t see how it would make it > easier...-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/17/06, Philip Hallstrom <rails-SUcgGwS4C16SUMMaM/qcSw@public.gmane.org> wrote:> > You could sure... but why? Why not just use an oven timer and be done > with it?I''m going to take a wild guess and say that he wants to display the clock on a big screen TV at his friend''s house, hosting it on his own server so that it "moves" with him as the game rotates houses. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Pat Maddox
2006-Oct-17 20:49 UTC
Re: Is it possible to make an online poker clock with ruby ?
On 10/17/06, David Stokes <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Well i wanted to use rails because i''m trying to learn it. But if using > javascript is easier then I wont use Rails. > > As a total beginner to Rails what would you suggest as a 1st project.Actually I think a poker clock might not be bad. It''s not super ambitious by any means...you''d likely get it done in an evening, and it would be useful to you. For the clock portion you''re probably best off using a Javascript countdown timer. But you can still use Rails for part of the app. Get a basic JS countdown that doesn''t have anything to input the time or start it. It should be extremely basic, taking only the amount of time as a construction argument. Then you can use Rails to get time input from the user (in whatever format you want), and convert it into a format that the JS timer can use. Then you output the page with the timer configured and start it. You might also consider using camping (a very lightweight Rails-like framework) for this, because it''s so simple. Or you can use Rails :) Pat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Philip Hallstrom
2006-Oct-17 21:29 UTC
Re: Is it possible to make an online poker clock with ruby ?
> Well i wanted to use rails because i''m trying to learn it. But if using > javascript is easier then I wont use Rails. > > As a total beginner to Rails what would you suggest as a 1st project.Hrm... well, do something you are interested in that''s for sure :) If you like poker... maybe setup a "poker event" web app... where you could enter the date time, the location, number (or list of) players, blind structure, payouts, etc. Then go really crazy and add in some general party-potluck features for who''s going to bring what type of beer... Kind of like an evite.com, but for poker. If it''s mostly the same group of people you play poker with, turn the list of players into it''s own database with statistics along the lines of this: http://www.cardplayer.com/players/results/Daniel_Negreanu/1185 You could really go crazy if you wanted. Might not be uber-practical, but you''d touch a lot of different aspects of rails :) -philip> > > Philip Hallstrom wrote: >> You could sure... but why? Why not just use an oven timer and be done >> with it? >> >> Otherwise, if your blinds are set and your time interval is set, just >> use >> Javascript and update the page periodically... >> >> I mean you could use Rails, but I don''t see how it would make it >> easier... > > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---