{"push_id":816260083,"size":6,"distinct_size":6,"ref":"refs/heads/Networking","head":"9909bfe7e8fc8b4cab4909624bef7b490aa6ddf3","before":"5cf74503bd9375f654db48511755ff3a808023ff","commits":[{"sha":"94f3c1c12c252b6a1c9c9d046ac7d52a6a97d16b","author":{"email":"1f1d815daec9f265391130efa81792c0b90b51df@harmans-mbp.lan","name":"Harmannz"},"message":"Added Byte Array functionality\n\nThe state of the pieces on the board can now be converted to and loaded\nfrom a byte array. This will allow the client class to receive updates\nto the game state. The game can also be saved by converting it to a byte\narray to allow the game to restart.","distinct":true,"url":"https://api.github.com/repos/SWEN222-Group-Project/Group_Project/commits/94f3c1c12c252b6a1c9c9d046ac7d52a6a97d16b"},{"sha":"90b6047513dd527dfca1883b50b331bd4dacd238","author":{"email":"1f1d815daec9f265391130efa81792c0b90b51df@harmans-mbp.lan","name":"Harmannz"},"message":"Added byte array functionality for door\n\nThe door is a special piece as it links two separate two rooms together.\nThe inputStream and outputStream methods allow the door state to be\nconverted into a byte array for allowing the client's to load the game.\nThe door piece is the last piece that gets converted into a byte array\nas it requires all the rooms to be created first. For this reason there\nis an extra getRoom() method that retrieves the room that the door leads\nto.","distinct":true,"url":"https://api.github.com/repos/SWEN222-Group-Project/Group_Project/commits/90b6047513dd527dfca1883b50b331bd4dacd238"},{"sha":"fd2a474fed3e9a806440f0d31f6bc5bebe037f20","author":{"email":"1f1d815daec9f265391130efa81792c0b90b51df@harmans-mbp.lan","name":"Harmannz"},"message":"Added byte array functionality for Player\n\nThe player object can contain multiple pieces so the inputStream and\noutputStream methods allow the player state and all of the items the\nplayer contains to be converted into a byte array for allowing the\nclient's to load the game.","distinct":true,"url":"https://api.github.com/repos/SWEN222-Group-Project/Group_Project/commits/fd2a474fed3e9a806440f0d31f6bc5bebe037f20"},{"sha":"f9f49984143321a386df8fb93d1d2506f9bf09bb","author":{"email":"1f1d815daec9f265391130efa81792c0b90b51df@harmans-mbp.lan","name":"Harmannz"},"message":"Added byte array functionality for Room\n\nThe room contains a 2d array of pieces which represents the items inside\nthe room. The inputStream and outputStream methods allow the room state\nto be converted into a byte array for allowing the client's to load the\ngame. The outputStream and inputStream methods call the piece\noutputStream and inputStream methods respectively to save/load the state\nof each player.","distinct":true,"url":"https://api.github.com/repos/SWEN222-Group-Project/Group_Project/commits/f9f49984143321a386df8fb93d1d2506f9bf09bb"},{"sha":"45e985517a2144e48d25cb05d9a76d35dd77205f","author":{"email":"1f1d815daec9f265391130efa81792c0b90b51df@harmans-mbp.lan","name":"Harmannz"},"message":"Allow game to convert to a byte array\n\nEach room in the game is converted to a byte array by calling its\noutputStream method, which then calls the outputStream method of all the\npieces that are inside the room. The byte array is written to the\nDataOutputStream which is then returned.\nFor loading the game from the byte array, each room's inputStream method\nis called which then calls the inputStream method of all the pieces that\nare to be placed inside the room.\nThis allows the game to completely load from a byte array.","distinct":true,"url":"https://api.github.com/repos/SWEN222-Group-Project/Group_Project/commits/45e985517a2144e48d25cb05d9a76d35dd77205f"},{"sha":"9909bfe7e8fc8b4cab4909624bef7b490aa6ddf3","author":{"email":"1f1d815daec9f265391130efa81792c0b90b51df@harmans-mbp.lan","name":"Harmannz"},"message":"These copied files that are not needed anymore","distinct":true,"url":"https://api.github.com/repos/SWEN222-Group-Project/Group_Project/commits/9909bfe7e8fc8b4cab4909624bef7b490aa6ddf3"}]}