-
Notifications
You must be signed in to change notification settings - Fork 31
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
Implement the attack logic #26
Comments
I can handle this if needed |
Hey any news there N |
It is blocking other PRs so unassigning it. Feel free to pick up something else |
I have implemented the beginning of the contract as well as the attack logic tests but the implementation of the attack requires the modification of the component file as well as the implementation of the card deck system in order to verify the lenght of the players' hand.
I have implemented the beginning of the contract as well as the attack logic tests but the implementation of the attack requires the modification of the component file as well as the implementation of the card deck system in order to verify the lenght of the players' hand.
Sorry, I didn't see the message, I've started the attack logic and contract and implemented the test, (I've also created a card creation contract to test with card stats). But to finish the implementation, we need to finish the card logic system and also the place_card system to know every card in the field in order to start the attack sequence between the players' cards. I don't know if we're allowed to implement other parts to finish this one. |
Cool I'll implement the place card now which seems to block all the PRs and then you can finish your implementation |
Fix error in test Attack , also finished the implementation of the create_card system , and i added some comment to the code
Description
As per the game rules, at the end of your turn, all your cards on the field will try to pass the opponents' players. If you dribble an enemy player it'll go out of the game but will reduce your defense by his dribble stats. If the opponent's board is empty you'll score a goald and win the round. The attacking sequence is : attacker => midfielder => defense => goalkeeper
(this should be in the end turn system)
Acceptance criteria
The text was updated successfully, but these errors were encountered: