Name: codingame-botters-starterkit-ts
Owner: Kontur
Description: Botters of the Galaxy Contest TypeScript Starter Kit
Created: 2018-03-02 21:14:56.0
Updated: 2018-03-02 22:01:52.0
Pushed: 2018-03-03 06:52:06.0
Size: 65
Language: TypeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
???????? ??? ????????? ? ?????????? src
. ????? ? ??????? ????????? ? ??? ?? ?????????? ? ?????????? *.test.ts
.
??? ?????? ???????????? jest.
???????? ?????:
State.ts
? ????? ? ?????????? ????StateReader.ts
? ????? ??? ?????? ????????? ????. ???????? ??????????? ????????? ? ??????? printErr
Ai.ts
? ??? ???????? ????Ai.test.ts
? ????? ?? ???? ?????????????? ???, ????? ???? ?????? ?????????? ? ???? ?????????????? ????????? ?? ??????????????????????? ???????????: git clone https://github.com/skbkontur/codingame-botters-starterkit-ts.git
?????????? ???????????: npm install
??? yarn install
npm run build
??? yarn build
? ???????? ???????? ??? ? ???? dist/bundle.js
. ? ???????? ??? ? ????? ?????? ??? ??????? ?? CodinGame.com.
??? ??????????? ? ????? ?????? ???????????? ??????????? ??? macOS ??????? pbcopy
.
?? Windows ??????????????? ? ????? package.json ??????? ? ?????????? “build”, ????? ?????????? ?????????:
ld": "webpack -p && && clip < dist\bundle.js",
npm run watch
??? yarn watch
? ?????????? ?????? ?? ??????????? ????????? ???? ? ???????????? dist/bundle.js
.
npm test
??? yarn test
? ???????? ? ????????? ?????.
npm test -- --watchAll
??? yarn test --watchAll
? ?????????? ?????? ?? ??????????? ? ???? ? ????????????? ?????
print
, printErr
, readline
???????? ? ?????? IO.ts
webpack
(???? ??? ?????)