Skip to content
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

Feat: Added the Start Game API with the GAAS #127

Merged
merged 10 commits into from
Mar 22, 2024

Conversation

KazeNoYumeX
Copy link
Collaborator

Why need this change? / Root cause:

This change is required to integrate the game with the GAAS, and the change is related to several issues, including #119 , #120 , and #121

Changes made:

  • Added the necessary fields to create a game and added the deck_cards table.
  • Applied gorm.Model to the struct in the Repository, and remove duplicate fields.
  • Added environment variables to append the game registration info and start the game URL of the GAAS.
  • Added start game API to the GAAS.
  • Added create game player count validation.
  • Added end-to-end test for creating game.
  • Regularly upgraded dependency packages.
  • Removed the game ID that is no longer needed from GetPlayerCards.
  • Added game seeder.
  • Removed the game ID that is no longer needed from PlayCard and TransmitIntelligence.

Test Scope / Change impact:

The test scope includes unit tests for the new fields and methods added, as well as end-to-end tests for the new game creation process. The impact of these changes is significant as it affects the entire game mechanism. However, these changes are necessary for the integration with the GAAS platform.

@KazeNoYumeX KazeNoYumeX self-assigned this Mar 21, 2024
@KazeNoYumeX KazeNoYumeX force-pushed the feature/add-start-game branch from 1e928d8 to deb0400 Compare March 21, 2024 09:25
@KazeNoYumeX KazeNoYumeX force-pushed the feature/add-start-game branch from deb0400 to ed1009b Compare March 21, 2024 09:26
@KazeNoYumeX KazeNoYumeX merged commit d7accdd into Game-as-a-Service:dev Mar 22, 2024
3 checks passed
@KazeNoYumeX KazeNoYumeX deleted the feature/add-start-game branch March 22, 2024 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant