London Banter

London Banter (https://www.londonbanter.co.uk/forum.php)
-   London Transport (https://www.londonbanter.co.uk/london-transport/)
-   -   Tube quiz name game (https://www.londonbanter.co.uk/london-transport/4348-tube-quiz-name-game.html)

Richard J. July 31st 06 09:21 AM

Tube quiz name game
 
Paul Corfield wrote:
On 30 Jul 2006 21:02:17 GMT, Iain
wrote:

Paul Corfield wrote in
:

One comment I would make is that it took about ten attempts to
enter the correct name for Heathrow T123 as there is obviously no
tolerance around getting it precisely right. The same applies to
Kings Cross which has to have St Pancras added. More bizarrely if
you attempt to correct punctuate your entry for places like St
John's Wood that would be rejected even though the programme
correctly punctuates it on the map!


The code I've written makes it possible to have multiple correct
entries for each station. In some places I've done that to try to
catch common punctuation problems (eg "St. Paul's" and "St Pauls"
are equally valid). You're right about St. John's Wood though, I
managed to miss the correct version out of the synonyms list. I'm
open to any suggestions for all stations, although I dare say that
for every person who'd like "King's Cross" admitted there'll be
someone else who swears blind that the only valid name for the
station is "King's Cross St. Pancras".


I cannot think of the last time that anyone I know or have heard in
conversation or who asked me directions ever used the full name.


Emma Clarke? OK, so you don't *know* her, and it's not exactly a
conversation, and she's not asking for directions, but she does say
"King's Cross St Pancras" every time you pass through on the Victoria
Line.
--
Richard J.
(to e-mail me, swap uk and yon in address)


Mizter T July 31st 06 05:57 PM

Tube quiz name game
 
Mizter T wrote:

C! wrote:

Iain wrote:
Apologies for the semi-spammage, but as a long-time lurker and occasional
poster, I thought I might be able to get away with it.

I've written a little tube stations quiz game which I think might appeal
to some of the people here. Please feel free to take a look at
www.waitingforlunchtime.co.uk and have a play. Hope you enjoy it!

Iain


Is it possible to save and come back later?


Or even have a mini-game where a random section of the Tube map is
displayed and the player must just name those stations. It would make
the coding much harder I'm sure, but I have goldfish-esque attention
span and... and... what was I talking about again? ;-)


I take it all back. I didn't realise you'd set it to save coutesy of
browser cookies. I don't think I'd manage to plough through it all in a
single sitting, but now I realise I don't have to, which is great as
that suits me perfectly.

One bug issue - in IE6 the 'current score' box at the bottom doesn't
display - I can see the top of the box if I change it to fullscreen
mode but I still can't see the actual score. Though the bug is probably
with IE6 as opposed to your coding! But a lot of people who'll be
waitingforlunchtime won't have the choice of another browser.

Very glad to see that there's a good level of tolerance for how various
stations are entered, as there's nothing more annoying than getting
something right but being told it's wrong for some nitpicking reason.

A great game, max kudos to you. How do you fancy doing it for the
London Connections map! ;-)


Dr John Stockton July 31st 06 06:50 PM

Tube quiz name game
 
JRS: In article , dated Sun,
30 Jul 2006 21:02:17 remote, seen in news:uk.transport.london, Iain
posted :

The code I've written makes it possible to have multiple correct entries
for each station. In some places I've done that to try to catch common
punctuation problems (eg "St. Paul's" and "St Pauls" are equally valid).
You're right about St. John's Wood though, I managed to miss the correct
version out of the synonyms list. I'm open to any suggestions for all
stations, although I dare say that for every person who'd like "King's
Cross" admitted there'll be someone else who swears blind that the only
valid name for the station is "King's Cross St. Pancras".


Strip all punctuation, including spaces, from the user input, and
compare with the correspondingly-stripped real names : i.e. compare only
the letters. I very much doubt whether any clashes will ensue.

It might be worth *first* stripping the *word* "and" which could be
entered as "&".

There's one bug in the above, easy spot and to deal with.

Read the newsgroup FAQ.
--
© John Stockton, Surrey, UK. Turnpike v4.00 IE 4 ©
URL:http://www.jibbering.com/faq/? JL/RC: FAQ of news:comp.lang.javascript
URL:http://www.merlyn.demon.co.uk/js-index.htm jscr maths, dates, sources.
URL:http://www.merlyn.demon.co.uk/ TP/BP/Delphi/jscr/&c, FAQ items, links.

Tony Wilson July 31st 06 09:06 PM

Tube quiz name game
 
I cannot think of the last time that anyone I know or have heard in
conversation or who asked me directions ever used the full name. People
just call it Kings Cross - after the area.

Once there people may ask the way to St Pancras station.
--


Well, to be fair it'd be quite a mouthful to say the whole lot, but it's
useful to have the station named on the map for people looking for it. This
will be even more true when St Pancras leapfrogs King's Cross in importance
when the Eurostar, Javelin and Thameslink trains all go to St Pancras.

And to be nit-picky in a friendly and hopefully informative way, the area is
really St Pancras, not King's Cross! The name King's Cross technically
applies only to the junction of Euston Road with Pentonville and Gray's Inn
Roads and York Way (the King's Crossroads), and the station itself. The area
was the Battlebridge part of St Pancras, which was listed in the Domesday
Book 800 years before King's crossroads was so identified.



Paul Corfield July 31st 06 09:32 PM

Tube quiz name game
 
On 31 Jul 2006 10:57:48 -0700, "Mizter T" wrote:

Mizter T wrote:


[quiz game]

One bug issue - in IE6 the 'current score' box at the bottom doesn't
display - I can see the top of the box if I change it to fullscreen
mode but I still can't see the actual score. Though the bug is probably
with IE6 as opposed to your coding! But a lot of people who'll be
waitingforlunchtime won't have the choice of another browser.


What current score box? I can't see that at all on my screen and yes I
use IE6.

A great game, max kudos to you. How do you fancy doing it for the
London Connections map! ;-)


Oh help!
--
Paul C


Admits to working for London Underground!

Bob Wood July 31st 06 10:14 PM

Tube quiz name game
 
Paul Corfield wrote:

On 31 Jul 2006 10:57:48 -0700, "Mizter T" wrote:

Mizter T wrote:


[quiz game]

One bug issue - in IE6 the 'current score' box at the bottom doesn't
display - I can see the top of the box if I change it to fullscreen
mode but I still can't see the actual score. Though the bug is
probably with IE6 as opposed to your coding! But a lot of people
who'll be waitingforlunchtime won't have the choice of another
browser.


What current score box? I can't see that at all on my screen and yes
I use IE6.


I use IE6 and can see the score-box and the figures therein!



--
Bob



Richard J. July 31st 06 11:28 PM

Tube quiz name game
 
Bob Wood wrote:
Paul Corfield wrote:

On 31 Jul 2006 10:57:48 -0700, "Mizter T"
wrote:
Mizter T wrote:


[quiz game]

One bug issue - in IE6 the 'current score' box at the bottom
doesn't display - I can see the top of the box if I change it to
fullscreen mode but I still can't see the actual score. Though
the bug is probably with IE6 as opposed to your coding! But a lot
of people who'll be waitingforlunchtime won't have the choice of
another browser.


What current score box? I can't see that at all on my screen and
yes I use IE6.


I use IE6 and can see the score-box and the figures therein!


I can't see it either in IE6, though it's OK in Firefox. I assumed it
was my slightly unusual screen and font size settings that do catch out
some web pages.
--
Richard J.
(to e-mail me, swap uk and yon in address)


Colin Wilson August 1st 06 12:41 AM

Tube quiz name game
 
The game is certainly good fun and certainly points out how oblivious I can
be when travelling around!

"C!" wrote in message
ups.com...

Iain wrote:
Apologies for the semi-spammage, but as a long-time lurker and occasional
poster, I thought I might be able to get away with it.

I've written a little tube stations quiz game which I think might appeal
to some of the people here. Please feel free to take a look at
www.waitingforlunchtime.co.uk and have a play. Hope you enjoy it!

Iain


Is it possible to save and come back later?




Iain August 1st 06 06:31 AM

Tube quiz name game
 
"Bob Wood" wrote in news:Igvzg.51873$1g.19189
@newsfe1-win.ntli.net:

What current score box? I can't see that at all on my screen and yes
I use IE6.


I use IE6 and can see the score-box and the figures therein!


I've found and fixed the IE6 scorebox bug. It's also now possible to view
how well you've done by line and by zone.

Thanks all for your feedback so far!

Iain

Jarle H Knudsen August 1st 06 11:01 AM

Tube quiz name game
 
On 30 Jul 2006 18:03:44 GMT, Iain wrote:

"C!" wrote in
ups.com:

Is it possible to save and come back later?


As long as you have cookies enabled on your browser, this should be
automatic.


Didn't work for me in Opera 8.54.

--
jhk


All times are GMT. The time now is 02:03 AM.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2006 LondonBanter.co.uk