forked from IF-LK-2020/wordle
Compare commits
No commits in common. "b84ff5459e07de03854913187eeb1cca8adb0865" and "dd3713bda119e940aa01dc11c59d3fcde02c3069" have entirely different histories.
b84ff5459e
...
dd3713bda1
|
@ -26,6 +26,3 @@ hs_err_pid*
|
|||
|
||||
# Engine-Alpha files
|
||||
engine-alpha.log
|
||||
.classpath
|
||||
.project
|
||||
/bin/
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
public class Game {
|
||||
// Instanzvariablen - ersetzen Sie das folgende Beispiel mit Ihren Variablen
|
||||
WordleServer wordleServer;
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
/**
|
||||
* Server für das WORDLE Spiel.
|
||||
*/
|
|
@ -5,38 +5,40 @@ dependency1.type=UsesDependency
|
|||
dependency2.from=DatabaseConnector
|
||||
dependency2.to=Queue
|
||||
dependency2.type=UsesDependency
|
||||
dependency3.from=Game
|
||||
dependency3.to=WordleServer
|
||||
dependency3.from=Server
|
||||
dependency3.to=List
|
||||
dependency3.type=UsesDependency
|
||||
dependency4.from=Game
|
||||
dependency4.to=User
|
||||
dependency4.from=WordleServer
|
||||
dependency4.to=DatabaseConnector
|
||||
dependency4.type=UsesDependency
|
||||
dependency5.from=Game
|
||||
dependency5.to=GUI
|
||||
dependency5.to=WordleServer
|
||||
dependency5.type=UsesDependency
|
||||
dependency6.from=Game
|
||||
dependency6.to=DatabaseConnector
|
||||
dependency6.to=User
|
||||
dependency6.type=UsesDependency
|
||||
dependency7.from=Server
|
||||
dependency7.to=List
|
||||
dependency7.from=Game
|
||||
dependency7.to=DatabaseConnector
|
||||
dependency7.type=UsesDependency
|
||||
dependency8.from=WordleServer
|
||||
dependency8.to=DatabaseConnector
|
||||
dependency8.type=UsesDependency
|
||||
objectbench.height=192
|
||||
objectbench.width=2536
|
||||
editor.fx.0.height=1017
|
||||
editor.fx.0.width=854
|
||||
editor.fx.0.x=-7
|
||||
editor.fx.0.y=0
|
||||
objectbench.height=96
|
||||
objectbench.width=1201
|
||||
package.divider.horizontal=0.6
|
||||
package.divider.vertical=0.8477429227237949
|
||||
package.editor.height=1101
|
||||
package.editor.width=2446
|
||||
package.editor.x=0
|
||||
package.editor.y=0
|
||||
package.frame.height=1407
|
||||
package.frame.width=2576
|
||||
package.numDependencies=8
|
||||
package.divider.vertical=0.8476331360946746
|
||||
package.editor.height=553
|
||||
package.editor.width=1090
|
||||
package.editor.x=39
|
||||
package.editor.y=24
|
||||
package.frame.height=776
|
||||
package.frame.width=1241
|
||||
package.numDependencies=7
|
||||
package.numTargets=9
|
||||
package.showExtends=true
|
||||
package.showUses=true
|
||||
project.charset=UTF-8
|
||||
readme.height=60
|
||||
readme.name=@README
|
||||
readme.width=49
|
||||
|
@ -47,61 +49,61 @@ target1.name=DatabaseConnector
|
|||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=150
|
||||
target1.x=80
|
||||
target1.y=180
|
||||
target1.x=370
|
||||
target1.y=20
|
||||
target2.height=70
|
||||
target2.name=QueryResult
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=120
|
||||
target2.x=730
|
||||
target2.y=180
|
||||
target2.x=110
|
||||
target2.y=80
|
||||
target3.height=70
|
||||
target3.name=Game
|
||||
target3.showInterface=false
|
||||
target3.type=ClassTarget
|
||||
target3.width=120
|
||||
target3.x=300
|
||||
target3.y=380
|
||||
target3.x=960
|
||||
target3.y=30
|
||||
target4.height=70
|
||||
target4.name=User
|
||||
target4.showInterface=false
|
||||
target4.type=ClassTarget
|
||||
target4.width=120
|
||||
target4.x=1000
|
||||
target4.y=180
|
||||
target4.x=770
|
||||
target4.y=50
|
||||
target5.height=70
|
||||
target5.name=Server
|
||||
target5.showInterface=false
|
||||
target5.type=AbstractTarget
|
||||
target5.width=120
|
||||
target5.x=490
|
||||
target5.y=280
|
||||
target5.x=770
|
||||
target5.y=300
|
||||
target6.height=70
|
||||
target6.name=WordleServer
|
||||
target6.showInterface=false
|
||||
target6.type=ClassTarget
|
||||
target6.width=120
|
||||
target6.x=720
|
||||
target6.y=480
|
||||
target6.x=540
|
||||
target6.y=210
|
||||
target7.height=70
|
||||
target7.name=GUI
|
||||
target7.showInterface=false
|
||||
target7.type=ClassTarget
|
||||
target7.width=120
|
||||
target7.x=660
|
||||
target7.y=710
|
||||
target7.x=630
|
||||
target7.y=80
|
||||
target8.height=70
|
||||
target8.name=List
|
||||
target8.showInterface=false
|
||||
target8.type=ClassTarget
|
||||
target8.width=150
|
||||
target8.x=980
|
||||
target8.x=390
|
||||
target8.y=380
|
||||
target9.height=70
|
||||
target9.height=60
|
||||
target9.name=Queue
|
||||
target9.showInterface=false
|
||||
target9.type=ClassTarget
|
||||
target9.width=160
|
||||
target9.x=330
|
||||
target9.y=530
|
||||
target9.x=80
|
||||
target9.y=380
|
|
@ -1,26 +0,0 @@
|
|||
public class Letter {
|
||||
|
||||
public static byte WHITE = -1;
|
||||
public static byte GRAY = 0;
|
||||
public static byte YELLOW = 1;
|
||||
public static byte GREEN = 2;
|
||||
|
||||
private char letter;
|
||||
private byte color;
|
||||
|
||||
public void setColor(byte color) {
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
public byte getColor() {
|
||||
return color;
|
||||
}
|
||||
|
||||
public void setLetter(char letter) {
|
||||
this.letter = letter;
|
||||
}
|
||||
|
||||
public char getLetter() {
|
||||
return letter;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue