- See the Dynamite website for the instructions.
- Fork this repo and clone the new repo.
- Edit the
src/index.tsfile to create your bot,- make sure your bot is a class with
module.exports = new MyClassName();at the end of the file (you can replaceMyClassNamewith the name of your class), - make sure you keep all the code you write in the
src/index.tsfile.
- make sure your bot is a class with
- You can use the
startrun config (or the commandnpm start) to build your JS code and run your bot againstrockBot. - You can use the command
npm run build-and-play-against -- <path-to-opponent-bot-JS-file>to build your JS code and run your bot against another bot. - If you want to export your bot, run
npm run clean-build: your bot will be compiled into thedist/index.jsfile which you can share with other people (or keep a copy of to use as a test opponent).
-
Notifications
You must be signed in to change notification settings - Fork 4
serensoftwire/DynamiteTS
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published