Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import State from "./state";
- import Player from "./player";
- import { db } from "./db/db";
- // import HumanPlayer from "./humanPlayer";
- // db.ref(`logs/test`).set(`lastRound: ${10}`);
- const p1: Player = new Player("local_firebase-one");
- const p2: Player = new Player("local_firebase-two");
- const games = 500000;
- const game = new State(p1, p2);
- game.play(games, 100);
- // const computer: Player = new Player("computer_vm", 0);
- // computer.loadPolicy().then(res => {
- // console.log('loaded');
- // const newGame = new State(computer, new HumanPlayer("Timas"));
- // newGame.playVsAI();
- // });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement