Fix taken pieces positions

pull/1/merge
Thibault Duplessis 2012-05-31 00:15:48 +02:00
parent bb82d8259c
commit 8dcd76b415
4 changed files with 8 additions and 10 deletions

View File

@ -96,7 +96,7 @@ final class Reporting(
case Left(a) println("Reporting: " + a.getMessage)
case a {
hub ! MonitorData(monitorData)
display()
//display()
}
}
}

View File

@ -31,7 +31,7 @@ chat = roomHtml.map(round.room(_))) {
<div id="premove">@trans.premoveEnabledClickAnywhereToCancel()</div>
</div>
<div class="lichess_ground">
@round.cemetery(!pov, "top")
@round.cemetery(pov, "top")
<div class="lichess_table_wrap">
@game.clock.map { c =>
@round.clock(c, !pov.color, "top")
@ -52,7 +52,7 @@ chat = roomHtml.map(round.room(_))) {
}
}
</div>
@round.cemetery(pov, "bottom")
@round.cemetery(!pov, "bottom")
</div>
</div>
<script type="text/javascript">var lichess_data = @Html(roundPlayerJsData(pov, version))</script>

View File

@ -62,7 +62,7 @@
app.rps = new SpeedOMeter({
name : "RPS",
maxVal : 50,
maxVal : 100,
threshold: 0.9,
container : container
});
@ -70,7 +70,6 @@
app.memory = new SpeedOMeter({
name : "MEMORY",
maxVal : app.totalMemory,
threshold: 0.9,
unit : "MB",
container : container
});
@ -85,7 +84,7 @@
app.thread = new SpeedOMeter({
name : "THREAD",
maxVal : 200,
maxVal : 300,
threshold: 0.5,
container : container
});
@ -125,7 +124,7 @@
app.dbMemory = new SpeedOMeter({
name : "DB MEMORY",
maxVal : 3000,
maxVal : 2000,
threshold: 0.8,
container : container
});
@ -139,7 +138,7 @@
app.dbQps = new SpeedOMeter({
name : "DB QPS",
maxVal : 300,
maxVal : 200,
threshold: 0.8,
container : container
});
@ -152,7 +151,7 @@
app.ai = new SpeedOMeter({
name : "AI PING",
maxVal : 1000,
maxVal : 500,
container : container
});

1
todo
View File

@ -31,7 +31,6 @@ chat scroll in game
after canceled game, clock still turns.
monitor with websocket
push enumerator is deprecated
dead pieces on wrong side
http://fr.lichess.org/forum/lichess-feedback/game-history-bug#1
morozov can't chatban anymore http://en.lichess.org/inbox/mrfsbwou#bottom
monitor + nb slow mongo requests