Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

The Cricket Hangman game

26 views
Skip to first unread message

Sumant Sankaran

unread,
Nov 3, 2009, 10:29:52 PM11/3/09
to
Developed a hangman word game for Test Cricketers and ODI Cricketers.
http://crickethangman.50webs.com/index.html
-contains the links for the Test Cricketers and ODI Cricketers applet.

The idea is to guess the cricketers name in 7 chances,the names being
used are referenced from the cricinfo player page.See if you can get a
good streak going.!

-Sumant

Andrew Dunford

unread,
Nov 3, 2009, 11:22:54 PM11/3/09
to

"Sumant Sankaran" <suma...@gmail.com> wrote in message
news:ebc1a8ff-1ea9-4f28...@z3g2000prd.googlegroups.com...

Looks good. Got a streak of six on my first turn, lost on 'Bill Woodfull' -
guessed the wrong vowels and failed to strike it lucky with the 'l'.

Nice work.

Andrew

Sid

unread,
Nov 3, 2009, 11:30:13 PM11/3/09
to
* Sumant Sankaran [2009-11-03 21:29] [rec.sport.cricket]:

Good stuff. I did the Test one and ended my 10 win streak on MSK
Prasad (whose first name is Mannava, apparently).

Sid
--
1234567890123456789012345678901234567890123456789012345678901234567890
remove the espam bits to mail

Uday Rajan

unread,
Nov 3, 2009, 11:38:48 PM11/3/09
to
On Nov 3, 10:29 pm, Sumant Sankaran <suman...@gmail.com> wrote:
> Developed a hangman word game for Test Cricketers and ODI Cricketers.http://crickethangman.50webs.com/index.html

> -contains the links for the Test Cricketers and ODI Cricketers applet.
>
> The idea is to guess the cricketers name in 7 chances,the names being
> used are referenced from the cricinfo player page.See if you can get a
> good streak going.!

Nice piece of software. My initial reaction is that there are a lot of
obscure Test players out there. Got a couple of easy ones, then
stumbled on Tom Puna, Joe Cox, and Travis Dowlin, somehow guessing
Peter Smith in between. Can't say I've ever heard of any of those
four.

Sumant Sankaran

unread,
Nov 4, 2009, 12:04:03 AM11/4/09
to

Thanks for the comments folks.Yes you may get obscure ones too,since
the list encompasses all test cricketers,odi cricketers who have ever
played.
The Goto Player Page button will take you to the CI player page,that
is a chance to learn more about some unknown cricketers.
My streak so far for ODI has been 22 ( which I got once) and Test (12)
-I have no clue about the early test players.

-Sumant

prabhu

unread,
Nov 4, 2009, 1:26:50 AM11/4/09
to

Started off with Harry Jupp and got run out with such a obscure
combination of vowels, then eked out a streak of 5 before being
stumped by Wasim Jaffer.

The Indian and Sri Lankan names are the trickiest, especially the
shorter ones.

prabhu

unread,
Nov 4, 2009, 1:27:28 AM11/4/09
to
> shorter ones.- Hide quoted text -
>
> - Show quoted text -

Needless to say, pretty addictive :) Did you link it up on Proggit?

Sumant Sankaran

unread,
Nov 4, 2009, 1:47:41 AM11/4/09
to

Yep,nice addiction it is,good way to fool around at work :)
Not sure how to go about linking it on Proggit?Actually what is
Proggit?

-Sumant

prabhu

unread,
Nov 4, 2009, 3:01:37 AM11/4/09
to
> -Sumant- Hide quoted text -

>
> - Show quoted text -

http://www.reddit.com/r/programming

I assume 0.25% of the reader base might know what cricket is, but that
might translate to a count of ~350. Oh well, dont bother - for social
bookmarking sites, the content has to be popular enough to get to the
top.

The link to the player page is really cool. Maybe you can bring in
Levels for novice, intermediate, expert splitting the player pool
based on # of tests played. So the novices get SRT, SRW while the
experts get Ganteaume, Saxena.

Mohan

unread,
Nov 4, 2009, 3:21:05 AM11/4/09
to
On Nov 4, 8:29 am, Sumant Sankaran <suman...@gmail.com> wrote:
> Developed a hangman word game for Test Cricketers and ODI Cricketers.http://crickethangman.50webs.com/index.html

> -contains the links for the Test Cricketers and ODI Cricketers applet.
>
> The idea is to guess the cricketers name in 7 chances,the names being
> used are referenced from the cricinfo player page.See if you can get a
> good streak going.!
>
> -Sumant

Nice. Tried the Test players. Didn't keep track of streaks, but got 85
out of 105 in about half an hour.

Mohan

Andrew Dunford

unread,
Nov 4, 2009, 1:58:12 AM11/4/09
to

"Uday Rajan" <uday...@yahoo.com> wrote in message
news:99476b9f-16c8-4cab...@k17g2000yqh.googlegroups.com...

You should know Tom Puna.

I managed to get Dulip Liyanage right without knowing who he was, but it was
the result of lucky blind stumbling.

Andrew

Rahul Tyagi

unread,
Nov 4, 2009, 7:25:32 PM11/4/09
to
On Nov 3, 9:29 pm, Sumant Sankaran <suman...@gmail.com> wrote:
> Developed a hangman word game for Test Cricketers and ODI Cricketers.http://crickethangman.50webs.com/index.html

> -contains the links for the Test Cricketers and ODI Cricketers applet.
>
> The idea is to guess the cricketers name in 7 chances,the names being
> used are referenced from the cricinfo player page.See if you can get a
> good streak going.!
>
> -Sumant

tried ODI applet.. streak of 10.. 11th was someone called Danie
Keulder!!! :( I tried Teulder/Zeulder/Beulder etc.. :(

Rahul

Andrew Dunford

unread,
Nov 5, 2009, 5:58:54 AM11/5/09
to

"Sumant Sankaran" <suma...@gmail.com> wrote in message
news:ebc1a8ff-1ea9-4f28...@z3g2000prd.googlegroups.com...

I just wanted to say that the first answer I got without making a single
error was 'Asoka de Silva'.

Andrew

Rahul Tyagi

unread,
Nov 5, 2009, 2:35:50 PM11/5/09
to
On Nov 5, 4:58 am, "Andrew Dunford" <adunf...@artifax.net> wrote:
> "Sumant  Sankaran" <suman...@gmail.com> wrote in messagenews:ebc1a8ff-1ea9-4f28...@z3g2000prd.googlegroups.com...

me too!!!! :O how likely is THAT!!!

Rahul

tendulkar.com

unread,
Nov 5, 2009, 3:03:29 PM11/5/09
to
On Nov 3, 10:29 pm, Sumant Sankaran <suman...@gmail.com> wrote:
> Developed a hangman word game for Test Cricketers and ODI Cricketers.http://crickethangman.50webs.com/index.html

> -contains the links for the Test Cricketers and ODI Cricketers applet.
>
> The idea is to guess the cricketers name in 7 chances,the names being
> used are referenced from the cricinfo player page.See if you can get a
> good streak going.!
>
> -Sumant

Just a suggestion, make the letters & '-'s of the same size with a
good space between '-'s. Sometimes, it appeared that there were less
missing letters than what it actually was

Sumant Sankaran

unread,
Nov 6, 2009, 9:06:31 AM11/6/09
to

Will try to keep the User Interface Changes in mind.I am also planning
to introduce a logic to build the level of toughness progressively.So
as you start out,you get easier ones,and as you go on,it becomes
tougher.
Level of toughness will be a heuristic on the basis of number of
internationals played and toughness of word

And I just got my best streak of 38 before I got bamboozled on Vijay
Yadav!

-Sumant

prabhu

unread,
Nov 6, 2009, 10:08:52 AM11/6/09
to

My only sour point is that it is very difficult to figure out Asian
names. I prefer playing Test cricket since the proportion of Asian
names is less and I can safely start with vowels to work out the
English names. After the site becomes famous enough, another project
would be to develop a cheatsheet - figure out the commonly used
letters in cricketer names :) Wont be that efficient, given that
muslim cricketers might have a higher frequency of I's and U's.


Jayen

unread,
Nov 6, 2009, 10:13:45 AM11/6/09
to

The letters which occur most frequently in the English language are
ETAOIN SHRDLU. Can anyone write a script to figure out the equivalent
for test and ODI cricketers?

Regards,
Jayen

tendulkar.com

unread,
Nov 6, 2009, 12:36:10 PM11/6/09
to

Speaking of which, All Hangman games should have at least one letter
pre-filled. Else, it is stupid to waste time on clicking 'E', 'T',...,
till you get something. It is just a random exercise

Mohan

unread,
Nov 6, 2009, 12:45:27 PM11/6/09
to

For Test cricketers:
a (66%), r,e (50+%), n,s,i (40+%), h,l,m,d,t (30+%),
c, g, w, j, b (20+%), u, k, p, f, y (10+%), z (3%), q (2%), x (1%)

Those are the percentage of names in which those letters appear at
least once.

Mohan

Jayen

unread,
Nov 6, 2009, 8:50:42 PM11/6/09
to

Thank you. (And thanks to Sumant too, for the game).

Tried it out with ARENSI HLMDT. It worked well, overall, but failed
miserably with Pat Pocock.

Regards,
Jayen

Adam Cameron

unread,
Nov 6, 2009, 11:17:46 PM11/6/09
to
> Will try to keep the User Interface Changes in mind.

It's good fun, but I am rubbish at it.

Suggestions:
1) display the cumulative points score as well as the game tally.
2) display the length of the current streak too.

--
Adam

Sumant Sankaran

unread,
Nov 8, 2009, 12:07:57 PM11/8/09
to

Thanks for the inputs posted so far;I have made the following changes
1.UI Changed to Make the '_' and letter of same size
2.Displays the average score and current streak.(And level as well)
3.Introduced Levels of toughness.You start out on on easier levels
(more familiar player names) and move to higher levels(unfamiliar
names/familiar names with tougher letters) as you keep getting good
streaks.Further rules explained on the home page.
4.Introduced points which is essentially a product of average score
and levels reached.With a max level of 11 and highest average score of
7,you can hope to get 77 points.Aim should be to try and get close to
this barrier.More losses will end up decreasing your average score.
5.Try and see if you can reach the max level with most points,that
should be the challenge.


http://crickethangman.50webs.com/index.html

Let me know if you find any bugs in the game.
I wanted to keep some kind of score database and display highest
score,but unfortunately,the free web hosting support does not let me
do any of it.

-Sumant

Ramani Duraiswami

unread,
Nov 8, 2009, 1:22:21 PM11/8/09
to

Got a "Congratulations Champion" message
48/2
Level 11
48.98 points
Had a streak of 21

Knowing the level helps ...

Chan

unread,
Nov 8, 2009, 6:00:28 PM11/8/09
to
On Nov 3, 7:29 pm, Sumant Sankaran <suman...@gmail.com> wrote:
> Developed a hangman word game for Test Cricketers and ODI Cricketers.http://crickethangman.50webs.com/index.html

> -contains the links for the Test Cricketers and ODI Cricketers applet.
>
> The idea is to guess the cricketers name in 7 chances,the names being
> used are referenced from the cricinfo player page.See if you can get a
> good streak going.!
>
> -Sumant

Nice game. 17 streak on my first try (ODI). Stumped by TINO MAWOYO at
level 6. Avg score 4.67.

- Chan

Chan

unread,
Nov 8, 2009, 6:32:22 PM11/8/09
to

Ended up with 40/6, av 3.59, total 39.46 after 11 levels.

Sumant Sankaran

unread,
Nov 10, 2009, 10:41:11 AM11/10/09
to

Finally got a chance to play the game fully..played the odi version
ended up with 40/3,av 4.33 total 47.58 after 11 levels.

I think the level of toughness by and large increases regularly,albeit
for the rare easy ones at higher levels.
Thanks for the support and ideas,would love to hear if someone crosses
55 which is a pretty high score.
-Sumant

Sumant Sankaran

unread,
Nov 10, 2009, 11:23:50 AM11/10/09
to

40/5 total of 46.69 @ 4.24 after 11 levels for the test .I found the
test version a lot tougher,as most of the older names were blind
guesses.
-Sumant

prabhu

unread,
Nov 10, 2009, 6:49:47 PM11/10/09
to
> -Sumant- Hide quoted text -
>
> - Show quoted text -

40/6
Avg 3.35
36.83
Champion [Is 35+ the threshold?]

Started with a streak of 21, then threw caution to the winds. It was
late by the time I realised blind letter-guesses hurt your average. I
was furious to get A.J Ferris which I solved by luck but Amit
Jaggernaut and Vic Stollmeyer were repeated which I gleefully hit for
sevens.

How about a cumulative Timer that runs for the range [ t(show dashes),
t(solved) ] ? The timer could penalise wickets rashly thrown away but
gives props for solutions cracked in a jiffy.

However timer based penalties could be harsh on those who tripped on
names like A.J. Ferris after a gallant effort.

1. Avoid repetitions
2. Discard initialled names.

Uday Rajan

unread,
Nov 10, 2009, 8:41:55 PM11/10/09
to
On Nov 10, 6:49 pm, prabhu <prabra...@gmail.com> wrote:
> ... Amit

