plopezgit / Sprint5_T1_SpringBoot_Dice_Roller_Microservices

Dice Roller microservice proposal.
5 stars 0 forks source link

use a builder method call to create a new game and make diceroller and result calculation an auxiliar method #39

Closed plopezgit closed 7 months ago

plopezgit commented 7 months ago
  1. review methods and entities envolved (closely related with this old goal: #26 )
  2. creates aux method and use it
  3. test it
  4. merge it
plopezgit commented 7 months ago

this is now the aspect of the game service createGameBy method:

    public void createGameBy(int playerId) {
        gameRepository.save(getGameEntityFromDTO(getTheDiceRolledBy(playerId)));
    }
plopezgit commented 7 months ago

testing

plopezgit commented 7 months ago

manual test passed