The Quarkus project moves to apps/backend and the Express sources go. The image is built from the repo root as before, with Temurin 25, and runs as a non-root user on port 6000. Compose passes the database as a JDBC URL with the same MANCALA_DB_PASSWORD.
11 lines
285 B
Java
11 lines
285 B
Java
package app.playmancala.engine;
|
|
|
|
public class CommonBoard extends Board {
|
|
private static final int PIT_COUNT_BY_USER = 6;
|
|
private static final int INITIAL_STONE_COUNT_IN_PIT = 4;
|
|
|
|
public CommonBoard() {
|
|
super(PIT_COUNT_BY_USER, INITIAL_STONE_COUNT_IN_PIT);
|
|
}
|
|
}
|