Skip to content

RPG Saga #10

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

Open
wants to merge 16 commits into
base: Beljakov_Aleksej_Vasilevich
Choose a base branch
from

Conversation

abbb03
Copy link

@abbb03 abbb03 commented Sep 10, 2022

No description provided.

Comment on lines +1 to +9
<<<<<<< HEAD
BinaryTree/bin/
BinaryTree/net6.0/
BinaryTree/obj/

RpgSaga/bin/
RpgSaga/net6.0/
RpgSaga/obj/
=======
Copy link
Contributor

Choose a reason for hiding this comment

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

плохая идея с конфликтами заливать

@@ -0,0 +1,68 @@
namespace BinaryTree
Copy link
Contributor

Choose a reason for hiding this comment

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

только давайте все же в подкаталог с CourseApp - или stylecop нфдо настравивать

@@ -0,0 +1,28 @@

Copy link
Contributor

Choose a reason for hiding this comment

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

аналогично - или в 1 каталог с CourseApp или надо настроить gh actions и stylecop

{
public abstract class Ability
{
protected bool DoBlindActions(Player player, Player enemy)
Copy link
Contributor

Choose a reason for hiding this comment

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

а почему ability знает про 2 игроков?

{
public Archer(int health, int strength, string name, Ability ability) : base(health, strength, name, ability)
{
PlayerClass = "Лучник";
Copy link
Contributor

Choose a reason for hiding this comment

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

тут хорошо бы enum текстовый использовать

Comment on lines +21 to +28
_playerLogger.EnterTheNumberOfPlayers();
if (int.TryParse(Console.ReadLine(), out int number))
{
if (number % 2 == 0 && number > 0)
{
return number;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

пользовательский ввод в отдельном классе стоит обрабатывать

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.

2 participants