Commit Graph
100 Commits
Author SHA1 Message Date
Seraina 1de2e739de Moved all the fields in added in client handler into a separate class ClientVoteData cuz it didn't make sense there 2022-04-09 16:56:42 +02:00
Seraina 45597eee3c Had to change ClientHandler fields vote and hasVoted to arrays and had to make sure, the position of the Passenger is always sent along in protocol ($position$msg) 2022-04-09 16:11:30 +02:00
Seraina 46f75d3292 Made the whole thing a bit more orderly, added several loggers 2022-04-09 11:53:43 +02:00
Seraina d45d64a9c7 Removed interruption from pinger 2022-04-09 11:52:20 +02:00
Seraina 67cd93403a Tried adding smt to avoid being kicked off the Server 2022-04-09 09:11:51 +02:00
Seraina 96b0fa70ef Added getVoteFromClient method to superclass Passenger so when NPC vote, nothing happens when this method is called 2022-04-09 08:45:57 +02:00
Seraina 09024dbfad Parser sets the clientHandler fields vote and hasVoted after a vote from a client has come in 2022-04-09 08:38:59 +02:00
Seraina 370e1e97fe Added vote and hasVoted fields to ClientHandler for later transmission to corresponding Passenger 2022-04-09 08:22:28 +02:00
Seraina d373242486 Started communication between voteHandler and user
- implemented a new method in client, that collects votes
- started ading parser entries
- added timer to votehandler(20 s)
2022-04-09 00:13:34 +02:00
Seraina 316619d067 added a forgotten parameter 2022-04-08 23:24:24 +02:00
Seraina ce3fa4dde1 A very basic command now starts a game in the JServerProtocolParser (needs to bee relocated and but does the job for now)
The game runs, now the Clients need to be able to give inputs (so it ends at some point)
2022-04-08 23:23:31 +02:00
Seraina 3b0bc40ad0 Tried implementing a simple command for server that starts up a game, didn't work so I had to readjust some things 2022-04-08 22:23:00 +02:00
Seraina 5b4a06dd75 Implemented a run method in game, that goes through a game until it ends 2022-04-08 21:00:57 +02:00
Seraina f878bee40d added return for humanvote to know when the game ends 2022-04-08 20:52:36 +02:00
Seraina b297c9edda Implemented the GhostNPC vote and noise functions
had to add Game game as a parameter in a couple of constructors, so everybody can always access the current game and its gamestate
2022-04-08 20:00:00 +02:00
Seraina ea0c0d1b3b Merge remote-tracking branch 'origin/master' 2022-04-08 13:01:10 +02:00
Seraina dffd1731e2 Added Doc for print Method 2022-04-08 13:00:47 +02:00
Seraina Schöb f858c734f7 Update Diary.txt 2022-04-08 10:58:17 +00:00
Seraina f729a62289 Merge remote-tracking branch 'origin/master' 2022-04-08 12:46:18 +02:00
Seraina c134de8bba Removed static from Methods 2022-04-08 12:45:57 +02:00
Seraina 33d8f779a2 Merge remote-tracking branch 'origin/master' 2022-04-08 12:42:25 +02:00
Seraina 4337583de6 Fixed some bugs now the VoteHanlder does what it is supposed to 2022-04-08 12:42:02 +02:00
Seraina f224324fb5 Merge remote-tracking branch 'origin/master' 2022-04-08 11:14:37 +02:00
Seraina d83248d89f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/ch/unibas/dmi/dbis/cs108/gamelogic/VoteHandler.java
2022-04-08 11:12:07 +02:00
Seraina 913d0781de Added adjustments for the testing of voteHandler
- main methode
- a print methode, that prints out a Passenger array
2022-04-08 11:10:05 +02:00
Seraina efdd1167d2 Adjusted Passenger class for testing of VoteHandler 2022-04-08 10:27:19 +02:00
Seraina 7a89bb98b6 Merge remote-tracking branch 'origin/master' 2022-04-07 13:24:29 +02:00
Seraina 7153563471 Started building connection between game logic and sever-client. Added new Protocol msg and a s*** ton of todos for myself 2022-04-07 13:24:09 +02:00
Seraina Schöb 1dbfac1f3f Update Diary.txt 2022-04-07 09:33:15 +00:00
Seraina b5682d5531 Removed unused methods in game functions 2022-04-07 11:01:59 +02:00
Seraina 62a909444e Fixed some typos and inconsistencies in QA-Concept 2022-04-04 14:14:17 +02:00
Seraina b255582aea Merge remote-tracking branch 'origin/master' 2022-04-04 13:50:26 +02:00
Seraina 19c31356c2 Some changes to Structure of VoteHandler and related classes 2022-04-04 13:48:45 +02:00
Seraina 2ad0b03cd5 Merged my changes with Alexs changes in VoteHandler 2022-04-04 13:07:24 +02:00
Seraina 32c9c8e870 Added TODo for Alex: Documentation 2022-04-04 12:46:07 +02:00
Seraina 6b55ed8756 Did first metric measurement and added plots to the QA Concept 2022-04-03 17:34:28 +02:00
Seraina da65665ab3 Fleshed out the QA Draft into a Concept, needs revision 2022-04-03 14:43:04 +02:00
Seraina 401b3bec52 Added Handler skeletons concerning game logic and instructions on how to implement them 2022-04-01 12:20:08 +02:00
Seraina 3151cd4c51 Moved klassenstruktur into gamelogic 2022-04-01 11:09:36 +02:00
Seraina 733961292f Changed package name spiellogikentwurft to gamelogic 2022-04-01 11:06:05 +02:00
Seraina 4d8f438462 Removed ominous all black imgaes 2022-04-01 10:31:30 +02:00
Seraina c5f7bbbf6f Removed excessive doc from build.gradle, updated libraries to the newest standard 2022-03-31 18:26:55 +02:00
Seraina 7ef0f27ec0 Repo spring-cleaning:
- Moved Contributers file
- removed Übungs directory, no need anymore
2022-03-31 18:10:14 +02:00
Seraina d2af77a1a3 Added our names to README 2022-03-31 18:06:49 +02:00
Seraina 5af40283e9 Repo spring-cleaning:
- Removed Buda Server Client Stuff, not needed anymore
2022-03-31 17:53:30 +02:00
Seraina abbf220a71 Repo spring-cleaning:
- changed all package names to lowercase
2022-03-31 13:53:22 +02:00
Seraina ccff94b70a Repo spring-cleaning:
- changed all package names to lowercase
2022-03-31 13:50:32 +02:00
Seraina 9b0e751c18 Started Repo spring-cleaning:
- added config directory for all configuration files
- removed jars
- Moved some files to more sensibel spots
2022-03-31 13:42:58 +02:00
Seraina 4f44ab2f3b Added a logger instance LOGGER to all classes 2022-03-31 13:40:55 +02:00
Seraina a9b75c95ea Set RootLogger level to Trace so all Logger messages are shown 2022-03-31 13:16:57 +02:00
Seraina e5a64ce0c3 Added Spiellogikentwurf package from LoggingExp branch 2022-03-31 13:12:52 +02:00
Seraina af3e1928be Trying to merge Logging Experiment into master 2022-03-31 12:59:12 +02:00
Seraina 25690c14f4 Creates a Class that lets us configure the RootLogger for everything (BudaLogConfig) 2022-03-31 12:42:21 +02:00
Seraina 1ca99e5fe8 Merge remote-tracking branch 'origin/master' 2022-03-28 00:03:07 +02:00
Seraina 6b69cb8649 Created runnable jars 2022-03-28 00:02:39 +02:00
Seraina 0370bf30b8 Documented everything I could and tried unifying format 2022-03-27 23:18:45 +02:00
Seraina c87d894e10 Documented everything I could and tried unifying format 2022-03-27 22:43:35 +02:00
Seraina 6cf98643d1 Added Diary entry 2022-03-27 22:19:20 +02:00
Seraina Schöb 44893525fd Merge branch 'Jonas_Stuff' into 'master'
Added a Class and Method that can reformat the terminal commands into commands...

