Versions history |
|
version 5.2 15 december 2021
[interface part]
application is adapted for windows 10 because it is impossible to write to the files where the program is installed
due to algorithm changes, the application will only work on 64-bit windows
added mathematical expectation calculator for the value of contracts for the option "solve all the deals"
option "solve all deals" has been added for bridge. Pair of players with unknown cards can be chosen, cards of players can be fixed. You can do a search when the pair has at least one card left
option "solve all deals" was expanded for preferans, now you can do a search when there is at least one card left for defenders
optimal moves panel added, which you can click on to make a several of them
added score calculator for preference
added support for decks and arrows in vector graphics format (svg files). Added raster/vector decks, raster/vector arrows
option to stop calculations while they are not finished has been added
added complete descriptions of bridge and preferans algorithms in Russian and English
you can read about all the changes in the new version on the website in the version history
the source code is published on github
added menu problem/open from library
added menu addons/reset settings
all moves evaluation function is accelerated for bridge since it has become multitasking, it now also uses a reduced search interval
export of calculation results to csv file was added for the option "solve all deals", also export of all deals with results was added
when new parameters are added to the configuration file, the old information is now read instead of a full reset, as before. In particular, when installing a later version over the old one, the old settings will be read and the rest will be set by default. The order of the lines in the file when reading is no longer important.
if there is no id in the language file, the number of previous id is taken and incremented by one
when reading a language file other than English and Russian, if the id is not found, then the corresponding string from the English file is used.
all bridgeX.css files are removed, and only one unchangeable bridge.css file is left
all settings affecting the css style are now stored in the config file.
aslov self-developed library is used, sources are published on github
picture of the first deck has been changed, the diamond became smoother (the picture is taken from the gambler)
when exiting from the application in case of incomplete calculation, the correct stopping of the search is called
because the deck can now be scaled, support for large monitors was added
set big deck by default for big monitors
changed the default font size depending on scaling
deleted the image of the cardback, now uses a scalable drawing
fixed bug, now it is impossible to switch tasks in the task selection panel during calculations.
fixed bug, now you can not call some menu items during calculations, for example, to open the task
fixed bug when saving/loading tasks when more than 50 moves are done.
bug fixed if a task was loaded without a contract, and then the language changed, the contract remains unset.
fixed a bug when calling the calculator of points for the bridge with the current preferans game, now there is no option misere
fixed bug in drawing of bottom, rounded table corner
fixed bug at increase / decrease of font size
fixed bug in rendering best moves panel with large deck and small font
tooltips make as status bar which allow avoid problems with long strings
fixed bug with dinamical adding/removing of analisys/last trick
Fixed a bug when selecting a background image that contains transparent pixels
problem saving to html file has been changed, if a file contains only one task. Now the number of the problem is not specified in the file, since it is not needed
reset language file, if path indicated in configuration file is wrong. Now when you move/rename a folder with the program, it does not hang
"Check for a new version" menu has been removed, as it is not needed
the application has been adapted to the gcc 10.3.0 compiler and gtk 3.24.30. In the new version of gtk, some bugs of the previous version of the gtk library are vanished
all static functions of Base class are made to global functions
[logical part]
the bridge problem solver has been completely rewritten
now you can solve several tasks in one process
since everything is solved in one process, synchronization of the bridge problems has been simplified
preliminary calculation of moves was added
added cutoffs of lower 4 layers in bridge and 3 layers in preferans, earlier it was 3 and 2 accordingly
32-bit numbers are now used as suit codes in bridge, they are used to find moves and also for hash table index. Previously, for suit codes used doubly linked lists, as well as parallel bit codes of suits, which were used to find the hash table index.
separate algorithms are added for games with trump, NT games and misere games for preference
for each type of algorithm the parameters for statistical ordering of moves are adjusted. Now the algorithm does not require a check on the type of game with or without trump, or misere for preference
in the internal representation trump, if there is one, is always zero for bridge and preference. Now only two card comparison tables are required instead of five, one for games with trump, the other for games without trump, including misere games
the application became 64-bit. As each object of the Bridge class requires about 280 MB of memory, if a computer has 6 or more cores, the 32-bit application would not have enough memory
the bridgeConsole project is no longer needed (it was removed)
the preferans task solver has been speeded up, read more details can be found in the description of the logical part
you can read more about all the changes in the new version in the logical part
application is adapted for windows 10 because it is impossible to write to the files where the program is installed
due to algorithm changes, the application will only work on 64-bit windows
added mathematical expectation calculator for the value of contracts for the option "solve all the deals"
option "solve all deals" has been added for bridge. Pair of players with unknown cards can be chosen, cards of players can be fixed. You can do a search when the pair has at least one card left
option "solve all deals" was expanded for preferans, now you can do a search when there is at least one card left for defenders
optimal moves panel added, which you can click on to make a several of them
added score calculator for preference
added support for decks and arrows in vector graphics format (svg files). Added raster/vector decks, raster/vector arrows
option to stop calculations while they are not finished has been added
added complete descriptions of bridge and preferans algorithms in Russian and English
you can read about all the changes in the new version on the website in the version history
the source code is published on github
added menu problem/open from library
added menu addons/reset settings
all moves evaluation function is accelerated for bridge since it has become multitasking, it now also uses a reduced search interval
export of calculation results to csv file was added for the option "solve all deals", also export of all deals with results was added
when new parameters are added to the configuration file, the old information is now read instead of a full reset, as before. In particular, when installing a later version over the old one, the old settings will be read and the rest will be set by default. The order of the lines in the file when reading is no longer important.
if there is no id in the language file, the number of previous id is taken and incremented by one
when reading a language file other than English and Russian, if the id is not found, then the corresponding string from the English file is used.
all bridgeX.css files are removed, and only one unchangeable bridge.css file is left
all settings affecting the css style are now stored in the config file.
aslov self-developed library is used, sources are published on github
picture of the first deck has been changed, the diamond became smoother (the picture is taken from the gambler)
when exiting from the application in case of incomplete calculation, the correct stopping of the search is called
because the deck can now be scaled, support for large monitors was added
set big deck by default for big monitors
changed the default font size depending on scaling
deleted the image of the cardback, now uses a scalable drawing
fixed bug, now it is impossible to switch tasks in the task selection panel during calculations.
fixed bug, now you can not call some menu items during calculations, for example, to open the task
fixed bug when saving/loading tasks when more than 50 moves are done.
bug fixed if a task was loaded without a contract, and then the language changed, the contract remains unset.
fixed a bug when calling the calculator of points for the bridge with the current preferans game, now there is no option misere
fixed bug in drawing of bottom, rounded table corner
fixed bug at increase / decrease of font size
fixed bug in rendering best moves panel with large deck and small font
tooltips make as status bar which allow avoid problems with long strings
fixed bug with dinamical adding/removing of analisys/last trick
Fixed a bug when selecting a background image that contains transparent pixels
problem saving to html file has been changed, if a file contains only one task. Now the number of the problem is not specified in the file, since it is not needed
reset language file, if path indicated in configuration file is wrong. Now when you move/rename a folder with the program, it does not hang
"Check for a new version" menu has been removed, as it is not needed
the application has been adapted to the gcc 10.3.0 compiler and gtk 3.24.30. In the new version of gtk, some bugs of the previous version of the gtk library are vanished
all static functions of Base class are made to global functions
[logical part]
the bridge problem solver has been completely rewritten
now you can solve several tasks in one process
since everything is solved in one process, synchronization of the bridge problems has been simplified
preliminary calculation of moves was added
added cutoffs of lower 4 layers in bridge and 3 layers in preferans, earlier it was 3 and 2 accordingly
32-bit numbers are now used as suit codes in bridge, they are used to find moves and also for hash table index. Previously, for suit codes used doubly linked lists, as well as parallel bit codes of suits, which were used to find the hash table index.
separate algorithms are added for games with trump, NT games and misere games for preference
for each type of algorithm the parameters for statistical ordering of moves are adjusted. Now the algorithm does not require a check on the type of game with or without trump, or misere for preference
in the internal representation trump, if there is one, is always zero for bridge and preference. Now only two card comparison tables are required instead of five, one for games with trump, the other for games without trump, including misere games
the application became 64-bit. As each object of the Bridge class requires about 280 MB of memory, if a computer has 6 or more cores, the 32-bit application would not have enough memory
the bridgeConsole project is no longer needed (it was removed)
the preferans task solver has been speeded up, read more details can be found in the description of the logical part
you can read more about all the changes in the new version in the logical part
version 5.1 26 december 2019
[base changes]
table rotation by 90° for preferans game (selection place of abcent player) if click on absent cards or "addons" menu
option "solve for all declarers and trumps" for preferans now solves for all first moves, players and game type. First move was fixed in earlier versions
code for preferans is changes and became much faster, especially option "solve all opponent deals"
[interface part]
fixed bug when option "solve for all declarers and trumps" for bridge was selected and dialog was closed and open again (old version outputs information to new dialog)
fixed bug when file was opened by association from another directory. It wasn't possible to run console apptication
fixed bug when save problem to html file
fixed bug when setup application to path with utf8 characters
fixed bug with click/tooltip when cards was over north/south players and number of tricks of them
fixed bug with tooltips with small decks and arrows and for preferans game. Tooltips now doesn't extend window
fixed bug for menu "clear deal". Last trick window now is cleared
fixed bug number of trick not always cleared when problem was edited
[logical part]
prefeans code is rewritten. Now it's possible to solve many problems in one process
hash options for preferans is improved, now program uses codes of suits, like in bridge solver, only for recent cards. It's possible to not clear hash if trump is still the same
option "solve all opponent deals" for preferans was strictly accelerated
all source files were proceded using eclipse formatter. Source code became more readable
thread synchronization including console application is fully completed
preferans and bridge solvers are moved to base project
for BridgePosition class all functions/variables now starts from small letters, all constants became static class members and uppercased
read more about logical part changes (only in russian) here
table rotation by 90° for preferans game (selection place of abcent player) if click on absent cards or "addons" menu
option "solve for all declarers and trumps" for preferans now solves for all first moves, players and game type. First move was fixed in earlier versions
code for preferans is changes and became much faster, especially option "solve all opponent deals"
[interface part]
fixed bug when option "solve for all declarers and trumps" for bridge was selected and dialog was closed and open again (old version outputs information to new dialog)
fixed bug when file was opened by association from another directory. It wasn't possible to run console apptication
fixed bug when save problem to html file
fixed bug when setup application to path with utf8 characters
fixed bug with click/tooltip when cards was over north/south players and number of tricks of them
fixed bug with tooltips with small decks and arrows and for preferans game. Tooltips now doesn't extend window
fixed bug for menu "clear deal". Last trick window now is cleared
fixed bug number of trick not always cleared when problem was edited
[logical part]
prefeans code is rewritten. Now it's possible to solve many problems in one process
hash options for preferans is improved, now program uses codes of suits, like in bridge solver, only for recent cards. It's possible to not clear hash if trump is still the same
option "solve all opponent deals" for preferans was strictly accelerated
all source files were proceded using eclipse formatter. Source code became more readable
thread synchronization including console application is fully completed
preferans and bridge solvers are moved to base project
for BridgePosition class all functions/variables now starts from small letters, all constants became static class members and uppercased
read more about logical part changes (only in russian) here
version 5.02 12 april 2018
code adopted for gcc 7.3.0 and gtk 3.22.28
remove 'zip' folder now use 'minizip' package
add vector graphic logo on about dialog
fixed bug with disable menu language
change installator extension to exe
remove 'zip' folder now use 'minizip' package
add vector graphic logo on about dialog
fixed bug with disable menu language
change installator extension to exe
version 5.01 7 june 2017
add new feature for preferans "solve all opponent deals"
fixed bug with edit problem list option when first problem has type preferans
accelerate solution of preferans problems
clean up and reviewed PrefPosition.h & PrefPosition.cpp files
solver code now is shared for bridge and bridgeConsole projects
fixed bug with edit problem list option when first problem has type preferans
accelerate solution of preferans problems
clean up and reviewed PrefPosition.h & PrefPosition.cpp files
solver code now is shared for bridge and bridgeConsole projects
version 5.0 26 march 2017
source code had been rewritten for gtk 3.20.6
added support of problems list
added new bts, pts file format, now it's text files which support problems list and pbn tags. One file can include bridge and preferans problems
added problem list editor
added save problems list to many files
converter can store list to html, pbn, df, bts file. It's possible to store list to several files
added contract field on toolbar
added drag & drop option for several files and folders, folders are read recursively
added score calculator for bridge
added save to image file option
added solid color or image selection for custom skin
added font color selection for skins
added new deck with big cards
added detailed information about error upon file opening
added loading many file using command line
improved reading of pbn, df files (now full reading)
improved pbn editor
improved skin support
improved save to html files
accelerate program loading (check new version is in other thread)
improved support of small notebook monitors
improved new language addition, now it's possible just copy new language file to bin/lng folder and program on loading read new file. As well it's possible to add language icon to folder bin/images
collections of problems from HughDarwen and GeorgeCoffin folders now is in one file for every forder. As well extended list from Competition subfolder. Now it includes all of problems. Add all other collections Bergholt, Yarborough, Pachabo. So now all problems from www.doubledummy.net are in bts library. Preferans problems now are in one file. For all problems contract is set where it's possible.
click on inner card undo needed turns
click on card which is next in list redo turn
extended save modified document option
added support of problems list
added new bts, pts file format, now it's text files which support problems list and pbn tags. One file can include bridge and preferans problems
added problem list editor
added save problems list to many files
converter can store list to html, pbn, df, bts file. It's possible to store list to several files
added contract field on toolbar
added drag & drop option for several files and folders, folders are read recursively
added score calculator for bridge
added save to image file option
added solid color or image selection for custom skin
added font color selection for skins
added new deck with big cards
added detailed information about error upon file opening
added loading many file using command line
improved reading of pbn, df files (now full reading)
improved pbn editor
improved skin support
improved save to html files
accelerate program loading (check new version is in other thread)
improved support of small notebook monitors
improved new language addition, now it's possible just copy new language file to bin/lng folder and program on loading read new file. As well it's possible to add language icon to folder bin/images
collections of problems from HughDarwen and GeorgeCoffin folders now is in one file for every forder. As well extended list from Competition subfolder. Now it includes all of problems. Add all other collections Bergholt, Yarborough, Pachabo. So now all problems from www.doubledummy.net are in bts library. Preferans problems now are in one file. For all problems contract is set where it's possible.
click on inner card undo needed turns
click on card which is next in list redo turn
extended save modified document option
version 4.0 22 december 2014
source code had been rewritten for gcc compiler and crossplatform library gtk+ version 3.6.4, IDE is Eclipse CDT
add solution for all possible trumps and declarers
add problem rotation
add special support for small monitors
application is easy configurable (bridge.cfg became text file, bridge.css is also text file)
add font selection
html converter now supports drag & drop option
improve sequence detection for autoplay on sequence option
add solution for all possible trumps and declarers
add problem rotation
add special support for small monitors
application is easy configurable (bridge.cfg became text file, bridge.css is also text file)
add font selection
html converter now supports drag & drop option
improve sequence detection for autoplay on sequence option
version 3.01 20 september 2012
setup font color manualy
setup card indent inside suit manually
setup card indent inside suit manually
version 3.0 11 september 2012
fixed bug with window size on windows Vista
fixed bug with LastTrick and Status windows placement for Windows Vista and Windows 7
added file association (bts, pts, pbn)
fixed bug with cursor capture
fixed bug with editing problem description
some flickers were removed
fixed bug with corners of cards
improve storing of html files
add italian language
add check that file with problem from library already exists
click on any player name in preferans to change player
click on any arrow rectangle to switch first turn (bridge+preferans)
remove many pictures (this produce shadows for some windows versions)
remove a lot of other bugs :)
fixed bug with LastTrick and Status windows placement for Windows Vista and Windows 7
added file association (bts, pts, pbn)
fixed bug with cursor capture
fixed bug with editing problem description
some flickers were removed
fixed bug with corners of cards
improve storing of html files
add italian language
add check that file with problem from library already exists
click on any player name in preferans to change player
click on any arrow rectangle to switch first turn (bridge+preferans)
remove many pictures (this produce shadows for some windows versions)
remove a lot of other bugs :)
version 2.23 8 february 2012
code is adopted for gcc compiler
small memory leak fixed
update mechanism is improved
small memory leak fixed
update mechanism is improved
version 2.22 17 may 2011
change saving type of html from unicode to image
add saving type of html without images
remove local references for pictures
add saving type of html without images
remove local references for pictures
version 2.21 5 february 2011
version 2.20 2 december 2010
version 2.19 10 june 2008
version 2.18 26 april 2008
version 2.17 13 december 2007
version 2.16 16 august 2007
version 2.15 30 july 2007
version 2.14 17 july 2007
version 2.13 4 july 2007
version 2.12 31 may 2007
version 2.11 30 march 2007
version 2.10 14 march 2007
version 2.9 9 december 2006
version 2.8 31 october 2006
version 2.7 1 october 2006
version 2.6 7 february 2005
version 2.5 4 november 2003
version 2.4 3 september 2003
version 2.3 18 july 2003
version 2.2 1 july 2003
version 2.1 16 june 2003
version 2.0 2 june 2003
version 1.2 28 april 2003
version 1.1 5 february 2003
version 1.01 16 january 2003
version 1.0 15 january 2003
History of preferans problem solver
At first program could solve only preferans problems. After the third version was issued I started to develop solver of both bridge and preferans problems.



ru