Check out Janggi (Korean Chess), our featured variant for December, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

How to Display Legal Moves in Game Courier - A Tutorial. A Game Courier Tutorial.[All Comments] [Add Comment or Rating]
Jose Carrillo wrote on Fri, Jan 6, 2017 04:10 PM UTC:

Still not working.

I'm going to use the following definition for new onlyupper and onlylower functions:

def onlyupper2 aggregate lambda (#0 onlyif isupper char #0 0) pieces;
def onlylower2 aggregate lambda (#0 onlyif islower char #0 0) pieces;
 
Can you give me the lambda functions for new isupper and islower that only look at the first character?
 
def isupper2 ???
def islower2 ???
 
Thanks.