|
@ -1,5 +1,6 @@ |
|
|
package de.fd.fh.server.game; |
|
|
package de.fd.fh.server.game; |
|
|
|
|
|
|
|
|
|
|
|
import de.fd.fh.server.user.UserId; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
|
|
|
|
|
@RequiredArgsConstructor |
|
|
@RequiredArgsConstructor |
|
@ -11,4 +12,9 @@ public class GameService |
|
|
{ |
|
|
{ |
|
|
return (GameId) repository.save(game).getId(); |
|
|
return (GameId) repository.save(game).getId(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public GameId createGame(final UserId blackUser, final UserId whiteUser) |
|
|
|
|
|
{ |
|
|
|
|
|
return null; |
|
|
|
|
|
} |
|
|
} |
|
|
} |