Add descriptions to each exercise
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-- Implement the function is_queen_threat() below. It should return
|
||||
-- true if the queen is threatening the pawn and false otherwise. The
|
||||
-- coordinates are as given as file (A-H), rank (1-8) pairs such as B3
|
||||
-- and D7.
|
||||
--
|
||||
-- Solution --------------------------------------------------------------------
|
||||
function is_queen_threat(queen_position, pawn_position)
|
||||
-- Your implementation here
|
||||
|
||||
Reference in New Issue
Block a user