move NamedList from meld.py to scoringengine.py

SVN_SILENT

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288233 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
with the new exit code, namespace objects like Qt, QEvent have a problem

they are somewhere set to None but after that, Qt events still trigger
code which uses those. There must still be a problem with teardown
of qt and twisted.

This is a workaround for one specific case, there may be others.

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288234 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
rename NamedList to RuleList and make it easier to use for rules

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288235 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
introduce ClassicalChinese, make ClassicalChineseDMJL inherit from it

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288236 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
simplify initialization of ruleset classes

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288237 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
scoringtest: execute all tests against all rulesets

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288238 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
new ruleset option "number of allowed chows"

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288239 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
update dates in handbook

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288240 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
rename HandContent.isCalling() to callingHands()

and do not return tilenames but complete hands

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288241 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
small fix in debug output

SVN_SILENT

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
add HandContent.addTile() to used soon

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288243 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Player.computeHandContent(): always pass lastTile

even for non-winning hands

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288244 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
make HandContent.lastMeldAndTile more flexible about input

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288245 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
add mMx and L parts to all scoring tests

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288246 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
HandContent.addTile updates L part with that tile

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288247 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
callingHands() does not use plusTile anymore

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288248 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
HandContent.addTile changes m part to M part

use this in AI weighCallingHand(). As a side effect, this fixes a
problem in weighCallingHand: If more than one tile can complete
the calling hand, computing the values of the resulting hands
always returned 0.

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288249 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
always pass mM and L parts to a new HandContent

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288250 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
HandContent.__init__ asserts it got mM and L parts

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288251 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
AI.chancesToWin() and scoringtest do not use plusTile anymore

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdegames@1288252 283d02a7-25f6-0310-bc7c-ecb5cbfe19da