Upcoming feature in Chess for Android: filter PGN games

Discussion of chess software programming and technical issues.

Moderators: hgm, Harvey Williamson, bob

Post Reply
User avatar
abik
Posts: 621
Joined: Fri Dec 01, 2006 9:46 pm
Location: Mountain View, CA, USA
Contact:

Upcoming feature in Chess for Android: filter PGN games

Post by abik » Fri Mar 23, 2012 10:26 pm

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: 1102
Joined: Wed Mar 08, 2006 8:41 pm
Location: Morgantown, WV, USA
Contact:

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

Post by jshriver » Fri Mar 23, 2012 11:42 pm

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: 621
Joined: Fri Dec 01, 2006 9:46 pm
Location: Mountain View, CA, USA
Contact:

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

Post by abik » Sat Mar 24, 2012 5:30 am

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: 1102
Joined: Wed Mar 08, 2006 8:41 pm
Location: Morgantown, WV, USA
Contact:

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

Post by jshriver » Sat Mar 24, 2012 5:39 am

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: 621
Joined: Fri Dec 01, 2006 9:46 pm
Location: Mountain View, CA, USA
Contact:

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

Post by abik » Sat Mar 24, 2012 6:43 pm

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: 1102
Joined: Wed Mar 08, 2006 8:41 pm
Location: Morgantown, WV, USA
Contact:

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

Post by jshriver » Sat Mar 24, 2012 8:02 pm

Wonderful.

kinderchocolate
Posts: 400
Joined: Mon Nov 01, 2010 5:55 am
Contact:

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

Post by kinderchocolate » Mon Mar 26, 2012 12:54 am

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: 621
Joined: Fri Dec 01, 2006 9:46 pm
Location: Mountain View, CA, USA
Contact:

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

Post by abik » Mon Mar 26, 2012 5:09 pm

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 :-)

Post Reply