🕸Fergus Duniho wrote on Wed, May 3, 2017 09:05 PM UTC:
Here are some functions for Aanca and Griffin movement. These use mathematical coordinates instead of logical ones, and they don't make use of any new functions. There is a bit of redundancy in them, because the same value needs to used twice, and it was easier to calculate it twice than it was to make it more compact. These will also need corresponding functions for calculating the spaces legal moves for these pieces should be checked on. These should be a bit easier to do, and I will leave it as an exercise for whoever programs these games.
Here are some functions for Aanca and Griffin movement. These use mathematical coordinates instead of logical ones, and they don't make use of any new functions. There is a bit of redundancy in them, because the same value needs to used twice, and it was easier to calculate it twice than it was to make it more compact. These will also need corresponding functions for calculating the spaces legal moves for these pieces should be checked on. These should be a bit easier to do, and I will leave it as an exercise for whoever programs these games.