Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

EGLQZH #14

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

EGLQZH #14

wants to merge 6 commits into from

Conversation

FlucTuAteDev
Copy link

A networking még nem sikerült, de majd holnap (ma) próbálkozok még.

using Utilities;

namespace TicTacToe.ConsoleHelpers {
enum Justify {
Copy link
Contributor

Choose a reason for hiding this comment

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

Egy típus = 1 fájl elvet lehet érdemes követni.

public bool HasBorder { get; set; }

public ConsoleRegion(int row, int col, int width, int height, Justify alignment = Justify.TopLeft, bool border = false) {
if (row < 0 || height < 0 || col < 0 || width < 0 || row + height - 1 > Console.WindowHeight || col + width - 1 > Console.WindowWidth)
Copy link
Contributor

Choose a reason for hiding this comment

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

Elég komplex if. Lehetett volna egy metódus mögé tenni valami jó névvel.

using Utilities;

namespace TicTacToe {
interface IRenderer {
Copy link
Contributor

Choose a reason for hiding this comment

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

Egy típus = 1 fájl

@@ -0,0 +1,54 @@
namespace Utilities {
sealed class Vector {
Copy link
Contributor

Choose a reason for hiding this comment

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

Ez pl lehetne struct.

@@ -0,0 +1,125 @@
using Utilities;

namespace TicTacToe {
Copy link
Contributor

Choose a reason for hiding this comment

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

Szép munka.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants