for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
/**
* Knight module
* @module
*/
"use strict";
* Class with Knight logic
class Knight {
* init
constructor(color) {
this.symbol = "N";
this.moved = 0;
this.active = true;
this.color = color;
}
legalMove() {
module.exports = Knight;