Skip to content

Conversation

@joshlory
Copy link
Contributor

Request from @kiki-lee. For young students, having a triangle block at these locations can be confusing.

image

This also removes the special casing for puzzles 1, 2 & 4 of the original HoC.

@joshlory joshlory requested a review from Hamms June 28, 2018 00:56
@kiki-lee
Copy link

I really like this solution.

// Draw the tile.
if (!TILE_SHAPES[tile]) {
const adjacentToPath = tile !== '00000';
const innerCorner = adjacentToPath && tile.split('1').length > 2;
Copy link
Contributor Author

@joshlory joshlory Jun 28, 2018

Choose a reason for hiding this comment

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

Add comment explaining what innerCorner means, since it can also be island blocks.

Copy link
Contributor

@Hamms Hamms left a comment

Choose a reason for hiding this comment

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

LGTM pending comment

@codecov-io
Copy link

codecov-io commented Jun 28, 2018

Codecov Report

Merging #15 into master will increase coverage by 0.1%.
The diff coverage is 42.85%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #15     +/-   ##
=========================================
+ Coverage   40.37%   40.48%   +0.1%     
=========================================
  Files          22       22             
  Lines        1372     1371      -1     
  Branches      223      223             
=========================================
+ Hits          554      555      +1     
+ Misses        684      682      -2     
  Partials      134      134
Impacted Files Coverage Δ
src/beeCell.js 92.98% <ø> (ø) ⬆️
src/bee.js 24.63% <ø> (ø) ⬆️
src/subtype.js 31.14% <42.85%> (+2.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2755a8...4370978. Read the comment docs.

@joshlory joshlory merged commit 729eef6 into master Jun 28, 2018
@joshlory joshlory deleted the solid-inner-corner-walls branch June 28, 2018 20:46
@joshlory joshlory mentioned this pull request Jun 28, 2018
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.

4 participants