Skip to content

Commit

Permalink
Merge pull request #120 from FreakPeople/hotfix/#119-gameenginethread…
Browse files Browse the repository at this point in the history
…pool을-gameplaythreadpool로-이름-변경

fix: GameEngineThreadPool을 GamePlayThreadPool로 이름 변경
  • Loading branch information
youjungHwang authored Sep 29, 2024
2 parents 6ae8d61 + 5d534c9 commit f516c34
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<img src = "https://github.com/user-attachments/assets/b9fb33d8-d512-4818-a344-780cc0405efb" width="75%">

<h3>컴퓨터 공학 퀴즈 웹 애플리케이션 프로젝트 입니다.</h3>
<a href='https://topaz-raincoat-203.notion.site/CStar-febbaabc63204da28f4beb91346c1814'>📒 팀 노션</a> |

<a href='https://topaz-raincoat-203.notion.site/CStar-febbaabc63204da28f4beb91346c1814'>📒 팀 노션</a> |
<a href='https://github.com/FreakPeople/freak-CStar-frontend'>🎨 프론트엔드 레포지토리</a> |
<a href='https://github.com/FreakPeople/freak-CStar-backend/pulls?page=2&q=is%3Apr+is%3Aclosed'>🎨 이슈 & PR 관리</a>
</div>
Expand Down Expand Up @@ -44,7 +44,7 @@ main...
│ ├── category
│ ├── common
│ ├── config
│ ├── engine
│ ├── play
│ ├── game
│ ├── application
│ ├── domain
Expand All @@ -54,33 +54,33 @@ main...
│ ├── quiz
│ ├── room
│ ├── util
│ ├── websocket
│ │
│ ├── chat
│ │
│ ├── CstarApplication.kt
test...
├── devtoon
├── engine
├── cstar
├── play
├── game
├── jpa
├── member
├── quiz
├── redis
├── room
├── websocket
├── chat
├── IntegrationTest.kt
```
### main
- auth : 인증 도메인을 구현한다
- category : 퀴즈의 카테고리 도메인을 구현한다
- common : 모든 도메인에서 공통적으로 사용하는 기능(공통 예외, 공통 응답, 예외 핸들러 등)을 포함한다
- config : 설정 파일을 정의한다
- engine : 실시간 게임 로직을 구현한다
- play : 실시간 게임 로직을 구현한다
- member : 회원 도메인을 구현한다
- quiz : 퀴즈 도메인을 구현한다
- room : 게임방 도메인을 구현한다
- util : 공통 유틸 클래스를 정의한다(redis util)
- websocket : 웹소켓 핸들러 및 Stomp Message 컨트롤러를 정의한다
- chat : 웹소켓 핸들러 및 Stomp Message 컨트롤러를 정의한다

### test
- 도메인별로 테스트가 정의되어 있다
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/yjh/cstar/common/BaseErrorCode.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import yjh.cstar.room.domain.Validator.Companion.MIN_CAPACITY
* 20 ~ 29 : Quiz 도메인
* 30 ~ 39 : Game 도메인
* 40 ~ 49 : Play 도메인
* 50 ~ 59 : Websocket 도메인
* 50 ~ 59 : Chat 도메인
*/
enum class BaseErrorCode(
val httpStatus: HttpStatus,
Expand Down Expand Up @@ -53,5 +53,5 @@ enum class BaseErrorCode(

// Game
// Play
// Websocket
// Chat
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class GamePlayService(
private val quizGameService: QuizGameService,
) {

@Async("GameEngineThreadPool")
@Async("GamePlayThreadPool")
fun start(players: Map<Long, String>, quizzes: List<QuizDto>, roomId: Long, categoryId: Long) {
Logger.info("[INFO] 게임 엔진 스레드 시작 - roomId : $roomId")

Expand Down

0 comments on commit f516c34

Please sign in to comment.