Comments (19)
@Seple Really simple. Just checking variables and then changing the overlay.
from slither.io-bot.
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.
Yes. Perhaps we could also sort the best scores too and say how many lives ago each was.
from slither.io-bot.
Where would the leaderboard be displayed on the screen ?
from slither.io-bot.
We could do a best score .... But a leaderboard visually on the screen for our scores is overkill...
from slither.io-bot.
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.
I'd like to know my own best score, at least.
from slither.io-bot.
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.
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.
How function intensely CPU?
from slither.io-bot.
@ChadSki That's what I meant - our own personal best score...
from slither.io-bot.
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.
But a leaderboard visually on the screen for our scores is overkill...
from slither.io-bot.
Done with latest system change...
from slither.io-bot.
Maybe we could still preserve a personal highscore in localStorage?
from slither.io-bot.
Ah - so in addition to the average score ?
from slither.io-bot.
Is the average score kept between sessions?
from slither.io-bot.
Lemme check...
from slither.io-bot.
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)
- [Discussion] High Scores HOT 17
- Drawing your own defense
- task execution branch: seek coord until then HOT 2
- overcome chromium ram build up? HOT 1
- store my nick so updates don't overwrite nick HOT 2
- Lag reduce, running in worker thread
- Suggestion for Reduce food glow ? #236 HOT 9
- Bad Performance with Firefox+Greasemonkey since 24eec6b HOT 3
- comical wall trap condition
- The Circle Method HOT 26
- Respawn indicator does not go away
- snake variables and bot.isBotRunning HOT 1
- how to I post diagnostic logs? HOT 1
- [bug] Firefox, indicated length not commensurate to length
- Implement Auto-Circling toggle HOT 3
- Can't change skin while script is enabled. HOT 2
- see MUC members in minimap HOT 3
- does not circle HOT 2
- Bot is dead? HOT 4
- Move towards player name?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slither.io-bot.