{"push_id":1083939383,"size":78,"distinct_size":1,"ref":"refs/heads/gh-pages","head":"46b0cd777944256c675c668f030ca2800bb6af5f","before":"93291e697f247f6189feb8daf3c9e3993e978d2f","commits":[{"sha":"f0876e5c2d7000e05b139dac574cca8e3fc4fb82","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Initial commit","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/f0876e5c2d7000e05b139dac574cca8e3fc4fb82"},{"sha":"dc846614fc2bc0bd6e69cb75fb7e96c8f493ed5a","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Adds a map, graphics, characters and mouse control\n\nAdds the classes.js file, where classes will be stored. Currently the\nCharacter class is stored there. The utility.js file hosts functions which\ncould be useful for the other classes. Also adds images and their handling\nin game.js. Adds mouse events and their handling. Allows the map to be\nmoved around with click-and-drag. Adds the first character, Bob.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/dc846614fc2bc0bd6e69cb75fb7e96c8f493ed5a"},{"sha":"cc980fa392c7ca3b85bc466602ecaed6077bb793","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Script bar and basic evaluation\n\nAdds the scirpt bar - a bar at the bottom of the screen, where javaScript\ncan be typed and when enter is pressed, it is evaluated. Also adds the\nkeypressed event listener and function onKeyPressed(keyCode).","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/cc980fa392c7ca3b85bc466602ecaed6077bb793"},{"sha":"6cccf55ddcfd6c6ceff0c600e1cd7cb326863beb","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Movement of characters and CharacterList class\n\nCharacters can now move with the moveTo(x,y) method. Characters are now\nheld in CharacterList classes, so that collections of characters can be\nmoved at the same time and so on. Characters now have an update method for\nlogic - like movement. MoveSpeed is now an attribute for Characters.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/6cccf55ddcfd6c6ceff0c600e1cd7cb326863beb"},{"sha":"d7742ade232e2f171117c9d91f8cd6d98f900294","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"GameObject class and class restructuring\n\nAdds the GameObject class and makes the Character class inherit it. Moves\nloadImage and draw to the GameObject class from the Character class.\nCharacter now overrides the update function from GameObject. A GameObject\nknows its location and image for now.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/d7742ade232e2f171117c9d91f8cd6d98f900294"},{"sha":"c037b0f93876df507a4813031e9289f4ae7b4837","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Image management and Trees.\n\nAdds the ImageRepository class, which manages images, so they don't have\nto be loaded repeatedly for each instance of an object. Adds the Tree\nclass, descendant of GameObject. Trees can be alive and dead and can\nfall(). Adds images for the variants of a tree and removes an unused image\nfor Grass. Also refactors the main game code, so the game now waits for\nall images to load before starting the first draw cycle. Bob declaration\nand tree1 declaration was also moved to this postLoad().","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/c037b0f93876df507a4813031e9289f4ae7b4837"},{"sha":"748339aae028f4610ca0c92f8280f01fe6456421","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Resize canvas on window resize\n\nResizes the canvas when the window resizes (new event listener).","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/748339aae028f4610ca0c92f8280f01fe6456421"},{"sha":"b83cf0958f11d480f84d23a8e98c3369457a1387","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Full screen game\n\nThe canvas now fills the whole windows and style.css now removes\nscrollbars on the window.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/b83cf0958f11d480f84d23a8e98c3369457a1387"},{"sha":"f38486263315833d6e741d32e17b50647551f7fa","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Code refactoring - moving level data to the Level class\n\nMoves a lot of the responsibility for the game to the Level class located\ninside the level.js file. This version may be buggy. Game.js now handles\ninput/output and calls the functions of the current level.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/f38486263315833d6e741d32e17b50647551f7fa"},{"sha":"1a115dfc118d0c56c632e7648c78c36331454a8e","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Fixes not redrawn areas on the bounds of the map\n\nWhen moving the camera out of the bounds of the map, the black background\nwould not be redrawn all the way on bigger resolutions. This change fixes\nthat.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/1a115dfc118d0c56c632e7648c78c36331454a8e"},{"sha":"7b39e3e38541afbb9b3093427876bc0eb3d19a54","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Camera and map improvements\n\nCamera now centers around its coordinates and the map now has a fixed\nsize. The script evaluation function now adds \"currentLevel.\" in front of\nevery statement, so people don't have to define the namespace.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/7b39e3e38541afbb9b3093427876bc0eb3d19a54"},{"sha":"4da3030ccd07870653b6b47b3f8e14b05b3cc83c","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Improved evaluation of the script bar\n\nNow only allows certain functions and helps with the namespace for them\n(adding \"currentLevel.\" in front of them). Currently the only allowed\nfunction is getCharacterByName() and then you can do all the functions of\na character.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/4da3030ccd07870653b6b47b3f8e14b05b3cc83c"},{"sha":"b0acde030d3e7f8c1ce7417810c3d07d3fe9f74e","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Relative movement for characters with .move(x,y)\n\nCharacters can now move relative to their own current position with the\n.move(x,y) method. CharacterList can now also iterate through characters\nwith its .move(x,y) method. There is also commented code for an overloaded\nmove function which could be used, but was quite messy.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/b0acde030d3e7f8c1ce7417810c3d07d3fe9f74e"},{"sha":"837efbd4b1bf087fd666fe0c4247539aee16cb34","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Tree chopping and Order system for Characters\n\nCharacters now hold a queue of the Order class objects, which they execute\nuntil there are no orders left. Adds a new method to level:\ngetNearestTreeTo(gameObject), which returns the nearest alive tree. This\nmethod is also added to the allowed functions.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/837efbd4b1bf087fd666fe0c4247539aee16cb34"},{"sha":"b6c18d64b034f56d77e245a8d00a7852445b5e98","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Fix for Firefox keyboard input\n\nFirefox does not support keyboard events in the same way that Chrome does,\nso this introduces a fix for the Firefox browser. Also changes delete\nkeysDown[keyCode] to keysDown[keyCode] = false.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/b6c18d64b034f56d77e245a8d00a7852445b5e98"},{"sha":"14ce061376c5202298a6dcf79ae36d016a747608","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Characters chop nearest tree and better handling of game functions\n\nAdds the GameFunction class, which holds a function available to a player.\nCharacters now have a reference to their parent level and search for the\nnearest tree themselves. CharacterLists can now also call chopNearestTree\nfor all their characters. Adds some small modifications to the game loop,\nso that it displays fps and doesn't try to catch up on intervals bigger\nthan 0.25s.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/14ce061376c5202298a6dcf79ae36d016a747608"},{"sha":"151eaf919e5d48a4b7638c3f503033cbfa2a24f1","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"New map tile system\n\nMap is now a class holding a 2D array of tiles (have a type and a\nvariation). Still work in progress, but implements basic functionality.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/151eaf919e5d48a4b7638c3f503033cbfa2a24f1"},{"sha":"01ac70465416b3665198bbadbb929c70ae90d23d","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Level 1 and tutorial system\n\nLevel 1 has its own 1.js file inside the folder levels. It initializes a\nlevel object and overrides some of its functions to provide its tutorial\nand win conditions. This commit also adds a tutorial system (very basic).","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/01ac70465416b3665198bbadbb929c70ae90d23d"},{"sha":"0914e2ee23a68a04518d2a6be95f0bd6bed952d3","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Improved script bar and characters can now speak\n\nThe script bar now has a cursor, which can be moved with the arrow keys\nand backspace. Characters and CharacterLists can now say(s) things. Also\nadds the basics of a Spellbook system (not fully implemented yet).\nSlightly improves the tutorial in the first level.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/0914e2ee23a68a04518d2a6be95f0bd6bed952d3"},{"sha":"36aab4e182ae561a6422b0f75ee5a6ce233b3911","author":{"email":"9fca59468342aac2b6f3e231085395b2ecdb5894@gmail.com","name":"Miron Zelina"},"message":"Spellbook text editor\n\nText can now be properly edited with backspaces, enters and arrow keys in\na spellbook.","distinct":false,"url":"https://api.github.com/repos/mironec/UCL-Coding-curriculum/commits/36aab4e182ae561a6422b0f75ee5a6ce233b3911"}]}