Skip to content

Commit

Permalink
Migrate Debug Panel + Log + MCTS Visualizer to Svelte (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolodavis authored Oct 22, 2019
1 parent 9c5f0b1 commit 881278a
Show file tree
Hide file tree
Showing 53 changed files with 1,546 additions and 2,659 deletions.
2 changes: 1 addition & 1 deletion benchmark/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import Benchmark from 'benchmark';
import { Client } from '../src/client/client';
import { Client } from '../dist/client';
import { InitializeGame } from '../src/core/initialize';
import { CreateGameReducer } from '../src/core/reducer';
import { makeMove, gameEvent } from '../src/core/action-creators';
Expand Down
10 changes: 5 additions & 5 deletions examples/react-web/src/tic-tac-toe/singleplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ const App = Client({
return r;
},

visualize: MCTSVisualizer(state => (
<div style={{ transform: 'scale(0.7)' }}>
<Board {...state} isPreview={true} moves={{}} />
</div>
)),
// visualize: MCTSVisualizer(state => (
// <div style={{ transform: 'scale(0.7)' }}>
// <Board {...state} isPreview={true} moves={{}} />
// </div>
// )),
}),
});

Expand Down
206 changes: 201 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 881278a

Please sign in to comment.