🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉
Track JavaScript (Legacy)
JavaScript (Legacy) track

Queen Attack

An exercise from the JavaScript (Legacy) track

About this exercise

Given the position of two queens on a chess board, indicate whether or not they are positioned so that they can attack each other.

control flow conditionals
control flow loops
exception handling
optional values
text formatting
View all solutions