Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\m/ #1

wants to merge 1 commit into
base: gh-pages

\m/ #1

Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

@@ -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;
window.Algol = Algol;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.