> Jaggernaut and Vic Stollmeyer were repeated which I gleefully hit for
> sevens.
>
> 1. Avoid repetitions

There may be a bug floating around, because I ran into Steve Waugh
four successive times (and then gave up, although conceivably I could
have hit 70-ish at that pace). There's no trouble with repetitions per
se, but I've noticed a few repetitions on successive trials, but no
other repetitions. I assume sampling with replacement is significantly
easier on the programming than sampling without replacement, so it's
OK to take the chance that a repetition will randomly occur.

> 2. Discard initialled names.

This one threw me initially. I was surprised to miss VVS Laxman, and
later lucked into Bob Taylor (not an initial, of course, but a
nickname rather than a proper name). The policy of using the name off
the CI page seems like a very sensible one, and I can't think of a
better alternative.

I did hit 40 a few days ago, with a score of 43-something or so, I
think. But, like Sumant, many of those were names I guessed without
knowing there was a Test player by that name. The pool of Test players
is vast.

Sumant Sankaran

unread,
Nov 10, 2009, 10:01:41 PM11/10/09
to
On Nov 11, 6:41 am, Uday Rajan <udayra...@yahoo.com> wrote:
> On Nov 10, 6:49 pm, prabhu <prabra...@gmail.com> wrote:
>
> > ... Amit
> > Jaggernaut and Vic Stollmeyer were repeated which I gleefully hit for
> > sevens.
>
> > 1. Avoid repetitions
>
> There may be a bug floating around, because I ran into Steve Waugh
> four successive times (and then gave up, although conceivably I could
> have hit 70-ish at that pace). There's no trouble with repetitions per
> se, but I've noticed a few repetitions on successive trials, but no
> other repetitions. I assume sampling with replacement is significantly
> easier on the programming than sampling without replacement, so it's
> OK to take the chance that a repetition will randomly occur.

That is strange ,I played quite a few times, did not see it repeat,Are
you talking about repetition within the same game or across different
games?
The randomiser gets initialised at the start of a new game ,so within
the same game if it gets repeated it must be a one-off occasion.
Across games,yes chances are that it may get repeated,however that
also has not happened for me yet :(.


>
> > 2. Discard initialled names.
>
> This one threw me initially. I was surprised to miss VVS Laxman, and
> later lucked into Bob Taylor (not an initial, of course, but a
> nickname rather than a proper name). The policy of using the name off
> the CI page seems like a very sensible one, and I can't think of a
> better alternative.
>
> I did hit 40 a few days ago, with a score of 43-something or so, I
> think. But, like Sumant, many of those were names I guessed without
> knowing there was a Test player by that name. The pool of Test players
> is vast.

Which is why I prefer playing the ODI version,since I seem to know
most of the names.And as for the initial names,I just had to have a
consistent
policy with names being same as cricinfo page.So maybe we can shoot
cricinfo a mail to have names like 'Dad' Weir and 'Young Jack' Hearne
removed and replaced by their more common names :) . !!

-Sumant

Uday Rajan

unread,
Nov 10, 2009, 10:20:49 PM11/10/09
to
On Nov 10, 10:01 pm, Sumant Sankaran <suman...@gmail.com> wrote:
> That is strange ,I played quite a few times, did not see it repeat,Are
> you talking about repetition within the same game or across different
> games?
> The randomiser gets initialised at the start of a new game ,so within
> the same game if it gets repeated it must be a one-off occasion.
> Across games,yes chances are that it may get repeated,however that
> also has not happened for me yet :(.

Repetition within the same game. I hit Steve Waugh the first four
times within the same game, then quit. And I've had a couple of other
names come up twice in a row within the same game. I don't know
anything about Java, but perhaps it's some kind of run-time error.

prabhu

unread,
Nov 11, 2009, 10:42:31 AM11/11/09
to

You could make the Namepicker repeat if the selected name has already
occured in the current game or contains a "."

Message has been deleted

Sumant Sankaran

unread,
Nov 14, 2009, 9:34:22 AM11/14/09
to

1.Fixed the repeat issue.Made sure the name will not repeat if already
picked.Also changed the randomizer function,so it should be
fine.However keeping the "." names still in play ,as I just want the
complete database in picture.

2.Fixed another major bug.To proceed across levels you need a minimum
streak based on the level.However the level streak was not getting
taken into account.
Eg: Level 9 will require a 5 win streak in that level alone to proceed
to level 10.So now it should be tougher to actually get to the final
level.

I will probably only update the database of players going forward,The
game is now finalised :) .Thanks for the comments .

-Sumant

0 new messages