Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attacking #6

Open
ItsNeil17 opened this issue May 28, 2024 · 1 comment
Open

Attacking #6

ItsNeil17 opened this issue May 28, 2024 · 1 comment

Comments

@ItsNeil17
Copy link
Member

  • Must be able to search for/select players for attack. An initial system for this might be to specify a discord id or username.
  • Must be able to specify which units are being used to attack
  • Must be able to send an attack
  • Must give feedback based off of the results of an attack
@ItsNeil17 ItsNeil17 converted this from a draft issue May 28, 2024
@ItsNeil17 ItsNeil17 moved this from Backlog to Ready in Will of Steel App May 28, 2024
@ItsNeil17 ItsNeil17 moved this from Ready to Backlog in Will of Steel App May 28, 2024
@ItsNeil17 ItsNeil17 mentioned this issue May 28, 2024
@ItsNeil17 ItsNeil17 added this to the release v0.1 milestone Jun 13, 2024
@Owen-Griffin Owen-Griffin self-assigned this Jun 24, 2024
@ItsNeil17
Copy link
Member Author

ItsNeil17 commented Jun 24, 2024

Temporary API Docs for this issue:

POST /attack

query_param type
user_id int
troops dict[UnitType, int]

Response:

name value_type
attacker_lost_troops dict[UnitType, int]
target_lost_troops dict[UnitType, int]
won bool
gold int
food_stolen int

@ItsNeil17 ItsNeil17 removed this from the release v0.1 milestone Jun 24, 2024
@ItsNeil17 ItsNeil17 added this to the v0.2-beta1 milestone Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants