Giter Club home page Giter Club logo

Comments (19)

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024 1

@Seple Really simple. Just checking variables and then changing the overlay.

from slither.io-bot.

dracco1993 avatar dracco1993 commented on August 11, 2024

Are we talking about the last 10 scores we had when we died?
That's what makes the most sense to me.

from slither.io-bot.

Evanito avatar Evanito commented on August 11, 2024

Yes. Perhaps we could also sort the best scores too and say how many lives ago each was.

from slither.io-bot.

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024

Where would the leaderboard be displayed on the screen ?

from slither.io-bot.

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024

We could do a best score .... But a leaderboard visually on the screen for our scores is overkill...

from slither.io-bot.

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024

If people agree, we could do a best score overlay... I could do that easily once I find out how the score is calculated...

from slither.io-bot.

ChadSki avatar ChadSki commented on August 11, 2024

I'd like to know my own best score, at least.

from slither.io-bot.

chancity avatar chancity commented on August 11, 2024

Is t your score just your length?

On Sunday, May 8, 2016, Chad Z [email protected] wrote:

I'd like to know my own best score, at least.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#38 (comment)

from slither.io-bot.

ChadSki avatar ChadSki commented on August 11, 2024

Yes it is.

I mean instead of just seeing that "starlord" or whoever managed to reach 200k, I'd like to know that my personal best is 40k or whatever.

from slither.io-bot.

Seple avatar Seple commented on August 11, 2024

How function intensely CPU?

from slither.io-bot.

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024

@ChadSki That's what I meant - our own personal best score...

from slither.io-bot.

Drflash55 avatar Drflash55 commented on August 11, 2024

There should be an option in the menu that allows you to pick whether or not you want to see the last 10 highscores...

from slither.io-bot.

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024

But a leaderboard visually on the screen for our scores is overkill...

from slither.io-bot.

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024

Done with latest system change...

from slither.io-bot.

tjorim avatar tjorim commented on August 11, 2024

Maybe we could still preserve a personal highscore in localStorage?

from slither.io-bot.

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024

Ah - so in addition to the average score ?

from slither.io-bot.

tjorim avatar tjorim commented on August 11, 2024

Is the average score kept between sessions?

from slither.io-bot.

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024

Lemme check...

from slither.io-bot.

ermiyaeskandary avatar ermiyaeskandary commented on August 11, 2024

No :

updateStats: function() {
            var oContent = [];

            if (bot.scores.length === 0) return;

            oContent.push('games played: ' + bot.scores.length);
            oContent.push('avg score: ' + Math.round(
                bot.scores.reduce(function(a, b) { return a + b; }) / (bot.scores.length)));

            for (var i = 0; i < bot.scores.length && i < 10; i++) {
                oContent.push(i + 1 + '. ' + bot.scores[i]);
            }

            userInterface.overlays.statsOverlay.innerHTML = oContent.join('<br/>');
        },

from slither.io-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.