-
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.
Backend/Enhancement/Changes-and-requests-given-by-teams (#630)
- Loading branch information
Showing
16 changed files
with
200 additions
and
84 deletions.
There are no files selected for viewing
56 changes: 31 additions & 25 deletions
56
app/backend/src/main/kotlin/com/gamelounge/backend/constant/Enumerations.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 |
---|---|---|
@@ -1,46 +1,52 @@ | ||
package com.gamelounge.backend.constant | ||
|
||
enum class GameGenre { | ||
RPG, | ||
STRATEGY, | ||
SHOOTER, | ||
SPORTS_AND_RACING, | ||
FIGHTING, | ||
RGP, | ||
Strategy, | ||
Shooter, | ||
Sports, | ||
Fighting, | ||
MOBA, | ||
EMPTY | ||
Action, | ||
Adventure, | ||
Simulation, | ||
Horror, | ||
Empty | ||
} | ||
|
||
enum class GamePlatform { | ||
XBOX, | ||
COMPUTER, | ||
Computer, | ||
PS, // PlayStation | ||
ONBOARD, | ||
EMPTY | ||
Onboard, | ||
Mobile, | ||
Empty | ||
} | ||
|
||
enum class NumberOfPlayers { | ||
SINGLE, | ||
TEAMS, | ||
MULTIPLE, | ||
Single, | ||
Teams, | ||
Multiplayer, | ||
MMO, // Massively Multiplayer Online | ||
EMPTY | ||
Empty | ||
} | ||
|
||
enum class UniverseInfo { | ||
MEDIEVAL, | ||
FANTASY, | ||
SCIFI, | ||
CYBERPUNK, | ||
HISTORICAL, | ||
CONTEMPORARY, | ||
POST_APOCALYPTIC, | ||
ALTERNATE_REALITY, | ||
EMPTY | ||
Medieval, | ||
Fantasy, | ||
SciFi, | ||
Cyberpunk, | ||
Historical, | ||
Contemporary, | ||
PostApocalyptic, | ||
AlternateReality, | ||
Empty | ||
} | ||
|
||
enum class GameMechanics { | ||
TURN_BASED, | ||
CHANCE_BASED, | ||
EMPTY | ||
TurnBased, | ||
ChangeBased, | ||
RealTime, | ||
Empty | ||
// Add more mechanics as needed | ||
} |
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
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
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
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
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
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
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
7 changes: 7 additions & 0 deletions
7
app/backend/src/main/kotlin/com/gamelounge/backend/model/DTO/UserGameRatingDTO.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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
package com.gamelounge.backend.model.DTO | ||
|
||
class UserGameRatingDTO ( | ||
var user: UserDTO, | ||
var game: GameDTO, | ||
var rating: Int | ||
) | ||
|
||
data class UserGameRatingDTO( | ||
var gameDTO: GameDTO, | ||
var score: Int | ||
) | ||
|
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
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
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
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.