aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-11-27Last commit from meHEADmasterJoel Kronqvist
2024-11-27help-komentoAleksi Heikkila
2024-11-27[help-komento]Aleksi Heikkila
2024-11-27Finishing almost the adventureJoel Kronqvist
2024-11-27Added part of story & improved singing with multiple verses & hemingway distanceJoel Kronqvist
2024-11-26Dying properlyJoel Kronqvist
2024-11-23Merge branch 'master' of ssh://cron4.fi/~/O1-gameAleksi Heikkila
2024-11-23Inventory, pickup loppuun, drop loppuunAleksi Heikkila
2024-11-23NPCs, zombies and talkingJoel Kronqvist
2024-11-22Character safety checking, supported terminals updatedJoel Kronqvist
2024-11-21Fixed singing from last commitJoel Kronqvist
2024-11-21Wooooohooo time limits and correcter printingJoel Kronqvist
2024-11-18Major change! Changed Events to have multiple first persons & changed ↵Joel Kronqvist
sending action results to clients using this. This improves code and made it easy to finally make arrival/leaving messages when going from one area to another! This commit is too big indeed, and there are probably bugs. I'm annoyed we didn't set up unit testing during the course. I should've taken my time to set up IDEA myself for that. Now the bugs will just have to be fixed in future commits.
2024-11-17Improved client recovery from singing & added better logic for observationsJoel Kronqvist
The logic should still be implemented for all observations
2024-11-17Template for singing, WIP.Joel Kronqvist
* The line to sing is always the same. * The client recovers weirdly from singing before the next turn and my brain is currently too fried to figure out why
2024-11-17UTF-8 support & fixed hard coded 'Alice'Joel Kronqvist
2024-11-17Small style fixes (mostly shortening comment lines written by others...)Joel Kronqvist
2024-11-17Moved the project to an IDEA project & wrote part of README.txtJoel Kronqvist
2024-11-17Implemented talkingJoel Kronqvist
2024-11-17Bug fix: Server.Client.nextLine left newlines at starts of linesJoel Kronqvist
2024-11-15Added join messages as observationsJoel Kronqvist
2024-11-15Added observations for Players in model & implemented sending them to other ↵Joel Kronqvist
clients
2024-11-14Added immediate turn start for client, required minor protocol tweakJoel Kronqvist
2024-11-14Immediate printing of actions & no prompt on blocking action & refactoringJoel Kronqvist
2024-11-09Minor change in concurrency modelJoel Kronqvist
2024-11-09Made & implemented clearer protocol, added client functionalityJoel Kronqvist
2024-11-07Added turns, time limits and turn order randomization (feature/bug?)Joel Kronqvist
2024-11-07Added possibility to join in the middle of the game & fixed bugs and ↵Joel Kronqvist
inaccuracies: * Adding the player didn't add it to the starting area. Fixed. * Refactored some code a bit by extracting functions * Changed the areas of `Adventure` to be private
2024-11-07Added comments for documentation and reformatted old onesJoel Kronqvist
2024-11-07Made the server work with the adventure modelJoel Kronqvist
* The model was imported from the wrong version, so that needs to be fixed. * The client side doesn't work at all right now. Use netcat for testing. * There are inconveniences and bugs in the model (eg. it lists the player among entities) * Players can just see each other, not interact in any way But it's a good base.
2024-11-05Small refactoringJoel Kronqvist
* Moved `ConnectionGetter` to its own file * Added method `mapAndRemove` to Server/Client.scala * Replaced usages of `removeNonSatisfying` with the above * Added some documentation
2024-11-04Added basic TCP networking for the server.Joel Kronqvist
The client's networking is still very experimental and the actual protocol is not yet specified for either side.