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

Deduplicate - build a chessboard #82

Closed
3 tasks done
hobovsky opened this issue Feb 12, 2022 · 6 comments
Closed
3 tasks done

Deduplicate - build a chessboard #82

hobovsky opened this issue Feb 12, 2022 · 6 comments
Assignees
Labels
discussion/deduplicate Discussion and vote what to do with duplicate kata

Comments

@hobovsky
Copy link
Contributor

hobovsky commented Feb 12, 2022

checkerboard / chessboard

  1. Checkerboard Generation
  • 6kyu.
  • Each field is represented by one of "[r]" or "[b]".
  • Satisfaction 91%, ~1000 solutions.
  • 2 pending issues
  • 4 languages + 1 pending translation (Clojure)
  • Published Aug 2014, author inactive.
  1. Checkered Board
  • 6kyu
  • Fields are unicode characters ( and ). Additional bit of difficulty is added because the color of the top left corner depends on input value n. Tests for invalid inputs like strings and negative numbers.
  • Satisfaction 90%, ~900 solutions.
  • 2 pending issues about outdated frameworks and missing random tests.
  • 5 languages (Coffeescript exclusive), no pending translations.
  • Published Nov 2015, author inactive.
  1. ChessBoard
  • 7kyu
  • Fields are represented by a space or '#'.
  • Satisfaction 92%, 140 solutions.
  • 1 pending issue.
  • 1 language, 1 pending translation (PHP exclusive)
  • Published Nov 2016, author inactive.
  1. Chessboard
  • 7kyu.
  • Fields are represented by '*' or '.'. Boards can be rectangular.
  • Satisfaction 88%, 260 solutions.
  • Python only.
  • No pending issues, one suggestion mentioning it's a duplicate.
  • Published May 2016, author inactive.
  1. Python Checkerboard
  • 7kyu
  • A bug fixing kata presenting a bug sometimes encountered by newbies.
  • Satisfaction 89%, 430 solutions.
  • 2 languages, 4 pending translations (but they are suspected to not hold to the bugfixing aspect of the kata).
  • Published Jul 2016.

Conclusion:

@hobovsky hobovsky added the discussion/deduplicate Discussion and vote what to do with duplicate kata label Feb 12, 2022
@hobovsky
Copy link
Contributor Author

I think the 2. is the most interesting due to a slightly added complexity, and unicode characters. It's also the most complete. The input validation requirement sucks, but maybe can be removed, or left as is. The unicode characters are reported to create some problems in one of languages.

My vote is to keep 2. as the most interesting and most complete, and fix if needed. 1., 3., and 4. are simpler than 2., but still very similar. I think we don't need them if we keep 2.

I think 5. is not a duplicate and should be kept.

@twilight-sun
Copy link

in spite of description for me ■ and □ works ok in Ruby in kata 2. in Mozilla
maybe that issue now isn't a thing. not sure

@Kacarott
Copy link

I agree with keeping 2. The input validation is annoying, but it is the best option there. First one has a very strange output, 3 and 4 also have strange outputs and also single languages, 5 is needlessly python specific in its description and title.

@ejini6969
Copy link

I didn't realize 5 was a bug-fixing kata tho at that time of posting(I even translated it in the wrong way😅) and considered the fact that it expects different output type, it is not a duplicate IMO.

  1. should be kept due to reasons above. If so, only C# require migration.

Also, regarding 5. I'll fix my translation sooner or later.

@EloiseRosen
Copy link

agree with keeping 2 and 5

@akar-0
Copy link

akar-0 commented Mar 8, 2022

Keep 2 (though the input validation and the output format can require adaptations for some languages, it can be done individually) for being the most interesting, remove 1,3,4.

No opinion about 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion/deduplicate Discussion and vote what to do with duplicate kata
Projects
Development

No branches or pull requests

7 participants