knight logic