fowode / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

Previous/Next Game & Comments #498

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It is rather cumbersome to have to reopen a file and select a game from a
PGN which has more than one game in it.  If there were  "Next Game" and
"Previous Game" buttons (my preference) or a menu items, that would greatly
ease the use of such files.

Also, PGN files sometimes have comments in them - for example, if they are
exercises, or annotated games.  I for one, would love to see a simple
window/sidepanel to view these. 

Original issue reported on code.google.com by jokovelt...@gmail.com on 20 Oct 2009 at 7:29

GoogleCodeExporter commented 9 years ago
I started to implement all these features in database branch, but have little 
time
later to roll on. I hope it will be ready for the next major release.

Original comment by gbtami on 20 Oct 2009 at 4:42

GoogleCodeExporter commented 9 years ago
I restarted the database work again in gbtami-database clone here:
http://code.google.com/r/gbtami-database/source/checkout

It uses sqlalchemy to easy the work. The new stuff are in lib/pychess/Database/ 
and in lib/pychess/Savers/database.py
At this moment it can import .pgn files using import.py in Database dir., and 
then pychess can open games pointing to ~/.locale/share/pychess/pychess.pdb
Game's movelist now stored as arrays of low level int moves (2 byte/move), and 
comments as unicode text, separated with "|".
Of course these are just experiments, nothing in stone yet.
Any suggestion are welcome.

Original comment by gbtami on 30 Jul 2011 at 3:48

GoogleCodeExporter commented 9 years ago
It can import .pgn files from .pgn/.zip/directory starting with --import-pgn 
option.
Added a new "Open database" to Game menu.
Entering player name to simple gtk completion entry can filter the gamelist.

Original comment by gbtami on 1 Sep 2011 at 6:43

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 27 Jun 2013 at 10:09