diff --git a/src/main/java/com/ntlab/irisserver/entities/Game.java b/src/main/java/com/ntlab/irisserver/entities/Game.java index aaa6c38..f7903ef 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Game.java +++ b/src/main/java/com/ntlab/irisserver/entities/Game.java @@ -79,9 +79,14 @@ c.setDno(map.get(i)); //今回のゲームで使用するキーワードを追加 + //keywordList.put(i, randKeys.get(i));//(dno, キーワード) + } + int drawNum = 16; + if(16%memberList.size()!=0) drawNum = (num+1)*memberList.size(); + + for(int i=0; i getKeywords() { +// List keywords = new ArrayList<>(); +// for(int i=0; i<16; i++){ +// keywords.add(keywordList.get(map.get(i))); +// } +// return keywords; +// } + public List getKeywords() { List keywords = new ArrayList<>(); - for(int i=0; i<16; i++){ - keywords.add(keywordList.get(map.get(i))); + for(List dnoList: assignments.values()){ + for(int i=0; i