Check out Atomic Chess, our featured variant for November, 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

Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sun, Dec 19, 2004 09:16 PM UTC:
Recent comments about bugs seem to be in reference to some debugging I was just doing of new features. The bugs were due to not getting the right number of parentheses in certain expressions, and their only effect on ongoing games was to halt Game Courier for a while. I just enhanced the logical operators or, and, nor, nand, and cond. These will now take arrays, as well as scalar values, as arguments. With arrays as arguments, they will conditionally evaluate arrays as separate Polish notation expressions. Each binary logical operator will evaluate the first array first, and it will evaluate the second only if its value is required to determine the value of the expression. The cond operator , depending upon the value of its condition, will evaluate the first or second array that follows the condition, assuming both arguments are arrays. When arguments for these operators are not arrays, the scalar value will be used. This all allows logical operators to be used for flow control over expressions nested by parentheses.