-
Notifications
You must be signed in to change notification settings - Fork 166
[๐ ์ฌ์ดํด2 - ๋ฏธ์ (๊ธฐ๋ฌผ ํ์ฅ + DB ์ ์ฉ)] ๋ฃจ๋๋น์ฝ ๋ฏธ์ ์ ์ถํฉ๋๋ค. #325
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
Merged
Merged
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
6fd8623
refactor: PieceType์ movablePaths๋ฅผ private์ผ๋ก ๋ณ๊ฒฝ
HyoYoonNam da4b0e8
refactor: ๋น ๊ธฐ๋ฌผ์ ๋งค๋ฒ ์์ฑํ์ง ์๋๋ค
HyoYoonNam a1bc8f7
refactor: ๋น ๊ธฐ๋ฌผ ์์ฑ์ ๊ฐ์ ์ธ์คํด์ค๋ง ๋ฆฌํดํ๋ค
HyoYoonNam 4cc6cbc
docs: ๊ตฌํํ ๊ธฐ๋ฅ ๋ชฉ๋ก ์ถ๊ฐ
HyoYoonNam dbc111f
refactor: '์ง์ (์ฅ์)'์ ๊ฐ๋ฆฌํค๋ ๋ณ์๋ช
์ฉ์ด ๋ณ๊ฒฝ
HyoYoonNam 9720727
docs: ์ง์๋ณ ๋ณด๋์ค ์ ์ ์๊ตฌ์ฌํญ ์ถ๊ฐ
HyoYoonNam 4dba09b
feat: ์ง์๋ณ ๊ธฐ๋ฌผ ์ ์ ๊ณ์ฐ ๊ตฌํ
HyoYoonNam 9f53d46
docs: ์คํ ์์์ ์น์ ๋ฐ ์ ์ ์ถ๋ ฅ ์ถ๊ฐ
HyoYoonNam e9d93af
feat: ์น์ ์ถ๋ ฅ ์ ์ ์๋ ํจ๊ป ์ถ๋ ฅ
HyoYoonNam 5be597e
refactor: ๊ฒ์ ์ข
๋ฃ ๋ฐ ์นํจ ํ์ ๋ก์ง ๊ฐ์
HyoYoonNam 10e08b1
docs: ์ถ๊ฐ๋ ์๋ฃ ์ฒดํฌ๋ฅผ ๋๋ฝํ ๊ธฐ๋ฅ ์๊ตฌ์ฌํญ ๋ฐ์
HyoYoonNam 382bad7
refactor: Board์ getter๋ฅผ ์ ๊ฑฐ
HyoYoonNam adb0058
feat: ๊ถ๊ณผ ์ฌ๋ ๊ถ์ฑ ๋ฐ์ผ๋ก ์ด๋ํ ์ ์๋ค
HyoYoonNam 86a5ca5
feat: ๊ถ๊ณผ ์ฌ์ ๊ถ์ฑ ๋ด ๋๊ฐ์ ์ด๋ ๊ตฌํ
HyoYoonNam 5f80c18
feat: ์กธ/๋ณ์ ๊ถ์ฑ ๋ด ๋๊ฐ์ ์ด๋ ๊ตฌํ
HyoYoonNam 8976b5e
refactor: ํ
์คํธ ์ฝ๋์์์ ์ถ๋ ฅ ์ ๊ฑฐ
HyoYoonNam 09ffe4d
refactor: PalaceMovement.toPalaceCenter private ๋ณ๊ฒฝ
HyoYoonNam 9a4f79c
refactor: ๋ฏธ์ฌ์ฉ import ์ ๊ฑฐ
HyoYoonNam c243bde
feat: ์ฐจ์ ํฌ์ ๊ถ์ฑ ๋ด ๋๊ฐ์ ์ด๋ ๊ตฌํ
HyoYoonNam eefd8cc
docs: ๋๋ฝํ ์ฒดํฌ๋ฆฌ์คํธ ๋ฐ์
HyoYoonNam 15261ba
docs: ์ฉ์ด์ฌ์ ์
๋ฐ์ดํธ
HyoYoonNam 05f78a3
docs: DB ์๊ตฌ์ฌํญ ๋ช
์ธ์ ์ถ๊ฐ
HyoYoonNam 46cd87b
build: add sqlite-jdbcdriver dependency
HyoYoonNam 634ae5b
docs: ๊ฒ์ ์ข
๋ฃ ์๊ตฌ์ฌํญ ์ถ๊ฐ
HyoYoonNam 2d7f803
docs: ๊ฒ์ ์ข
๋ฃ ์๊ตฌ์ฌํญ ์ถ๊ฐ
HyoYoonNam 80ec9a5
feat: ์ฌ์ฉ์ ์
๋ ฅ์ ์ํ ์ข
๋ฃ ๊ตฌํ
HyoYoonNam e1599ce
docs: ๋ฐ์ดํฐ๋ฒ ์ด์ค ์๊ตฌ์ฌํญ ์ถ๊ฐ
HyoYoonNam d41253f
temp: DB ์ ์ฅ ๋ฐ ๋ก๋ ๊ตฌํ. ์ปจํธ๋กค๋ฌ ์กฐ๋ฆฝ ํ์.
HyoYoonNam ccd43f0
feat: DB๋ฅผ ํ์ฉํ ๊ฒ์ ์ ์ฅ ๋ฐ ๋ถ๋ฌ์ค๊ธฐ ๊ตฌํ
HyoYoonNam feaf682
build: add mockito dependency
HyoYoonNam 2dc715e
test: ํธ๋์ญ์
์์์ฑ ์ปค๋ฐ/๋กค๋ฐฑ ํ
์คํธ ์ถ๊ฐ
HyoYoonNam ad34015
refactor: ๋ฉ๋ด ์ถ๋ ฅ ์ ๋ฆฌํฐ๋ด ๋์ dto๋ฅผ ์ฌ์ฉ
HyoYoonNam b9dee67
refactor: printBoardWithMovable ํ๋ผ๋ฏธํฐ ๊ตฌ์กฐ ๊ฐ์
HyoYoonNam f65e1a8
refactor: startGame ๋ฉ์๋ ๋ฐ๋์ ํฌ๊ธฐ ๊ฐ์
HyoYoonNam 8666ef8
test: ๋๋ฝํ ๊ถ์ฑ ๋ด ๋๊ฐ์ ์ด๋ ํ
์คํธ ์ถ๊ฐ
HyoYoonNam d76c8c0
refactor: ์คํธ๋ฆผ ์ฌ์ฉ ํ
์คํธ๋ฅผ extracting์ผ๋ก ๋ณ๊ฒฝ
HyoYoonNam 7873002
refactor: loadGameFlow์ ๋ถ๊ธฐ ์ฒ๋ฆฌ ๊ฐ์
HyoYoonNam ffe648d
refactor: ์๋ ๋ฒํธ๋ก loadGame ์๋ ์ ์ฌ์
๋ ฅ ์์ฒญ
HyoYoonNam f034bfb
refactor: ์ซ์ ๋ณํ ์์ธ ์ฒ๋ฆฌ ์ฑ
์์ view์ ์์
HyoYoonNam c2ca9f4
fix: String ์ขํ๊ฐ ํ์ฑ ๊ฒ์ฆ์ ์ถ๊ฐ
HyoYoonNam f11f2ea
refactor: remove unnecessary comments and imports
HyoYoonNam eb66e7f
docs: ์ ์ฅ ์ ๋ฉ์์ง ์๋ฆผ ์๊ตฌ์ฌํญ์ ์ ๊ฑฐ
HyoYoonNam 0f7650a
refactor: ResultSet ์์ try-with-resources๋ก ๋ฐ๋ฉ
HyoYoonNam 07d4cdb
refactor: ๊ธฐ๋ฌผ DB ์ฝ์
์ค๋ณต ์ฝ๋๋ฅผ ์ ๊ฑฐ
HyoYoonNam c4c5002
fix: ํด๋ก ํ DB ๋๋ ํ ๋ฆฌ ๋ถ์ฌ๋ก ์ธํ ์คํ ์ค๋ฅ ํด๊ฒฐ
HyoYoonNam 959c78b
refactor: ๊ฒ์ ์์ฑ ๋ ์ง๋ฅผ LocalDateTime์ผ๋ก ๊ด๋ฆฌ
HyoYoonNam 2ac518a
refactor: Transaction ๊ด๋ฆฌ ์ฑ
์ Service๋ก ๋ณ๊ฒฝ
HyoYoonNam 14107c5
refactor: TransactionTemplate์ผ๋ก ๊ด๋ฆฌ ์ค๋ณต ํด๊ฒฐ
HyoYoonNam fc08aa8
refactor: RuntimeException ๋์ ์ปค์คํ
์์ธ๋ก ๋ณํ
HyoYoonNam eab92a3
refactor: ํจํค์ง ๊ตฌ์กฐ ๋ณ๊ฒฝ
HyoYoonNam 9ce4f8b
refactor: Side.from()์ Enum.valueOf()๋ก ๋์ฒด
HyoYoonNam 965bf39
refactor: ์ง์๋ณ ์ ์ ๊ณ์ฐ ์ฑ
์์ Game์ผ๋ก ์ด๋
HyoYoonNam 20c8105
refactor: ์ง์ ๋ณด๋์ค ์ ์ ์ฑ
์์ ๋ณ๋ ๊ฐ์ฒด๋ก ๋ถ๋ฆฌ
HyoYoonNam 3de9802
refactor: ์ถ๋ ฅ ๊ฐํ ์ถ๊ฐ
HyoYoonNam fc06a76
refactor: Repository์์ SQLException์ ๋ฐ๊ฟ์ ๋์ง๋ค
HyoYoonNam 0ed3a7c
refactor: ๋ถํ์ํ ์ฃผ์ ์ ๊ฑฐ
HyoYoonNam 0f06c98
refactor: ํ
์คํธ ๋
๋ฆฝ์ฑ์ ์ํ clear 1ํ๋ง ํธ์ถ
HyoYoonNam 73d0bc4
refactor: MoveCommand๊ฐ null ๋์ Optional ๋ฆฌํด
HyoYoonNam 2dac0e5
fix: ๋ค๋ฅธ ์ง์ ๊ธฐ๋ฌผ ์ ํ์ ๊ฒ์ ์ข
๋ฃ๋ฌธ์ ํด๊ฒฐ
HyoYoonNam 51993df
refactor: ์ปจํธ๋กค๋ฌ์ ๊ณผ๋ํ ๋ถ๊ธฐ ์ถ์ํ๋ฅผ ์ ๊ฑฐ
HyoYoonNam 4df628e
fix: ์๋น์ค ๊ณ์ธต ํ
์คํธ์ ๋จ์ ๋
๋ฆฝ์ฑ ๋ณด์ฅ
HyoYoonNam 857ddff
refactor: ํธ๋์ญ์
ํ
์คํธ๋ฅผ ํ
ํ๋ฆฟ์ผ๋ก ์ด๋
HyoYoonNam c46d916
refactor: ๊ธฐ๋ฌผ ์ด๋์ ๋ํ ์์์ฑ ์ฆ์ ๋ฐ์
HyoYoonNam 51dcb04
fix: ๋๋ฉ์ธ ๋ก์ง ์์ธ ๋ฐ์ ์ ํธ๋์ญ์
๋กค๋ฐฑ ๋๋ฝ ํด๊ฒฐ
HyoYoonNam 09acb09
refactor: ๊ถ์ฑ ๊ด๋ จ ๋งค์ง๋๋ฒ๋ฅผ ๋ณ๋ ํด๋์ค์ ์์๋ก ๋ถ๋ฆฌ
HyoYoonNam c86894b
refactor: repository ๊ณ์ธต๊ณผ ๋๋ฉ์ธ์ mapper๋ก ์ฐ๊ฒฐ
HyoYoonNam be2a904
refactor: ๊ฒฉ์์ ํ์ฑ ๋งค์ง๋๋ฒ ์์ํ
HyoYoonNam b2ef91b
refactor: GameRule ๋ณด๋์ค ํฌ์ธํธ ์์ํ
HyoYoonNam db2a006
refactor: ๋ฏธ์ฌ์ฉ import ์ ๊ฑฐ
HyoYoonNam eb25725
refactor: ์ขํ ๊ด๋ จ ๋งค์ง๋๋ฒ ์์ํ
HyoYoonNam 1410cab
refactor: DB ์ด๊ธฐํ ์ฑ
์์ ๋ณ๋ ๊ฐ์ฒด๋ก ๋ถ๋ฆฌ
HyoYoonNam 43dcc80
refactor: LoadCommand์ ์ ๊ฒ์ ๊ฐ ์์ํ
HyoYoonNam 9328d22
refactor: IntegrationTestSupport ํจํค์ง ๋ณ๊ฒฝ
HyoYoonNam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| CREATE TABLE IF NOT EXISTS game ( | ||
| game_id INTEGER PRIMARY KEY AUTOINCREMENT, | ||
| current_turn VARCHAR(10) NOT NULL, | ||
| created_at DATETIME DEFAULT (CURRENT_TIMESTAMP) | ||
| ); | ||
|
|
||
| CREATE TABLE IF NOT EXISTS piece ( | ||
| game_id INTEGER NOT NULL, | ||
| position_row INTEGER, | ||
| position_file INTEGER, | ||
| side VARCHAR(10) NOT NULL, | ||
| piece_type VARCHAR(10) NOT NULL, | ||
| FOREIGN KEY (game_id) REFERENCES game(game_id), | ||
| PRIMARY KEY (game_id, position_row, position_file) | ||
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.