Closed drumslayert closed 9 years ago
TIY-Assignments
18--night-of-the-chessboard
master
USERNAME.GitHub.io:journal-week-4
journal-week-4.md
tutorial-week-4.md
TIY-Assignments:18--night-of-the-chessboard
CheatSheets/GitHubAPI.md
TIY-Chessboard:chess-2.0
USERNAME.GitHub.io
journal-week-4
js/main.js
tests.html
chai
require
mocha.it
game.board
game.reset
game.applyMove
game.next
game.prev
game.end
game.play
setInterval
pr https://github.com/drumslayert/TIY-Assignments/pull/19
Incomplete given because:
Please review and close...
TIY-Assignments
named18--night-of-the-chessboard
frommaster
USERNAME.GitHub.io:journal-week-4
journal-week-4.md
or something creativetutorial-week-4.md
or something creativeTIY-Assignments:18--night-of-the-chessboard
CheatSheets/GitHubAPI.md
TIY-Chessboard:chess-2.0
USERNAME.GitHub.io
fromjournal-week-4
intomaster
TIY-Assignments
from18--night-of-the-chessboard
intomaster
TIY-Chessboard:chess-2.0
js/main.js
tests.html
(see below)chai
intests.html
... CDN, anyone?require
won't work here... justmocha.it
!game.board
...? What does it do?game.reset
? What does it return? Any side-effects?game.applyMove
?game.applyMove
is cheating;game.next
...!game.reset
is more interesting?game.next
but can yougame.prev
...?game.end
is really a lot ofgame.next
...game.play
, tho... How U evensetInterval
?