2048.cpp
2048.cpp copied to clipboard
score and statistics wrong
Compiled from git master 81c0eeb
┌───────────────────────────┐
│ SCORE: 1156 │
│ BEST SCORE: 1156 │
│ MOVES: 127 │
└───────────────────────────┘
┌──────┬──────┬──────┬──────┐
│ 2 │ 4 │ 32 │ 4 │
├──────┼──────┼──────┼──────┤
│ 4 │ 8 │ 4 │ 2 │
├──────┼──────┼──────┼──────┤
│ 8 │ 2 │ 128 │ 8 │
├──────┼──────┼──────┼──────┤
│ 16 │ 32 │ 2 │ 16 │
└──────┴──────┴──────┴──────┘
Game over! You lose.
STATISTICS
──────────
Final score: 0
Largest Tile: 2
Number of moves: -1
Time taken: 37s
Hmm, not really correct.
It should be:
Final score: 1156
Largest Tile: 128
Number of moves: 127
And this is what shows up for View Highscores and Statistics
:
SCOREBOARD
──────────
┌─────┬────────────────────┬──────────┬──────┬───────┬──────────────┬──────────────┐
│ No. │ Name │ Score │ Won? │ Moves │ Largest Tile │ Duration │
├─────┼────────────────────┼──────────┼──────┼───────┼──────────────┼──────────────┤
│ 1. │ kc │ 0 │ No │ -1 │ 2 │ 9m 22s │
│ 2. │ kc │ 0 │ No │ -1 │ 2 │ 37s │
└─────┴────────────────────┴──────────┴──────┴───────┴──────────────┴──────────────┘
STATISTICS
──────────
┌────────────────────┬─────────────┐
│ Best Score │ 0 │
│ Game Count │ 2 │
│ Number of Wins │ 0 │
│ Total Moves Played │ 18446744073709551614 │
│ Total Duration │ 9m 59s │
└────────────────────┴─────────────┘
Thanks for the bug-report @tessus !
Is it possible to have a copy of your scores.txt
and statistics.txt
in your 2048.cpp data
directory?
Just wanted to follow-up. Any update?
Ping. I'm seeing similar results with git master 30597b1:
┌─────┬────────────────────┬──────────┬──────┬───────┬──────────────┬──────────────┐
│ No. │ Name │ Score │ Won? │ Moves │ Largest Tile │ Duration │
├─────┼────────────────────┼──────────┼──────┼───────┼──────────────┼──────────────┤
│ 1. │ x4 │ 0 │ No │ -1 │ 2 │ 4m 2s │
└─────┴────────────────────┴──────────┴──────┴───────┴──────────────┴──────────────┘
STATISTICS
──────────
┌────────────────────┬─────────────┐
│ Best Score │ 0 │
│ Game Count │ 1 │
│ Number of Wins │ 0 │
│ Total Moves Played │ 18446744073709551615 │
│ Total Duration │ 4m 2s │
└────────────────────┴─────────────┘
This project seems dead. The devs only would have had to play the game themselves to reproduce it. I also sent the requested files, yet nothing.
Maybe there's a fork out there that fixes this.