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

feat: abilities #2

Merged
merged 10 commits into from
Feb 10, 2024
Merged

feat: abilities #2

merged 10 commits into from
Feb 10, 2024

Conversation

avyjit
Copy link
Contributor

@avyjit avyjit commented Dec 30, 2023

adds an ability to make an attacker invulnerable for a specific no. of turns for some price

src/game/game.cpp Outdated Show resolved Hide resolved
src/game/game.cpp Outdated Show resolved Hide resolved
test/game_tests.cpp Show resolved Hide resolved
src/main.cpp Show resolved Hide resolved
src/game/game.hpp Outdated Show resolved Hide resolved
src/game/game.cpp Show resolved Hide resolved
src/game/game.cpp Outdated Show resolved Hide resolved
src/game/game.cpp Outdated Show resolved Hide resolved
src/defender/defender.cpp Outdated Show resolved Hide resolved
src/attacker/attacker.cpp Outdated Show resolved Hide resolved
src/attacker/attacker.cpp Outdated Show resolved Hide resolved
shubham-1806
shubham-1806 previously approved these changes Feb 8, 2024
@shubham-1806 shubham-1806 changed the base branch from main to pvp February 9, 2024 13:27
@shubham-1806 shubham-1806 changed the title Ability: add invulnerability for specific turns feat: abilities Feb 10, 2024
@shubham-1806 shubham-1806 merged commit bacf676 into pvp Feb 10, 2024
shubham-1806 added a commit that referenced this pull request Feb 25, 2024
* wip:pvp

* feat: pvp main, fds

* feat: pvp

* feat: pvp logger,attackers

* feat:pvp

* update: loggers

* feat: unit tests for pvpgame and pvpattacker (#3)

* wip: pvp tests

* feat: unit tests for pvp

* feat: abilities (#2)

* feat: invuln ability

* fix: main & tests

* fix: include cassert

* move ability into attacker class

* modify attribute dict

* update comparator

* fix: comparator takes ability to account

* add tests for attacker abilities

* fix: minor fixes

* fix: integrate with abilities

---------

Co-authored-by: shubham-1806 <[email protected]>

---------

Co-authored-by: Bhoopesh <[email protected]>
Co-authored-by: Nithin Balan <[email protected]>
Co-authored-by: Avyyukt Ajith <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants