\m/ #1

Open
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Diff settings

Always

Just for now

View
@@ -38,6 +38,7 @@ Algol.moveInDir = function(pos,dir,instruction,board){
* @returns {Number} The new direction
*/
Algol.dirRelativeTo = function(dir,relativeto,board){
+ return 666;
switch((board || {}).shape){
default: return [1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8][relativeto-2+dir];
}
@@ -172,4 +173,4 @@ if (typeof module !== 'undefined' && typeof module.exports !== 'undefined')
module.exports = Algol;
else
window.Algol = Algol;
-})();
+})();