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

Nowa wersja kodu - obiektówka by @Patrycjerz #4

Open
event15 opened this issue Oct 6, 2015 · 1 comment
Open

Nowa wersja kodu - obiektówka by @Patrycjerz #4

event15 opened this issue Oct 6, 2015 · 1 comment
Labels

Comments

@event15
Copy link
Member

event15 commented Oct 6, 2015

http://pastebin.com/G1MfBmWg

Oczywiście dużo lepszy kod niż był - jednak mamy tutaj do czynienia z:

  • jak się domyślam klasa abstrakcyjną oraz dwiema klasami extendującymi ją
  • występuje duplikacja kodu w metodach checkWin()
  • jest wielka klasa Game, która praktycznie wykonuje wszystko. Trzeba pomyśleć nad poprawą tego.
@efiku
Copy link
Member

efiku commented Oct 6, 2015

zrób PR z tym kodem. #6

@efiku efiku added the OOP label Oct 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants