473,786 Members | 2,350 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Recording high scores

I have a team website that has several games for entertainment. One
of the games is a javascript version of yahtzee. Can someone suggest
a way, using javascript, to record a high score for the game instead
of a high score for a particular user, session, or computer. Perhaps
someone already has code written to do this. Any help would be
greatly appreciated.

Feb 13 '07 #1
2 2769
Anthony wrote on 13 feb 2007 in comp.lang.javas cript:
I have a team website that has several games for entertainment. One
of the games is a javascript version of yahtzee. Can someone suggest
a way, using javascript, to record a high score for the game instead
of a high score for a particular user, session, or computer. Perhaps
someone already has code written to do this. Any help would be
greatly appreciated.
Not without serverside [javascript] scripting.

Ask yourself how another user's programme can know your result,
if the or any server is not an active intermediary.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Feb 13 '07 #2
On Feb 13, 12:28 pm, "Evertjan." <exjxw.hannivo. ..@interxnl.net >
wrote:
Anthony wrote on 13 feb 2007 in comp.lang.javas cript:
I have a team website that has several games for entertainment. One
of the games is a javascript version of yahtzee. Can someone suggest
a way, using javascript, to record a high score for the game instead
of a high score for a particular user, session, or computer. Perhaps
someone already has code written to do this. Any help would be
greatly appreciated.

Not without serverside [javascript] scripting.

Ask yourself how another user's programme can know your result,
if the or any server is not an active intermediary.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
OK, thanks. I had not been able to find a way to do this so I came
here to find out for sure.

Feb 13 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1716
by: YeeCN | last post by:
Hi, I need to write an application that requires HUGH volume of number crunching (tens of billions of calculations). Speed is the single most important factor for me. I am wondering is .NET (vb, c#) the right framework to develop the application so whether I should look somewhere else. Any help or suggestions is greatly appreciated.
3
4004
by: Irene | last post by:
Hi all, I have set up a simple VB program (and later on an ASP interface) to manage an Athletics database. I'm using Access 2000. To simplify, I have the Athlets, the Competitions and the Scores tables. When I want to list of the best scores/ranking, I just do:
1
1822
by: Sakharam Phapale | last post by:
Hi All, I am developing an application like sound recorder. While recording if there is a silence for more than given time (say 5 seconds), Recording should be paused.
0
2229
by: asrock | last post by:
i have prepared a code in c++ to save high scores and it is working well when i compile it in turbo c++and run the code . but when i exit from the turbo c++ , the file to which i saved the high scores get corrupted and so when i again takes the turbo c++ , the files which i have written to the file are all missing . please help me . here is the code #include<iostream.h> #include<fstream.h> #include<string.h> #include<conio.h> struct...
4
5421
by: kyle christian | last post by:
I am trying to save the high scores of a game I made. Now Im stumped on trying to search through the file. Should I use a string, array, or one of the STL containers to manipulate the information read from the file? I have tried the stringname.find("Name"); This only returns the first occurence, and doesn't look for other occurences.
8
3988
by: toefraz | last post by:
Hi, guys. I'm writing a little game, and I want to include a high scores list. I've got everything coded except for the sorting part. I want to use the std::sort() function, but I'm not quite sure how I could get it to work with the data in my vector. Here is a sample high score file in which each line is inputted into a vector element. I want to sort by the score: 2345 toefraz day time year 1009 toe day time year...
8
15318
by: d24706 | last post by:
Hello, I hope someone can help me. I had to do the following assignment( i have most of it done just cant finish it off, question and source code below). Question? Write a Java program that asks the user to input the scores, as a percentage( e.g 87.4), of 10 students. The scores entered must be stored ina n array. The programme must determine: The lowest score and its equivalent grade (ie A,B,etc)
3
8902
by: hamishmcgee | last post by:
Ok, so for a project at university I have to create a High Score table in C++ with Visual Studio. Just to let you know this is my first year at university and also my first time ever learning C++. So far I have a working menu, which lets you enter in your name, highscore and date which then gets saved to a file and is outputted via another option on the menu. I had a lot of trouble gettin the user info to save to a file in the first place, then...
3
3528
by: serdar | last post by:
Hi, I've built a Flash game and using PHP to save scores to a text file. Everything works fine so far. My potential problem is that I'm not sure what happens when there are multiple requests to write to the file simultaneously. The file might be corrupted, or the request(s) might fail? I'm not good at file system functions so I need your help. This is the basic structure of my script: <?php
0
9492
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10108
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9960
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4064
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.