Compare commits

..

No commits in common. "94c756095eb9d3e30c8bdf9919159a6bc6b266b4" and "65fc197afd09512a7b5e6d28c62d0349b96fd1b6" have entirely different histories.

1 changed files with 0 additions and 26 deletions

View File

@ -1,26 +0,0 @@
package src;
import java.util.ArrayList;
import java.util.List;
public class GameModel {
private List<Player> players;
private List<Die> dice;
private Scoreboard scoreboard;
public GameModel() {
players = new ArrayList<>();
dice = new ArrayList<>();
scoreboard = new Scoreboard();
// Initialize dice
for (int i = 0; i < 5; i++) {
dice.add(new Die(8)); // Up to 8 faces for Star Wars edition
}
}
public void rollDice() {
dice.forEach(Die::roll);
}
// Add other methods to manipulate the game state
}