Skip to content

feat(teleport): add strategy interface#135

Merged
theEvilReaper merged 2 commits into
mainfrom
feature/teleport
Jul 13, 2026
Merged

feat(teleport): add strategy interface#135
theEvilReaper merged 2 commits into
mainfrom
feature/teleport

Conversation

@theEvilReaper

Copy link
Copy Markdown
Contributor

Proposed changes

Currently, the teleportation of survivors is handled by a specific implementation that cannot be changed. This pull request introduces the ability to customize the teleportation logic. To achieve this, a strategy interface has been added that can be implemented to provide custom behavior. The game-related code now relies on this interface, allowing different teleportation strategies to be used.

Types of changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

  • I have read the CONTRIBUTING.md
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@theEvilReaper theEvilReaper self-assigned this Jul 13, 2026
@theEvilReaper theEvilReaper added area: api Everything related to the the api module area: game Everything related to the the game module labels Jul 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Test results

108 files  108 suites   57s ⏱️
113 tests 108 ✅  5 💤 0 ❌
342 runs  327 ✅ 15 💤 0 ❌

Results for commit 30edc74.

@TheMeinerLP TheMeinerLP left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@theEvilReaper
theEvilReaper merged commit bffa72f into main Jul 13, 2026
8 checks passed
@theEvilReaper
theEvilReaper deleted the feature/teleport branch July 13, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: api Everything related to the the api module area: game Everything related to the the game module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants