<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Current score calculation of KNetWalk considers time and penalty moves( Total moves - minimum required moves to complete)</div><div><br></div><div> double penalty = m_gameClock->seconds() / 2.0 * (m_clickCount/2 + 1); //m_clickCount = 0 for perfect game play</div><div> penalty = std::sqrt(penalty/m_scene->fieldItem()->cellCount()); // cellcount = 25 for easy, 49 for medium and 81 for hard</div><div> int score = static_cast<int>(100.0 / penalty);</div><div><br></div><div>But there is problem with this method which is reported here : </div><div> https://bugs.kde.org/show_bug.cgi?id=172089</div><div>screenshot: https://bugs.kde.org/attachment.cgi?id=27674</div><div><br></div><div>So i proposed a simpler score calculation method which considers least score as best</div><div> score = m_gameClock->seconds() + (m_clickCount * 10)</div><div><br></div><div>But later i realized both these scoring methods doesn't considers the minimum required moves to complete. For easy level it may vary from 13 to 29. Screenshot of my highscore: http://simplest-image-hosting.net/png-0-me1640%0A (calculated with existing method). Here i got score of 213 with 11 second because it only required 13 moves to finish the game.</div><div><br></div><div>Does anyone have a better solution to this issue?</div><div id="GOOGLE_INPUT_CHEXT_IFRAME_FLAG" style="display: none;"></div> </div></body>
</html>