[Kde-games-devel] Review Request 111705: Testcode for hard AI for KSquares
Tom Vincent Peters
kde at vincent-peters.de
Wed Aug 28 09:30:20 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111705/
-----------------------------------------------------------
(Updated Aug. 28, 2013, 9:30 a.m.)
Review request for KDE Games and Matt Williams.
Changes
-------
Changed to auto-test of AI-levels
Description (updated)
-------
This is meant to test the strength of AI-levels in KSquares.
Hard AI code: https://git.reviewboard.kde.org/r/111662/
This is not supposed to be comitted, it's just for testing purposes.
Use by calling KSquares from command line in demo mode 'ksquares --demo'. It will run 400 games and print out statistics.
Changes:
- changed demo mode to two player mode
- speed up of demo mode
- most debug messages commented out
- overall game score for statistics
Diffs (updated)
-----
src/aicontroller.h beaafa8
src/aicontroller.cpp 0bff5e6
src/gameboardscene.cpp 0fa669a
src/ksquaresdemowindow.h 3f3d421
src/ksquaresdemowindow.cpp eea7e5a
src/ksquaresgame.cpp 74a06d3
src/ksquareswindow.cpp 092c795
src/main.cpp 58184b6
src/prefs_ai.ui 9774aed
Diff: http://git.reviewboard.kde.org/r/111705/diff/
Testing (updated)
-------
ksquares(5704) KSquaresGame::KSquaresGame: Constructing Game
ksquares(5704) KSquaresDemoWindow::gameOver: Easy : Medium score: 0 : 100
ksquares(5704) KSquaresDemoWindow::gameOver: Medium : Easy score: 100 : 0
ksquares(5704) KSquaresDemoWindow::gameOver: Hard : Medium score: 100 : 0
ksquares(5704) KSquaresDemoWindow::gameOver: Medium : Hard score: 0 : 100
ksquares(5704): Test finished
Thanks,
Tom Vincent Peters
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20130828/f8ae3758/attachment.html>
More information about the kde-games-devel
mailing list