PDA

Click to See Complete Forum and Search --> : score board[never to be resolved]


zmerlinz
Nov 20th, 2001, 10:43 AM
hi,

i want a page where people can enter in there name and also a score that they have achieved, then there name and there score is put on the board where there are 10 places and the person with the highest score is top, and it can enter people with high enough scores on the board, and if they don't have an higher enough score it will tell them

how would i do this and with what, or if someone is bored something to do

cheers

zmerlinz
Nov 20th, 2001, 01:22 PM
anyone any ideas ???

sail3005
Nov 20th, 2001, 03:10 PM
using what language?

zmerlinz
Nov 20th, 2001, 07:01 PM
preferably html if it is possible, or javascript at a stretch, but i am not that good at javascript :)

sail3005
Nov 20th, 2001, 07:47 PM
it can't be done in HTML

In javascript, you won't be able to save it...it will be gone after you close the window


is that OK?

zmerlinz
Nov 21st, 2001, 03:35 AM
bugger, oh well :( :o

Behemoth
Nov 21st, 2001, 03:40 AM
Anything server side will do the trick. I only have experience of ASP though.

Insert the scores into a database, ordered by score and print out he first 10 records...Dead easy.

:)

da_silvy
Nov 21st, 2001, 03:43 AM
PHP is dead easy.

I remember reading an article on using JavaScript with Databases, i'll try and find that ;)

zmerlinz
Nov 21st, 2001, 05:15 AM
well it is meant to run on my space at uni, so i don't think that i can do this thing server side.

oh well :rolleyes:

Behemoth
Nov 22nd, 2001, 09:39 AM
how about getting an outside account for server side stuff (something like brinkster.com) and link to that for the purposes of the score table?

Mrs Kensington
Nov 22nd, 2001, 09:42 AM
you could do it all in a Java applet...

sail3005
Nov 22nd, 2001, 09:51 AM
but he'd have to be running a java application server

Mrs Kensington
Nov 22nd, 2001, 10:06 AM
no you can embed a Java Applet inside a normal web page.

Behemoth
Nov 22nd, 2001, 12:31 PM
Think about this logically. To have a scoreboard that records scores from a number of players, there has to be some way of recording this in a single area ie. a server. There is no way round this fact. Client side operations are not an option. A cookie on player As machine may very well record player As score, but player B has no way of accessing this to compare his own score.

sail3005
Nov 22nd, 2001, 12:38 PM
you could make text files with java

Behemoth
Nov 22nd, 2001, 05:52 PM
but where would these text files reside?

sail3005
Nov 22nd, 2001, 10:39 PM
in his webspace...

da_silvy
Nov 22nd, 2001, 11:46 PM
i don't think that would work :(

zmerlinz
Nov 23rd, 2001, 05:58 AM
why wouldn't that work ?? i am sure it should

Mrs Kensington
Nov 23rd, 2001, 08:35 AM
you can but try!

Behemoth
Nov 23rd, 2001, 08:45 AM
I don't know java at all, but from what I gather it's simply building a proprietary database out of text files for access from your webspace.

A Blue Peter server...:D

sail3005
Nov 23rd, 2001, 08:53 AM
But still, it can get the job done that he wants

Behemoth
Nov 23rd, 2001, 09:49 AM
Don't get me wrong, I'm not criticising it by any means. I just wanted to know how it works. Sounds cool.

da_silvy
Nov 23rd, 2001, 06:22 PM
I didn't know you could do that.

Behemoth,

They must give you a fair amount of computer time in the mental hospital oops i mean "happy place" :p (ur location :rolleyes: )

sail3005
Nov 23rd, 2001, 08:35 PM
merlin, do you know any java?

zmerlinz
Nov 24th, 2001, 06:21 AM
i am currently learning java at the moment, but finding it hard, we have got as far as arrays and loops at the minute, so most of this is over my head especially making an applet.