[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] [SCM] Eliot branch, master, updated. eliot_2.0-154-g664eec3
From: |
Olivier Teulière |
Subject: |
[Eliot-dev] [SCM] Eliot branch, master, updated. eliot_2.0-154-g664eec3 |
Date: |
Wed, 16 Jan 2013 18:03:22 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Eliot".
The branch, master has been updated
via 664eec36eda925ec285949ec36cac440fc5e9358 (commit)
via 4e533eed277cce09d0105d28ca63d684a3e56211 (commit)
via 83baec368b8b6e7df911aa13a378ec614dbcde54 (commit)
from cdcb5c25b72d86d8bcb73ba2f277a88202ffbee7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 664eec36eda925ec285949ec36cac440fc5e9358
Author: Olivier Teulière <address@hidden>
Date: Wed Jan 16 18:40:34 2013 +0100
New MoveSelector class, to help find the "best" move to play.
The best move has the highest possible score, but it is also the one
leading to the most interesting game. This is a subjective notion, but
some heuristics can help, such as:
- a move sparing a blank is better than one using it
- a move with many prefixes and suffixes is better than one without
extensions
- a move "opening" the game is better than one blocking it
- a move leaving a nice rack is better than one leaving "bad" letters
At the moment, only the first heuristic is implemented.
commit 4e533eed277cce09d0105d28ca63d684a3e56211
Author: Olivier Teulière <address@hidden>
Date: Wed Jan 16 18:04:57 2013 +0100
Fix a small bug in explosive games.
Before this commit, if the top move did not need the blank tile, the
blank tile stayed in the rack. It is now replaced with another (randomly
selected) tile.
commit 83baec368b8b6e7df911aa13a378ec614dbcde54
Author: Olivier Teulière <address@hidden>
Date: Wed Jan 16 15:51:09 2013 +0100
Topping: give the score penalty directly with the player move.
This commit also adds a setting to disable the elapsed-time penalty.
-----------------------------------------------------------------------
Summary of changes:
game/Makefile.am | 1 +
game/ai_percent.cpp | 1 +
game/duplicate.cpp | 6 ++-
game/game.cpp | 60 +++++++++++++++++-----------
game/move.cpp | 4 +-
game/move.h | 2 +-
game/move_selector.cpp | 73 ++++++++++++++++++++++++++++++++++
game/move_selector.h | 61 ++++++++++++++++++++++++++++
game/public_game.cpp | 4 +-
game/public_game.h | 2 +-
game/settings.cpp | 8 +++-
game/topping.cpp | 33 ++++++++++-----
game/topping.h | 2 +-
qt/arbit_assignments.cpp | 18 ++------
qt/prefs_dialog.cpp | 5 ++
qt/stats_widget.cpp | 9 ++--
qt/topping_widget.cpp | 2 +-
qt/ui/prefs_dialog.ui | 17 ++++++--
test/duplicate/explosive_variant.ref | 54 +++++++++++++------------
19 files changed, 268 insertions(+), 94 deletions(-)
create mode 100644 game/move_selector.cpp
create mode 100644 game/move_selector.h
hooks/post-receive
--
Eliot
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Eliot-dev] [SCM] Eliot branch, master, updated. eliot_2.0-154-g664eec3,
Olivier Teulière <=