Upcoming feature in Chess for Android: filter PGN games

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Upcoming feature in Chess for Android: filter PGN games

Post by abik »

The next release of Chess for Android features a simple filter while loading PGN games from a file. If you feel strongly about adding other filter options (within reason), please let me know.

Image Image
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Upcoming feature in Chess for Android: filter PGN games

Post by jshriver »

Love you GUI thanks for writing it. Toss in the Gaviota port to android and I have a fun lunch break daily :)

Edit: ELO rating for B/W would be nice.
User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Upcoming feature in Chess for Android: filter PGN games

Post by abik »

jshriver wrote:Love you GUI thanks for writing it. Toss in the Gaviota port to android and I have a fun lunch break daily :)

Edit: ELO rating for B/W would be nice.
My pleasure Joshua. One is glad to be of service!

Thanks for your suggestion. I assume for ELOs one would like a rather flexible filter, such as greater than, less than, and perhaps even intervals. Do you typically filter differently for white and black, or would a single filter for both players suffice? Just trying to restrict GUI real estate here :-)
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Upcoming feature in Chess for Android: filter PGN games

Post by jshriver »

abik wrote: I assume for ELOs one would like a rather flexible filter, such as greater than, less than, and perhaps even intervals. Do you typically filter differently for white and black, or would a single filter for both players suffice? Just trying to restrict GUI real estate here :-)
Yup in general I filter for certain ranges for both b/w, like if I want a small subset that is only high GM games I'll do >2600 for both.

Very rarely do I see games where you have an unbalanced game like 1600 vs 2600.

Then again I can always just do that with pgn-extract before loading anyway which is what I do now.

Happy coding!
User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Upcoming feature in Chess for Android: filter PGN games

Post by abik »

jshriver wrote:Happy coding!
How does the following look to define the ELO rating range 1200-1700. Leaving the lower or upper field empty effectively makes that field unbounded (for example, "1200-" means all ELO rating 1200 and above, while "-1700" means all ELO ratings 1700 and below).

Image
User avatar
jshriver
Posts: 1342
Joined: Wed Mar 08, 2006 9:41 pm
Location: Morgantown, WV, USA

Re: Upcoming feature in Chess for Android: filter PGN games

Post by jshriver »

Wonderful.
kinderchocolate
Posts: 454
Joined: Mon Nov 01, 2010 6:55 am
Full name: Ted Wong

Re: Upcoming feature in Chess for Android: filter PGN games

Post by kinderchocolate »

I think filtering on years is more important than ratings. Let's say if I download TWIC pgns, I don't need to filter on ratings.
User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Upcoming feature in Chess for Android: filter PGN games

Post by abik »

kinderchocolate wrote:I think filtering on years is more important than ratings. Let's say if I download TWIC pgns, I don't need to filter on ratings.
Thanks for the other suggestion. I just released a new version, but if I get a lot of requests for more filter, I may add this one too :-)