Commit Graph

  • f65ed79619 Implemented RequestToJoin and JoinAcceptance messages. Also added their message types to MessageType. fjc40 2017-08-05 19:23:32 +1200
  • 1385500e68 Added JoinAcceptance and RequestToJoin enumerations. Issue #35 #story[1095] fjc40 2017-08-05 19:10:15 +1200
  • 7feddeb49f Merge branch 'master' into story48 fjc40 2017-08-05 15:23:33 +1200
  • 554f8a2a0f Added WindCommand and multiple command execution to RaceLogic - Dispatch commands with CompositeCommand - Single WindCommand handles upwind and downwind logic - Changed key bindings as Mac lacks PgUp PgDn - ControllerServer is observable, RaceLogic updates CompositeCommand as observer Connor Taylor-Brown 2017-08-04 23:08:07 +1200
  • 0b74acadff rounding checks are now done by port or starboard side depending on what the compound marks type is #story[1101] hba56 2017-08-04 22:19:07 +1200
  • db1efab225 rounding checks are now done by port or starboard side depending on what the compound marks type is #story[1101] hba56 2017-08-04 22:17:17 +1200
  • be8b0e672d Updated the xml reader to pull in the rounding type of the compound marks and set each mark with that value #story[1101] hba56 2017-08-04 22:01:21 +1200
  • 425cc7f91f Changed ControlKey to use BoatActionEnum instead of magic numbers. Connor Taylor-Brown 2017-08-04 21:27:53 +1200
  • 14ce5fcaff Made changes to TackGybeCommand and VMGCommand classes to fit pattern layout. zwu18 2017-08-04 03:56:55 +1200
  • 6e699f7037 Merge branch 'RaceFactory' into CommandFactory zwu18 2017-08-04 03:00:31 +1200
  • f23c3f854d Seperated race xml creation into a class of its own - Created RaceXMLCreator class - made a function to convert limit to GPS Coordinate (limitToGPSCoordinate) - can rotate a GPS Coordinate around a point (rotate) - can get center of a race with (getCenter) #story[1092] Fan-Wu Yang 2017-08-03 23:13:28 +1200
  • 851bbb4fde Merged branch "RaceFactory" with master Connor Taylor-Brown 2017-08-03 23:03:15 +1200
  • 148108a658 CommandFactory uses BoatActionEnum instead of raw ints. #story[1094] fjc40 2017-08-03 21:11:25 +1200
  • c83442761c Implemented Factory for Command objects and fixed Command Pattern implementation. - Commands now have standard 0-parameter execute method - Commands are created by CommandFactory Connor Taylor-Brown 2017-08-03 17:54:03 +1200
  • 40a3ed1bb0 Boats now store whether autoVMG is on or off, boat speed scales off their bearing relative to the TWA. #story[1094] Joseph Gardner 2017-08-03 16:56:52 +1200
  • f212414bd9 Added in a new basis for boats to round marks, gave mockboats a status to say how far through a rounding they are and made a method in GPScoordinate public so it can be used to calculate intersections. hba56 2017-08-03 13:27:00 +1200
  • 2e325d5177 Added WindGeneratorTest. fjc40 2017-08-03 13:21:53 +1200
  • e4999a3c93 Added a light variant of the arrow image. nightMode.css loads this instead of the regular dark arrow. ResizableRaceCanvas doesn't cache the race boundary background, as it was unneccessary and stopped the canvas from being transparent. #story[1093] fjc40 2017-08-03 12:56:15 +1200
  • 2a5d0938ff Merge branch 'story48' into Development fjc40 2017-08-03 11:07:17 +1200
  • c8621a7be5 Merge branch 'RaceFactory' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into RaceFactory Connor Taylor-Brown 2017-08-03 09:01:27 +1200
  • 4e8d4f2433 Created Schema for Race xml's and generated classes for reading xml with xjc, made the RaceXMLReader read Corner classes in as well as making a corner class #story[1092] Fan-Wu Yang 2017-08-03 02:42:33 +1200
  • d9679c1497 Build failing due to junit even though junit passes all tests. Commented out VMGCommand and TackGybeCommand content. zwu18 2017-08-03 01:31:05 +1200
  • 2672c2b13b Separated RaceLogic from MockRace - MockRace satisfies refactor requirement for RaceState - VisualiserRace directly implements Runnable to remove method from MockRace Connor Taylor-Brown 2017-08-03 00:32:17 +1200
  • b581b01a44 Merge branch 'RaceFactory' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into RaceFactory zwu18 2017-08-03 00:28:44 +1200
  • ad61dc6bce Implemented runCommand method in VMGCommand and TackGybeCommand classes. Both classes currently rely on the MockRace class so changes will be required when MockRace is refactored. zwu18 2017-08-03 00:22:46 +1200
  • 0466292bd0 Partially removed VMG optimisation, separated server-specific functionality from MockRace into RaceServer. Connor Taylor-Brown 2017-08-02 23:39:13 +1200
  • 7fc1347377 Created class TackGybeCommand which implements the CommandFactory interface. zwu18 2017-08-02 22:28:47 +1200
  • e1905e9e36 javadoc fix. fjc40 2017-08-02 18:27:40 +1200
  • 9889a474ee Added ArrowController. This is the controller for arrow.fxml. Removed arrow control stuff from ResizableRaceCanvas. Added a wind speed label to arrow.fxml. Also created an outer GridPane to lay things out. #story[1093] fjc40 2017-08-02 18:24:43 +1200
  • b7af4e19cf new method to check if a boat is between gates as well as updated the gps values to fit better with real life values #story[1101] hba56 2017-08-02 18:09:12 +1200
  • 13922bc284 updated javadoc #story[1101] hba56 2017-08-02 17:06:52 +1200
  • c633de21f5 added new methods to the mock boats to let them check which side a mark is on to them #story[1101] hba56 2017-08-02 16:33:03 +1200
  • 27cf0e1539 Started splitting MockRace into RaceLogic and RaceState. #refactor #story[1094] Joseph Gardner 2017-08-02 16:31:55 +1200
  • b258e94a54 Merged wind generator into this branch. #story[1094] Joseph Gardner 2017-08-02 15:19:32 +1200
  • 577a1d1b5a Merge remote-tracking branch 'origin/RaceFactory' into RaceFactory Joseph Gardner 2017-08-02 15:10:36 +1200
  • fba256113a Merged wind generator into this branch. #story[1094] Joseph Gardner 2017-08-02 15:09:59 +1200
  • 51bbdf9a50 Merge branch 'issue_26_wind' into RaceFactory Joseph Gardner 2017-08-02 15:04:55 +1200
  • ed12ff659d mock: Moved wind generation logic and state into the WindGenerator class. MockRace initialises this, and calls it to update wind. fjc40 2017-08-02 13:59:19 +1200
  • 9249e74e3a Merge remote-tracking branch 'origin/RaceFactory' into RaceFactory cbt24 2017-08-02 13:58:26 +1200
  • a4592a10e6 Removed boundary checking logic to clean up MockRace before split cbt24 2017-08-02 13:51:07 +1200
  • 81eeca3533 Split wind off from Race and made it its own class. Deleted dnfChance as it is no longer used. Joseph Gardner 2017-08-02 13:45:10 +1200
  • 775c32ca92 Made new branch for command architecture. Joseph Gardner 2017-08-02 12:48:56 +1200
  • a87879eaa9 Made new branch for command architecture. Joseph Gardner 2017-08-02 12:41:47 +1200
  • 99f3310d8b Created a setWind(bearing, knots) in Race, which updates the Wind with new values. MockRace now uses Wind. VisualiserRace now uses Wind. #story[1093] fjc40 2017-08-01 18:45:17 +1200
  • 5af3053537 Added shared.model.Wind class. shared.model.Race now uses Wind. It is wrapped in Property<>. #story[1093] fjc40 2017-08-01 18:15:35 +1200
  • f2932e8bae New branch created for development. David Wu 2017-08-01 12:29:05 +1200
  • fcea323cfd The racevisionGame pom still had "profiles", which aren't needed with a single jar build, and the built jar didn't have a mainifest/main class. fjc40 2017-07-28 09:30:26 +1200
  • a8701d8a1f Merge branch 'css' into 'master' Fan-Wu Yang 2017-07-27 16:26:47 +1200
  • 442920f9f6 DOD, and added javadocs/fixed javadocs #story[1087] Fan-Wu Yang 2017-07-27 16:24:19 +1200
  • 9eaf24e699 Fixed title screen having whitespace on different screen resolutions. Jessica Syder 2017-07-27 14:54:56 +1200
  • 402df18b71 Merge remote-tracking branch 'remotes/origin/master' into css Jessica Syder 2017-07-27 14:31:33 +1200
  • 7966ac41fb Merge branch 'cbt-multi-controller' into 'master' Fraser Cope 2017-07-27 14:23:52 +1200
  • 669b8167cd Merge branch 'cbt-multi-controller' of eng-git.canterbury.ac.nz:seng302-2017/team-7 into cbt-multi-controller fjc40 2017-07-27 14:08:19 +1200
  • 1b5926007c Visualiser ConnectionController: Clicking the host button doesn't create more than one server. fjc40 2017-07-27 14:07:25 +1200
  • 67c7c88b32 Print statements now print off the actual key action. #story[1089] Joseph Gardner 2017-07-27 14:06:40 +1200
  • f91f7055de Visualiser RaceController: event.consume() is required to stop the keyboard event from propogating to other controls. fjc40 2017-07-27 13:52:55 +1200
  • 92b8b7b77f moved the tm symbol #story[1087] hba56 2017-07-27 13:34:03 +1200
  • 2b8b334486 Updated host to show the hosted address and port. Fixed css issue with lobby text field. #story[1087] David Wu 2017-07-27 13:12:39 +1200
  • f4eb03e79e Merge remote-tracking branch 'origin/css' into css hba56 2017-07-27 13:06:07 +1200
  • 85347c169d You can now resize all windows other than the title screen #story[1087] hba56 2017-07-27 13:05:56 +1200
  • 28e6709890 Merge remote-tracking branch 'origin/css' into css David Wu 2017-07-27 12:42:13 +1200
  • 90f9ec2b98 Changed host menu. Will update soon. #story[1087] David Wu 2017-07-27 12:41:46 +1200
  • 6492ba89ab Merging main features into story 6. App now sends and receives key strokes. #story[1007, 1089] Joseph Gardner 2017-07-27 12:36:34 +1200
  • 0ea7fb8c84 Merging main features into story 6. App now sends and receives key strokes. #story[1007, 1089] Joseph Gardner 2017-07-27 12:23:44 +1200
  • 59058da09c textfields now show better colour that contrasts more #story[1087] hba56 2017-07-27 12:23:21 +1200
  • 7fafddcf50 updated text to be easily read on daymode #pair[zwu18, hba56] #story[1087] hba56 2017-07-27 12:09:33 +1200
  • 64b4aa539a added and option to swap between css files in the title pane #pair[zwu18, hba56] #story[1087] hba56 2017-07-27 12:04:17 +1200
  • 0352e3310d Set up Boat Action Message encoding - Fixed command number for sails out Connor Taylor-Brown 2017-07-27 00:48:19 +1200
  • e670ded66d ControllerClient can retrieve valid protocol code from each key press - ControlKey now includes protocolCode property - RaceController now fires action with each key press - Shift toggles sail state appropriately Connor Taylor-Brown 2017-07-26 23:40:39 +1200
  • 86e8cb7560 Refactored KeyFactory to ensure single instance of each key state handler. Connor Taylor-Brown 2017-07-26 23:22:05 +1200
  • cc264f318e Added ControllerClient and ControllerServer - StartController sets up client-wide ControllerClient on socket to game server. - RaceController now calls ControllerClient.sendKey with each keypress - ConnectionAcceptor runs ControllerServer for each successfully connected client Connor Taylor-Brown 2017-07-26 22:57:01 +1200
  • 8bb66bc5e4 Commented out test failure. Test was failing due to refactor. zwu18 2017-07-26 22:06:42 +1200
  • 53a01402e1 Check method moved to new class called ping so that refresh will be called on new thread. zwu18 2017-07-26 21:59:43 +1200
  • 243c450790 Merged with multi visualiser branch so now multiple visualisers can connect to the same host. zwu18 2017-07-26 21:08:13 +1200
  • 88604df66d Merge branch 'cbt-multi-controller' into css zwu18 2017-07-26 20:54:07 +1200
  • 9c9b98f882 Added functionality to host game and join a game in lobby. Host name and game name are not implemented yet. zwu18 2017-07-26 20:42:36 +1200
  • 9a76fa592c Added keyboard handling to RaceController - Capture each KeyEvent with EventFilter over SplitPane race container Connor Taylor-Brown 2017-07-26 17:22:54 +1200
  • 578f04c74f Merge branch 'css' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into css David Wu 2017-07-25 16:15:42 +1200
  • 9159e16a21 Set up controller classes for lobby and host. Made changes to TitleController and MainController. Title screen can now enter lobby and host. #story[1087] David Wu 2017-07-25 16:15:32 +1200
  • 7e3e865563 Host starts with button in ConnectionController - Converted Event to Singleton for configuring and hosting no more than one game instance. - Retrieve address and port from ConnectionAcceptor - Automatically add local host to host list Connor Taylor-Brown 2017-07-25 15:52:53 +1200
  • 684611a52c added a background to the water so it is not just white #story[1087] hba56 2017-07-25 15:31:35 +1200
  • a27c16d413 Merge remote-tracking branch 'remotes/origin/Game_Controller' into cbt-multi-controller Connor Taylor-Brown 2017-07-25 14:54:09 +1200
  • 913946265d Merge branch 'css' of https://eng-git.canterbury.ac.nz/seng302-2017/team-7 into css hba56 2017-07-25 14:14:49 +1200
  • afadabfecc small fix for the sparkline so that it goes from 1 to 6 rather than 0 to 7 for a 6 boat race #story[1087] hba56 2017-07-25 14:14:36 +1200
  • eec0cb3493 Added fairness to mockOuput list so the index will correspond to the player in order that they entered the hosted game, #story[1010] Fan-Wu Yang 2017-07-24 17:40:46 +1200
  • 4ba9c6b774 Added a pretty title screen to the application. Jessica McAuslin 2017-07-24 17:38:46 +1200
  • cfd858194e Removed Unecessary Print Messages - Removed xml's printing at the start as well as the amount of visualisers connected from spamming the log. - Issue of visualisers connecting when not actually connecting was actually an visual issue as the log spits out the number of visualisers right now before the loop has gotten rid of the useless sockets. #story[1010] Fan-Wu Yang 2017-07-24 17:36:47 +1200
  • 9f99e21232 Added functionality for more than one visualiser to connect to the mock. - more than one visualiser can now connect to the mock. - Created class ConnectionAcceptor that will accept and allocate to each socket - Issue of sockets connecting after the race starts then disconnecting will use a socket slot. #story[1010] Fan-Wu Yang 2017-07-24 17:27:49 +1200
  • 9d9321522d Linked the first fxml id tags from the fxml files for the new start up screens #story[1087] hba56 2017-07-24 12:36:45 +1200
  • eda7d062ec merged in the changes from the master branch so that latter mergers can run smoothly #story[1087] hba56 2017-07-24 12:12:12 +1200
  • 595e1a8727 Merge remote-tracking branch 'remotes/origin/master' into css hba56 2017-07-24 12:06:56 +1200
  • 1ebbb8d4c7 merged in the changes from the master branch so that latter mergers can run smoothly #story[1087] hba56 2017-07-24 12:05:00 +1200
  • 738a765a0a Merge remote-tracking branch 'remotes/origin/master' into Game_Controller hba56 2017-07-24 11:58:01 +1200
  • 86851c6181 Merge branch 'sprint5_refactor' into 'master' Hamish Ball 2017-07-24 11:48:54 +1200
  • a140e532e8 Merge remote-tracking branch 'origin/css' into css hba56 2017-07-24 11:31:24 +1200
  • ec50310137 Added Messages to Controller For Testing Purposes - Added Pressed, Released, and Held Messages to Controller #story[1006] Fan-Wu Yang 2017-07-24 02:10:02 +1200
  • d6d195f381 Added Modularity to Input Checker. - Added onHold - Added onRelease - Added ManualTesting Class in the tests - Added Unimplemented new methods to classes #story[1006] Fan-Wu Yang 2017-07-24 01:59:37 +1200
  • 8514c98805 Created FXML files for new start up U-I. #story[1087] David Wu 2017-07-23 19:32:57 +1200
  • 0598724117 Added two more missing javadocs. fjc40 2017-07-23 14:37:24 +1200
  • 956ad1f59b merged in the changes from the sprint5_refactor branch # Conflicts: # visualiser/src/main/java/seng302/Model/ResizableRaceMap.java #story[1087] hba56 2017-07-21 10:58:02 +1200