Guangcong Luo
a38f0597f8
Remove last vestiges of tslint
2020-10-27 22:49:00 +00:00
Guangcong Luo
c9a1339a0c
Use for-await in more places
2020-08-15 16:31:46 -07:00
Guangcong Luo
b21c9047e2
Migrate to typescript-eslint ( #6342 )
2020-03-05 08:33:06 -08:00
Guangcong Luo
7436c1f0f2
Remove import = and export =
...
`import =` and `export =` are really only intended for backwards
compatibility with CommonJS. While I really don't like the new module
system TC39 has designed for us, it's what we should be using, and
consistency is important.
2019-05-16 01:27:07 +04:00
Kirk Scheibelhut
4975f1902b
Move simulator harness to sim/tools ( #5451 )
2019-04-18 04:17:07 +09:30
Kirk Scheibelhut
b2777f9bf6
Remove |callback| in favor of |error| ( #5418 )
2019-04-09 03:33:32 +08:00
Kirk Scheibelhut
32a457c808
Add a smoke test runner to dev-tools ( #5405 )
2019-04-07 08:34:43 -07:00
Kirk Scheibelhut
3bdd4b95c6
Make RandomPlayerAI capable of playing VGC ( #5410 )
2019-04-05 08:21:57 -07:00
Kirk Scheibelhut
915dd3f4a0
Stop returning default from RandomPlayerAI ( #5394 )
...
`default` papers over AI logic errors. This change fixes those
errors instead:
- handle maybeDisabled/maybeTrapped properly
- use 0 PP and ally-less 'adjacentAlly' moves if necessary.
2019-04-03 11:53:02 +08:00
Kirk Scheibelhut
b7d9d6c611
Handle targetting adjacentFoe and adjacentAllyOrSelf in RandomPlayerAI ( #5381 )
2019-03-30 14:00:25 +08:00
Kirk Scheibelhut
22b07d4ae6
Improve autochoose comment per @Slayer95
2019-03-22 02:42:05 -05:00
Kirk Scheibelhut
e61965eaf5
Pull out RandomPlayerAI from example and enhance
2019-03-22 02:42:05 -05:00
Kirk Scheibelhut
c911ee6fa6
Move sim/battle-stream-example.ts to sim/examples subdir
2019-03-22 02:42:05 -05:00