See merge request cs108-fs22/Gruppe-8!1
2022-03-27 19:43:54 +00:00
Seraina 2d71bbbc1c Merging Jonas-Stuff onto master 2022-03-27 21:40:17 +02:00
Seraina 055b5cbfb1 Deleted "example" Directory from this branch 2022-03-27 21:27:15 +02:00
Seraina 71d5843129 Deleted "Spiellogik" from this branch (still on the Logger branch) 2022-03-27 21:25:13 +02:00
Seraina 55a5fe50b7 Merge remote-tracking branch 'origin/Jonas_Stuff' into Jonas_Stuff 2022-03-27 17:49:52 +02:00
Seraina ef0eba6825 Added Documentation to some undocumented methods 2022-03-27 17:49:26 +02:00
Seraina bc7896dafa Enforced duplication check on nickname change 2022-03-27 17:04:05 +02:00
Seraina 1c03b5d9c7 Added nickname change /n newName 2022-03-27 16:41:03 +02:00
Seraina 15cabe2d18 Added Name suggestion based on System name to Client 2022-03-27 16:11:43 +02:00
Seraina 6654280990 Adjusted Random Name generator to include wanted username and switched to numbers instead of character for readability 2022-03-27 15:25:14 +02:00
Seraina 4a5bc49aa7 Added Alexandrs "Tried implementing logout handling (changes only on Server side) " commit 2022-03-27 14:49:53 +02:00
Seraina 0e39f06f9e Added Alexandrs "Added name duplicate handler by modifying the ClientHandler class as well as adding a class where all Client names are stored" commit 2022-03-27 14:44:55 +02:00
Seraina 83991587d6 Added Alexandrs Random Generator commit 2022-03-27 14:35:15 +02:00
Seraina 86180f047c Added Alexandrs class 2022-03-27 14:30:54 +02:00
Seraina 0e3e9aaa99 Did some Logger-Experiments so far - TODO: find out how to change rootlogger level 2022-03-27 13:48:51 +02:00
Seraina ced0f0aa9e Relocated message formating from server to client 2022-03-27 13:40:25 +02:00
Seraina d6e938e87c Inserted formatting into parser 2022-03-27 13:19:32 +02:00
Seraina 2263483462 Added a Class and Method that can reformat the terminal commands into commands that the parser can read 2022-03-27 13:14:42 +02:00
Seraina 5adbe540ec Fixed Typos in QA-Concept Draft 2022-03-26 21:14:22 +01:00
Seraina 18acef0a2e Reformatted my Code and cleaned it up a little 2022-03-25 21:59:09 +01:00
Seraina 478bd71409 Merge remote-tracking branch 'origin/master' 2022-03-25 21:46:31 +01:00
Seraina 9ca36e36d1 Added usable styleguide .xml 2022-03-25 21:46:17 +01:00
Seraina Schöb 0faf43f6c0 Updated Diary.txt 2022-03-25 20:39:29 +00:00
Seraina aa8f404cee Added draft of QA-Concept for Milestone II 2022-03-25 21:34:47 +01:00
Seraina ce250f638d Added an array full of Passengers, set them all to human by default 2022-03-25 17:25:05 +01:00
Seraina a6ca3da263 Added jaococ plugin 2022-03-25 17:22:35 +01:00
Seraina 66628b07cd Started working on some basic game logic stuff
Added a tool to randomize the order of the train (->Train)
2022-03-24 15:17:19 +01:00
Seraina 4bad0857cf Added meeting notes for the 24.03 2022-03-24 14:38:13 +01:00
Seraina 7f5a8badc7 Made a copy of diary for milestone 2 2022-03-24 14:08:30 +01:00
Seraina dac803aed7 MAde a copy of diary for milestone 2 2022-03-24 14:07:03 +01:00
Seraina 6d9e352ed1 Fixed Typo 2022-03-22 15:37:55 +01:00
Seraina 091d1aa83a Changed name of the project 2022-03-22 15:34:17 +01:00
Seraina 9037a8106f Tried removing .idea ordner 2022-03-21 13:58:43 +01:00
Seraina c691eeb862 Merge branch 'master' of https://git.scicore.unibas.ch/cs108-fs22/Gruppe-8 2022-03-21 13:54:22 +01:00
Seraina 637a619691 Tried removing .idea ordner 2022-03-21 13:48:57 +01:00
Seraina 623f779c3b Tried removing .idea ordner 2022-03-21 13:48:04 +01:00
Seraina 5af72edc3c Tried if removal of .idea ordner works 2022-03-21 13:45:02 +01:00
Seraina cdae79486a Merge remote-tracking branch 'origin/master' 2022-03-21 13:43:10 +01:00
Seraina ae80ad5f3c Tried removing the .idea folder from repo for good 2022-03-21 13:42:51 +01:00
Seraina 84aab5ef8f Tried removing the .gradle folder from repo 2022-03-21 13:29:49 +01:00
Seraina 4ba0447c47 Tried removing the .idea folder from repo again 2022-03-21 13:26:31 +01:00
Seraina 52500dc168 Merge remote-tracking branch 'origin/master' 2022-03-21 13:21:23 +01:00