Skip to content

Commit

Permalink
Readme: Screenshot added
Browse files Browse the repository at this point in the history
  • Loading branch information
Granjow committed Oct 23, 2015
1 parent afa3afb commit aa304eb
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![Adventure Menu](files/Menu.png)

This is a tutorial on graph algorithms. It is using [adventure](https://www.npmjs.com/package/adventure).

Install this adventure with
Expand Down
File renamed without changes.
19 changes: 19 additions & 0 deletions exercises/ex4-siege/siege.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
var path = require( 'path' ),
verify = require( 'adventure-verify' ),
tools = require( '../../library/tools' );

exports.problem = function () {
return tools.mdProblem( {
mdSource: path.join( __dirname, 'problem-siege.md' ),
pdfName: 'problem-siege.pdf',
sampleSource: path.join( __dirname, 'samples' ),
sampleDest: 'samples-siege'
} );
};

exports.solution = tools.mdSolution( path.join( __dirname, 'solution-siege.js' ) );


exports.verify = verify( { modeReset: true }, function checker( args, t ) {
t.end();
} );
Empty file.
Binary file added files/Menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ shop.add( 'Graph Structure', function () {
shop.add( 'Reading Problems', function () {
return require( './exercises/ex3-reading-problems/reading-problems' );
} );
shop.add( 'Under Siege', function () {
return require( './exercises/ex4-siege/siege' );
} );

shop.execute( process.argv.slice( 2 ) );

0 comments on commit aa304eb

Please sign in to comment.