Switch branches/tags
Nothing to show
Find file History
Latest commit c40a7b8 Feb 17, 2017
Permalink
..
Failed to load latest commit information.
README.md Exercise 1: chess Feb 15, 2017
chess.go chess solution Feb 17, 2017
chess_test.go Exercise 1: chess Feb 15, 2017

README.md

chess

You know the position of two knights(horses) on a chess board (8x8 size), determine if they can attack each other or not.

Knight move

Example: white knight stays on D4, black is on E2. They can attack each other.

Run tests with benchmarks

go test -bench .