Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Feature/react board #667

Merged
merged 29 commits into from
Oct 22, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3bad2bf
Added BlackArchbishop.js
programarivm Oct 19, 2023
986cfda
Added BlackBishop.js
programarivm Oct 19, 2023
f7eeb9d
Implemented SvgPiece
programarivm Oct 19, 2023
d407fac
Implemented SvgBlackChancellor
programarivm Oct 19, 2023
47fea00
Updated SvgPiece
programarivm Oct 19, 2023
3e6e142
Added pieces
programarivm Oct 19, 2023
33b5b25
npm i file:../react-board
programarivm Oct 19, 2023
9011374
Implemented Board
programarivm Oct 19, 2023
16bdee6
Removed Piece
programarivm Oct 19, 2023
b7bd659
Removed .svg files
programarivm Oct 19, 2023
4be22c6
Updated Ascii
programarivm Oct 19, 2023
3d85118
Updated Board
programarivm Oct 19, 2023
c501cd4
Updated Board
programarivm Oct 19, 2023
c776b2b
Updated Board
programarivm Oct 19, 2023
bff7026
Merge branch 'master' into feature/react-board
programarivm Oct 20, 2023
84a07ac
Removed tests
programarivm Oct 20, 2023
79b23d5
Deleted tests
programarivm Oct 20, 2023
a4f7bf6
Removed duplicated squares
programarivm Oct 20, 2023
4dab027
Removed eventConst
programarivm Oct 20, 2023
27cd9aa
Updated Squares
programarivm Oct 20, 2023
e01b80a
Implemented goBack
programarivm Oct 20, 2023
53f9592
Deleted Animation
programarivm Oct 20, 2023
102eb2d
Implemented ActiveBoard
programarivm Oct 20, 2023
5db301d
Implemented filterMove()
programarivm Oct 20, 2023
79cfa99
Refactored the board size
programarivm Oct 21, 2023
7172981
Removed ResizeSlider
programarivm Oct 21, 2023
a390c06
Cleanup
programarivm Oct 21, 2023
8453469
Updated index.css
programarivm Oct 22, 2023
d3e0228
npm i @chesslablab/react-board
programarivm Oct 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added BlackBishop.js
  • Loading branch information
programarivm committed Oct 19, 2023
commit 986cfdaa48453aaab164ac1ceedcf295555f0ee4
41 changes: 41 additions & 0 deletions src/features/board/piece/BlackBishop.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
const BlackBishop = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" width={45} height={45} {...props}>
<g
style={{
opacity: 1,
fill: "none",
fillRule: "evenodd",
fillOpacity: 1,
stroke: "#000",
strokeWidth: 1.5,
strokeLinecap: "round",
strokeLinejoin: "round",
strokeMiterlimit: 4,
strokeDasharray: "none",
strokeOpacity: 1,
}}
>
<g
style={{
fill: "#000",
stroke: "#000",
strokeLinecap: "butt",
}}
>
<path d="M9 36c3.39-.97 10.11.43 13.5-2 3.39 2.43 10.11 1.03 13.5 2 0 0 1.65.54 3 2-.68.97-1.65.99-3 .5-3.39-.97-10.11.46-13.5-1-3.39 1.46-10.11.03-13.5 1-1.35.49-2.32.47-3-.5 1.35-1.46 3-2 3-2z" />
<path d="M15 32c2.5 2.5 12.5 2.5 15 0 .5-1.5 0-2 0-2 0-2.5-2.5-4-2.5-4 5.5-1.5 6-11.5-5-15.5-11 4-10.5 14-5 15.5 0 0-2.5 1.5-2.5 4 0 0-.5.5 0 2z" />
<path d="M25 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 1 1 5 0z" />
</g>
<path
d="M17.5 26h10M15 30h15m-7.5-14.5v5M20 18h5"
style={{
fill: "none",
stroke: "#fff",
strokeLinejoin: "miter",
}}
/>
</g>
</svg>
);

export default BlackBishop;