Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 887729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:16:40+00:00 2026-05-15T13:16:40+00:00

I have coded a basic game in JavaScript and am working on a high

  • 0

I have coded a basic game in JavaScript and am working on a high score system for it, however as it is coded in JavaScript we all know it is incredibly easy to open Firebug or Chrome’s Dev tools and edit the code. For example adding a multiplier to the score.

Does anyone know either
A) a way to check the JavaScript hasn’t been modified and/or
B) a secure way to post the scores

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:16:41+00:00Added an answer on May 15, 2026 at 1:16 pm

    There is nothing you can do. The script itself would be responsible for checking, and so can not be trusted.

    Generally, people decide either to a) not care enough, and remove obviously fake high scores if they appear, b) log on the server-side how long the user was on the page before submitting to see if it was reasonable, or c) take the more arduous path of logging all game actions, sending those, and replaying the game on the server (probably in combination with option B).

    However, those protect on a very basic level. To some extent, all you can do is make it not worth one’s while to attack you; you can’t ever prevent it entirely.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have genuinely, genuinely looked ALL over the web for a basic scoring system
I have a bunch of classes in a basic (and badly coded!) game engine
I am working on a basic game in javascript. I don't use jQuery. The
All right, so I have made a basic game, in which I made a
I have build a game using canvas and Javascript, and I would like to
I have a trivial little game I wrote in javascript that creates a wave
I am working on a basic Battleship game to help my C# skills. Right
I'm using the HTML5 canvas and JavaScript to make a basic game, and I
hey all, I have made a socket server in C# for a flash game
I am writing a train based game in Facebook Javascript. I have an inverted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.