Seraina
d71da4cf0c
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/lounge/LoungeSceneViewController.java
2022-05-13 12:40:36 +02:00
Seraina
737520d5c7
animated background for the day
2022-05-13 12:37:15 +02:00
Seraina
4262fb64dd
made buttons for voting only available when appropriate by chancing their visibility, the client always thinks its a human though, that needs fixing
2022-05-12 21:10:05 +02:00
Seraina
4079561f7e
Added the gameView so to the TrainAnimationViewDay but the whole thing is currently in front of all the lobby elements, because the boarder pane is in the way TODO: find a way to make boarderPane truly transparent
2022-05-12 14:58:40 +02:00
Seraina
19ddf70e72
Now in the Game the vote Buttons are transparent and the Rooms move up and down when hovering over a room
2022-05-12 12:56:49 +02:00
Seraina
7968523469
Added the Train as a Background to LobbyView and animated the wheels - still a bit wonky but it does work
2022-05-12 10:15:07 +02:00
Seraina
e52c21ebb0
Moved sprites so they would be easily reached by the gui
2022-05-03 15:09:31 +02:00
Seraina
2f2aa3e224
Added some documentation
2022-05-02 06:54:55 +02:00
Seraina
34127102da
Merge remote-tracking branch 'origin/master'
2022-05-01 22:05:14 +02:00
Seraina
4ba87a91a3
Added some documentation where it was appropriate.
...
Positively knackered - what ever happens: I'm out for the Day
2022-05-01 22:04:41 +02:00
Seraina Schöb
26b9243df2
Merge branch 'Application' into 'master'
...
In Client: added 3 new methods
See merge request cs108-fs22/Gruppe-8!8
2022-05-01 19:30:20 +00:00
Seraina
b0b2984968
Changed a line to correct a noise Notification issue
2022-05-01 21:29:11 +02:00
Seraina Schöb
470969cc30
Update Diary.txt
2022-05-01 19:28:48 +00:00
Seraina
8ee8cd6e4d
Adjusted Documentation so javadoc would build
2022-05-01 21:02:09 +02:00
Seraina
a655df2e41
Added a way to list HighScore and added very simple textFlow view for LobbyDisplay, in case ListView wont work till tomorrow
2022-05-01 20:34:59 +02:00
Seraina
68d84b9493
Ensured that noise notifications can only come from non kickedOff passenegers
2022-05-01 19:44:10 +02:00
Seraina
c9f0654eef
Implemented highScore functionality into Gui
2022-05-01 18:28:12 +02:00
Seraina
87e465099a
Merge remote-tracking branch 'origin/Application' into Application
...
# Conflicts:
# src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/lounge/LoungeSceneViewController.java
2022-05-01 15:56:49 +02:00
Seraina
317968e368
Added static field to retain ListView reference
2022-05-01 15:55:20 +02:00
Seraina
39c0d4e52f
Merge remote-tracking branch 'origin/Application' into Application
2022-05-01 15:28:53 +02:00
Seraina
2907f95b4e
Added a s*t tone of Logger statements to find why LobbyListView is null
2022-05-01 15:28:15 +02:00
Seraina
79528e4efc
Merge remote-tracking branch 'origin/Application' into Application
...
# Conflicts:
# src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/lounge/LoungeSceneViewController.java
2022-05-01 14:46:27 +02:00
Seraina
f16d87f8d3
Added the chat to the lobby view, isnt resizable yet but works just fine
2022-05-01 14:42:10 +02:00
Seraina
f0f4f9142e
Now the Game appears when a game is started and disapears again when it is over
2022-05-01 13:11:17 +02:00
Seraina
1b30cd6435
Added game view to lounge viwe via anchor pane, currently there is a dedicated button for starting a game, might need to be removed later
2022-05-01 12:41:59 +02:00
Seraina
505577817e
Made loungeView a sensible size and added a button and made it at the moment the main scene
2022-05-01 10:46:58 +02:00
Seraina
3f88831466
Merge remote-tracking branch 'origin/Application' into Application
2022-05-01 09:46:54 +02:00
Seraina
a8fa462949
Fixed some wonky bugs, and added minimum vote time of 5 seconds to calm the game down a litte
2022-05-01 09:46:29 +02:00
Seraina
17fc986c50
Merge remote-tracking branch 'origin/Application' into Application
...
# Conflicts:
# src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/Client.java
# src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/helpers/GuiParameters.java
2022-05-01 03:08:16 +02:00
Seraina
27c31967e5
The game is now playable wia the game gui, there are still some quirks to work out, especially timing wise and with the POSOF network message
2022-05-01 03:05:32 +02:00
Seraina
f4ccb6894a
Had to change some things around, now notificationText and the bell pop up works, as well as voting and noise notification
2022-05-01 00:24:52 +02:00
Seraina
c066763f97
Merge remote-tracking branch 'origin/master'
2022-04-30 18:49:08 +02:00
Seraina
48df7cf950
Readded some variables that were deleted
2022-04-30 18:48:36 +02:00
Seraina
2996f7aca7
Merge remote-tracking branch 'origin/master'
2022-04-30 16:59:29 +02:00
Seraina
044d0b362c
Something left over from my merge
2022-04-30 16:59:18 +02:00
Seraina Schöb
71ed59b571
Merge branch 'GUI_MilestoneIV' into 'master'
...
Started implementing the gui for milestone IV
See merge request cs108-fs22/Gruppe-8!7
2022-04-30 14:58:25 +00:00
Seraina Schöb
99a794f5ee
Merge branch 'master' into 'GUI_MilestoneIV'
...
# Conflicts:
# src/main/java/ch/unibas/dmi/dbis/cs108/gamelogic/VoteHandler.java
# src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/GameStateModel.java
# src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/game/GameController.java
2022-04-30 14:58:21 +00:00
Seraina
dcdf902b3f
Merge remote-tracking branch 'origin/master'
2022-04-30 16:52:19 +02:00
Seraina
7109ed113f
Commits maybe need to be added to merge with GUI_MilestoneIV is possible
2022-04-30 16:52:04 +02:00
Seraina
97194d0157
Adde a s**t tone of try-catch blocks in case gui hasnt been initialized yet
2022-04-30 16:31:38 +02:00
Seraina
3aca60d8ee
Added view change printToGui parameter for Start, Lobby and Game
2022-04-30 15:54:16 +02:00
Seraina
1246c8e4ea
increaseed gameStateUpdate intervall
2022-04-30 15:32:51 +02:00
Seraina
227cfdbedd
Added an option do delete message in notificationText in GameController again
2022-04-30 15:30:03 +02:00
Seraina
421074a59b
Implemented a thread in Game, that constantly sends out gameState updates to all clients while the game is ongoing
2022-04-30 15:19:20 +02:00
Seraina
460f4fb9ea
Added two methods to ClientHandler that send messages to multiple lobbies, this is needed for the gui interaction with multiple clients
2022-04-30 14:36:47 +02:00
Seraina
fb730006f8
Added some todo's to not lose the overview
2022-04-30 13:17:53 +02:00
Seraina
a6e412f552
Wrapped printToGUI method contents in try-catch block, in case the fx components haven't been initialized yet
2022-04-30 13:16:05 +02:00
Seraina
1fd1cb6033
Added to unversioned files to git, that are relevant for functionality
2022-04-30 12:56:42 +02:00
Seraina
30aab3768d
Implemented communication between Server and Client to display a notification if someone else heard a noise
2022-04-29 21:27:32 +02:00
Seraina
d963c35965
Added ImageViews for noise Bell
2022-04-29 20:56:04 +02:00
Seraina
c5293bc8ee
Implemented the gameState Update parameter of the the printToGUI message in client, with its needed methods
2022-04-29 18:56:15 +02:00
Seraina
f058eabb75
Cherry-picked my own commit from master, because I messed up the branch creation, recommitting it on this one
2022-04-29 17:13:15 +02:00
Seraina
ba03095647
Added a PTGUI protocol message and class with all parameters for that message, to link gui to server
2022-04-29 17:07:40 +02:00
Seraina
dd757b22f0
Added a PTGUI protocol message and class with all parameters for that message, to link gui to server
2022-04-29 16:48:02 +02:00
Seraina
81ee9a8841
Started linking new GameStateModel and Gamelogic, via protocol
2022-04-29 16:24:24 +02:00
Seraina
384f2071d2
Merge remote-tracking branch 'origin/master'
2022-04-28 18:31:29 +02:00
Seraina
49ee585e3e
Removed ghostVoteTimer from vote handler, so that the game works again
2022-04-28 18:30:57 +02:00
Seraina
8479479b49
Started adding a GameStateModel for the client to where primitive but needed data can be stored.
2022-04-28 13:46:28 +02:00
Seraina
79f5cb407f
Started fleshing out the game GUI, with its controller and fxml
2022-04-28 13:45:26 +02:00
Seraina
26dffdbbdc
Merge remote-tracking branch 'origin/master'
2022-04-28 10:50:04 +02:00
Seraina
f5008ca1cc
Added GameController Skeleton for the control of the Game controls
2022-04-28 09:41:04 +02:00
Seraina
3be5d7a3ae
Started to create the game View skeleton in scene builder
2022-04-28 08:36:22 +02:00
Seraina
39d0b76f69
Started to make the vote time dynamic by adding a Timer class and adjusting some of the others. Doesn't work properly yet, though
2022-04-28 08:34:32 +02:00
Seraina
f37597a5cd
added a method to find all ghosts currently seated in the train and added repo structure for tests as well as an empty test class
2022-04-22 16:34:48 +02:00
Seraina
2926967da0
removed jar for presentation demo again, to declutter the repo
2022-04-22 15:59:33 +02:00
Seraina
47f808bcab
Merge remote-tracking branch 'origin/master'
2022-04-20 13:16:28 +02:00
Seraina
d710d8bf71
added jar for presentation demo
2022-04-20 13:16:10 +02:00
Seraina
82c561bcb3
copied the protocol just to be sure
2022-04-18 22:14:39 +02:00
Seraina
95a18d3d5c
added a @code in doc so javadoc builds
2022-04-18 22:11:56 +02:00
Seraina
55147ce1cf
went over all classes and added docs where is appropriate and needed
2022-04-18 21:57:33 +02:00
Seraina
d25b6c405d
slashed ghostVote Time in half to 30 seconds
2022-04-18 21:12:12 +02:00
Seraina
d78b08085a
Merge remote-tracking branch 'origin/master'
2022-04-18 21:07:38 +02:00
Seraina
7106bf5588
Corrected some Comments
2022-04-18 21:06:30 +02:00
Seraina
a66345259a
Updated Diary
2022-04-18 21:05:49 +02:00
Seraina
a6fac4c1b3
increased vote time to 60 seconds
2022-04-18 17:01:22 +02:00
Seraina
c3aef4dd54
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# build.gradle
2022-04-18 16:25:37 +02:00
Seraina
b2823fc01a
added custom task that builds jar and javadoc
2022-04-18 16:24:43 +02:00
Seraina
df3964a9fa
Merge remote-tracking branch 'origin/master'
2022-04-18 15:23:52 +02:00
Seraina
4ba62ec622
added encoding utf-8
2022-04-18 15:23:23 +02:00
Seraina
1943e8c86b
added own task
2022-04-18 14:26:10 +02:00
Seraina
414da07a09
Merge remote-tracking branch 'origin/master'
2022-04-18 13:44:32 +02:00
Seraina
1257d102b8
Handled NullPointerException in closeLobby
2022-04-18 13:43:57 +02:00
Seraina
08f9f44fab
Added javadoc statements to loads of methods where there was a warning
2022-04-17 20:41:31 +02:00
Seraina
cee7196566
Aaaaaaand another typo
2022-04-17 19:30:16 +02:00
Seraina
7509b943bc
Fixed Typo in QA-Concept
2022-04-17 19:27:58 +02:00
Seraina
8fb4ae1534
Finalized QA-Concept and added all Plots from measurement to a separate QA-Folder
2022-04-17 19:11:54 +02:00
Seraina
bc77f5dad2
Ensured Client username updating in ClientModle for ui
2022-04-17 17:22:15 +02:00
Seraina
8c9d40a6d8
Changed default cmd to CHATA
2022-04-17 17:21:11 +02:00
Seraina Schöb
764c06f26b
Merge branch 'SerainaGui' into 'master'
...
Debugged the UI now its working
See merge request cs108-fs22/Gruppe-8!6
2022-04-17 15:15:40 +00:00
Seraina
dad2cf1cd8
Merge remote-tracking branch 'origin/SerainaGui' into SerainaGui
2022-04-17 15:11:28 +02:00
Seraina
6ebc4495e7
Added a networking process that updates the username in the ChatController of the ClientModel
2022-04-17 15:11:01 +02:00
Seraina
28b0c08ddb
Added ChatController to the running application
2022-04-17 14:33:55 +02:00
Seraina
edf5c65da2
Added static field to ChatApp and set it to the current application in the start()
2022-04-17 14:05:38 +02:00
Seraina
4bd9038146
Removed root from fxlm file, added constructor with no parameters to ChatController-> for some reason this gets called
...
now the window pops up, but it cant communicate
2022-04-17 10:55:58 +02:00
Seraina
4899f06f73
Merge remote-tracking branch 'origin/master'
2022-04-16 23:29:10 +02:00
Seraina
8e12e6e662
Some minor adjustments that localize the problem of GUI in fxlm file itself (root not correctly set?) I moved the fxml file to a spot, where gradle expects it
2022-04-16 23:28:52 +02:00
Seraina
88f72d7612
Added a way to end a game, when its lobby is closed.
2022-04-16 21:34:36 +02:00
Seraina
8e434e3e14
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/server/Lobby.java
2022-04-16 13:15:28 +02:00
Seraina
b76d57a407
Worked on game logic:
...
- Spectators now get all information
- votes for kicked off people don't count
2022-04-16 13:13:20 +02:00
Seraina
22715e038d
Worked on game logic:
...
-Ensured that votes of kicked off people don't count
- Ensured that kicked off people don't get reentered in the game via gostification
- fleshed out the Spectator class a litte
2022-04-16 12:06:58 +02:00