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

Refactoring code #2

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open

Refactoring code #2

wants to merge 53 commits into from

Conversation

VladShyrokyi
Copy link

Added classes:

  • core for build main game process
  • board for storing data
  • element - simple dto
  • updateLoop - for execute iterable logic

Added interface:

  • IElementGenerator for creating elements

@VladShyrokyi VladShyrokyi reopened this Jun 4, 2021
@VladShyrokyi VladShyrokyi marked this pull request as draft June 5, 2021 12:16
@VladShyrokyi VladShyrokyi marked this pull request as ready for review June 5, 2021 12:16
@VladShyrokyi VladShyrokyi marked this pull request as draft June 5, 2021 12:17
@VladShyrokyi VladShyrokyi marked this pull request as ready for review June 5, 2021 12:20
VladShyrokyi and others added 29 commits July 4, 2021 16:30
… to main class Core<T>, move ulong core to another namespace
[ADD] Move logic of interaction with values into an inherited class.
[ADD] Move logic of iterabling of board elements when update into an inherited class.
…o local project solution references in example
# Conflicts:
#	C#/Board.cs
#	C#/BoardHelper.cs
#	C#/Core.cs
#	C#/Element.cs
#	C#/IElementGenerator.cs
#	C#/RandomCellGenerator.cs
#	C#/UpdateLoop.cs
#	ConsoleOut/ConsoleOut.csproj
#	ConsoleOut/Program.cs
#	Core_2048.csproj
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.

1 participant