-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
171 additions
and
161 deletions.
There are no files selected for viewing
5 changes: 0 additions & 5 deletions
5
car-racing/src/main/kotlin/io/github/gunkim/application/Application.kt
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
car-racing/src/main/kotlin/io/github/gunkim/application/io/Input.kt
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
car-racing/src/main/kotlin/io/github/gunkim/carracing/Application.kt
This file contains 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,5 @@ | ||
package io.github.gunkim.carracing | ||
|
||
import io.github.gunkim.carracing.application.racing.CarRacingGame | ||
|
||
fun main() = CarRacingGame.default().run() |
8 changes: 8 additions & 0 deletions
8
car-racing/src/main/kotlin/io/github/gunkim/carracing/application/io/Input.kt
This file contains 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,8 @@ | ||
package io.github.gunkim.carracing.application.io | ||
|
||
import io.github.gunkim.carracing.domain.car.Cars | ||
|
||
interface Input { | ||
val cars: Cars | ||
val maxRound: Int | ||
} |
4 changes: 2 additions & 2 deletions
4
...io/github/gunkim/application/io/Output.kt → ...gunkim/carracing/application/io/Output.kt
This file contains 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
10 changes: 5 additions & 5 deletions
10
...im/application/io/console/ConsoleInput.kt → ...ng/application/io/console/ConsoleInput.kt
This file contains 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
8 changes: 4 additions & 4 deletions
8
...m/application/io/console/ConsoleOutput.kt → ...g/application/io/console/ConsoleOutput.kt
This file contains 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
22 changes: 11 additions & 11 deletions
22
...unkim/application/racing/CarRacingGame.kt → ...acing/application/racing/CarRacingGame.kt
This file contains 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
6 changes: 3 additions & 3 deletions
6
...kotlin/io/github/gunkim/domain/car/Car.kt → ...github/gunkim/carracing/domain/car/Car.kt
This file contains 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
8 changes: 4 additions & 4 deletions
8
.../github/gunkim/domain/car/CarRaceTrack.kt → ...nkim/carracing/domain/car/CarRaceTrack.kt
This file contains 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
4 changes: 2 additions & 2 deletions
4
...otlin/io/github/gunkim/domain/car/Cars.kt → ...ithub/gunkim/carracing/domain/car/Cars.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...lin/io/github/gunkim/domain/car/vo/Lab.kt → ...hub/gunkim/carracing/domain/car/vo/Lab.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...in/io/github/gunkim/domain/car/vo/Name.kt → ...ub/gunkim/carracing/domain/car/vo/Name.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...o/github/gunkim/domain/car/vo/Position.kt → ...unkim/carracing/domain/car/vo/Position.kt
This file contains 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
6 changes: 3 additions & 3 deletions
6
...kim/domain/policy/MaxScoreWinnerPolicy.kt → ...ing/domain/policy/MaxScoreWinnerPolicy.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...github/gunkim/domain/policy/MovePolicy.kt → ...kim/carracing/domain/policy/MovePolicy.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
.../gunkim/domain/policy/RandomMovePolicy.kt → ...rracing/domain/policy/RandomMovePolicy.kt
This file contains 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
8 changes: 8 additions & 0 deletions
8
car-racing/src/main/kotlin/io/github/gunkim/carracing/domain/policy/WinnerPolicy.kt
This file contains 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,8 @@ | ||
package io.github.gunkim.carracing.domain.policy | ||
|
||
import io.github.gunkim.carracing.domain.car.Car | ||
import io.github.gunkim.carracing.domain.car.Cars | ||
|
||
fun interface WinnerPolicy { | ||
fun winner(cars: List<Car>): Cars | ||
} |
8 changes: 0 additions & 8 deletions
8
car-racing/src/main/kotlin/io/github/gunkim/domain/policy/WinnerPolicy.kt
This file was deleted.
Oops, something went wrong.
7 changes: 4 additions & 3 deletions
7
...n/io/github/gunkim/domain/car/CarTests.kt → ...b/gunkim/carracing/domain/car/CarTests.kt
This file contains 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
8 changes: 5 additions & 3 deletions
8
.../io/github/gunkim/domain/car/CarsTests.kt → .../gunkim/carracing/domain/car/CarsTests.kt
This file contains 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
3 changes: 2 additions & 1 deletion
3
...o/github/gunkim/domain/car/vo/LabTests.kt → ...unkim/carracing/domain/car/vo/LabTests.kt
This file contains 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
3 changes: 2 additions & 1 deletion
3
...o/github/gunkim/domain/car/vo/NameTest.kt → ...unkim/carracing/domain/car/vo/NameTest.kt
This file contains 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
3 changes: 2 additions & 1 deletion
3
...thub/gunkim/domain/car/vo/PositionTest.kt → ...m/carracing/domain/car/vo/PositionTest.kt
This file contains 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
11 changes: 6 additions & 5 deletions
11
...omain/policy/MaxScoreWinnerPolicyTests.kt → ...omain/policy/MaxScoreWinnerPolicyTests.kt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...in/java/io/github/gunkim/MyArrayList.java → ...unkim/datastructure/list/MyArrayList.java
This file contains 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.github.gunkim; | ||
package io.github.gunkim.datastructure.list; | ||
|
||
import java.util.*; | ||
|
||
|
9 changes: 4 additions & 5 deletions
9
...in/java/io/github/gunkim/engine/Main.java → ...ithub/gunkim/datasystems/engine/Main.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
...va/io/github/gunkim/engine/StopWatch.java → .../gunkim/datasystems/engine/StopWatch.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
...github/gunkim/engine/storage/Storage.java → ...m/datasystems/engine/storage/Storage.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
...gunkim/engine/storage/StorageFactory.java → ...ystems/engine/storage/StorageFactory.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
...rage/exception/BackupFailedException.java → ...rage/exception/BackupFailedException.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
.../exception/CompactionFailedException.java → .../exception/CompactionFailedException.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
...orage/exception/StorageReadException.java → ...orage/exception/StorageReadException.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
...rage/exception/StorageWriteException.java → ...rage/exception/StorageWriteException.java
This file contains 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
4 changes: 2 additions & 2 deletions
4
...im/engine/storage/hash/BackupManager.java → ...ms/engine/storage/hash/BackupManager.java
This file contains 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
12 changes: 6 additions & 6 deletions
12
...engine/storage/hash/HashIndexStorage.java → ...engine/storage/hash/HashIndexStorage.java
This file contains 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
6 changes: 3 additions & 3 deletions
6
...storage/hash/HashIndexStorageFactory.java → ...storage/hash/HashIndexStorageFactory.java
This file contains 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
4 changes: 2 additions & 2 deletions
4
.../gunkim/engine/storage/lsm/Compation.java → ...systems/engine/storage/lsm/Compation.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
...im/engine/storage/lsm/CompationLevel.java → ...ms/engine/storage/lsm/CompationLevel.java
This file contains 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
8 changes: 4 additions & 4 deletions
8
.../engine/storage/lsm/FileSystemAccess.java → .../engine/storage/lsm/FileSystemAccess.java
This file contains 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
2 changes: 1 addition & 1 deletion
2
...unkim/engine/storage/lsm/IOOperation.java → ...stems/engine/storage/lsm/IOOperation.java
This file contains 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
4 changes: 2 additions & 2 deletions
4
...im/engine/storage/lsm/LsmTreeStorage.java → ...ms/engine/storage/lsm/LsmTreeStorage.java
This file contains 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.