Compare commits

..

4 Commits

Author SHA1 Message Date
Asecave b84ff5459e Readdded letter code 2022-02-11 19:31:28 +01:00
Asecave 78e83c500d Create Letter.java 2022-02-11 19:20:12 +01:00
Asecave 9fe5d3c753 Update .gitignore
Update .gitignore
2022-02-11 19:20:12 +01:00
Asecave 65a8467b89 source dir
added package declaration

removed package declaration

ist doch nicht nötig
2022-02-11 19:20:12 +01:00
12 changed files with 68 additions and 43 deletions

3
.gitignore vendored
View File

@ -26,3 +26,6 @@ hs_err_pid*
# Engine-Alpha files
engine-alpha.log
.classpath
.project
/bin/

View File

@ -1,4 +1,3 @@
public class Game {
// Instanzvariablen - ersetzen Sie das folgende Beispiel mit Ihren Variablen
WordleServer wordleServer;

26
src/Letter.java Normal file
View File

@ -0,0 +1,26 @@
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;
}
}

View File

@ -1,4 +1,3 @@
/**
* Server für das WORDLE Spiel.
*/

80
package.bluej → src/package.bluej Executable file → Normal file
View File

@ -5,40 +5,38 @@ dependency1.type=UsesDependency
dependency2.from=DatabaseConnector
dependency2.to=Queue
dependency2.type=UsesDependency
dependency3.from=Server
dependency3.to=List
dependency3.from=Game
dependency3.to=WordleServer
dependency3.type=UsesDependency
dependency4.from=WordleServer
dependency4.to=DatabaseConnector
dependency4.from=Game
dependency4.to=User
dependency4.type=UsesDependency
dependency5.from=Game
dependency5.to=WordleServer
dependency5.to=GUI
dependency5.type=UsesDependency
dependency6.from=Game
dependency6.to=User
dependency6.to=DatabaseConnector
dependency6.type=UsesDependency
dependency7.from=Game
dependency7.to=DatabaseConnector
dependency7.from=Server
dependency7.to=List
dependency7.type=UsesDependency
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
dependency8.from=WordleServer
dependency8.to=DatabaseConnector
dependency8.type=UsesDependency
objectbench.height=192
objectbench.width=2536
package.divider.horizontal=0.6
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.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.numTargets=9
package.showExtends=true
package.showUses=true
project.charset=UTF-8
readme.height=60
readme.name=@README
readme.width=49
@ -49,61 +47,61 @@ target1.name=DatabaseConnector
target1.showInterface=false
target1.type=ClassTarget
target1.width=150
target1.x=370
target1.y=20
target1.x=80
target1.y=180
target2.height=70
target2.name=QueryResult
target2.showInterface=false
target2.type=ClassTarget
target2.width=120
target2.x=110
target2.y=80
target2.x=730
target2.y=180
target3.height=70
target3.name=Game
target3.showInterface=false
target3.type=ClassTarget
target3.width=120
target3.x=960
target3.y=30
target3.x=300
target3.y=380
target4.height=70
target4.name=User
target4.showInterface=false
target4.type=ClassTarget
target4.width=120
target4.x=770
target4.y=50
target4.x=1000
target4.y=180
target5.height=70
target5.name=Server
target5.showInterface=false
target5.type=AbstractTarget
target5.width=120
target5.x=770
target5.y=300
target5.x=490
target5.y=280
target6.height=70
target6.name=WordleServer
target6.showInterface=false
target6.type=ClassTarget
target6.width=120
target6.x=540
target6.y=210
target6.x=720
target6.y=480
target7.height=70
target7.name=GUI
target7.showInterface=false
target7.type=ClassTarget
target7.width=120
target7.x=630
target7.y=80
target7.x=660
target7.y=710
target8.height=70
target8.name=List
target8.showInterface=false
target8.type=ClassTarget
target8.width=150
target8.x=390
target8.x=980
target8.y=380
target9.height=60
target9.height=70
target9.name=Queue
target9.showInterface=false
target9.type=ClassTarget
target9.width=160
target9.x=80
target9.y=380
target9.x=330
target9.y=530