I am programming othello in c# and I dont know what algorithum to use to check all the directions and display where the user can place his piece. Can someone help??

All empty cells that are adjacent to pieces of the opposite color are candidates. I think you should start with that.

Once you have that, you can remove the ones that are not valid.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.