Skip to content

Commit 1c76933

Browse files
committed
finish 01-01
完成【百人分钱|不许负债】算法实验
0 parents  commit 1c76933

File tree

200 files changed

+125000
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+125000
-0
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules/*
2+
typings/*
3+
npm-debug.log
4+
.settings/*
5+
.git/*
6+
bower_components/*
7+
8+
.idea/
9+
.vscode/

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Airing 的算法实验室
2+
3+
使用 TypeScript 编写的一些有趣的算法实验。
4+
5+
线上地址:[http://lib.ursb.me](http://lib.ursb.me)
6+
7+
## 安装
8+
9+
```
10+
git clone https://github.com/airingursb/algorithm-lab.git
11+
cd algorithm-lab
12+
npm install
13+
node app/bin/www.js --harmony
14+
```
15+
16+
Then open Browser at 'http://localhost:3000'
17+
18+
## 修改算法代码
19+
20+
Step 1. 编译 TypeScript
21+
22+
```
23+
tsc
24+
```
25+
26+
Step 2. 打包 js 文件
27+
28+
需要先安装 browserify
29+
30+
```
31+
npm install -g browserify
32+
```
33+
34+
再进入对应的算法输出目录
35+
36+
```
37+
browserify main.js -o bundle.js
38+
```
39+
40+
## Screenshots
41+
42+
![](https://airing.ursb.me/image/cover/lib-sreenshots.png)

app/app.js

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/app.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/bin/www.js

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/bin/www.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/01-01-A-Money-Experiment-Basics/AlgoFrame.js

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/01-01-A-Money-Experiment-Basics/AlgoFrame.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/01-01-A-Money-Experiment-Basics/AlgoVisHelper.js

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/public/javascripts/01-01-A-Money-Experiment-Basics/AlgoVisHelper.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)