Skip to content

Migrate existing battle system to use Smogon's Showdown sim #18

@Toxocious

Description

@Toxocious

Description

Hand-rolling our own battle system - while being interesting and mostly fun - is tedious and prone to bugs due to missing unforeseen edge cases that aren't meant to happen.

We could instead roll a TS server using the @pkmn/sim - and other @pkmn/* packages as necessary - with custom server logic if needed. This will handle all battle logic for us and will be way quicker over websockets than the current battle system.

If we opt to go this route, the previous issues regarding the battle system (#6, #7, #8, #9, #10, #11, #12) can be closed.

References

@pkmn/sim

Metadata

Metadata

Assignees

Labels

battlesIssues regarding the battle systemenhancementNew feature or requestrefactorDesirable refactoring of the feature/script in the issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions