Play Game of Life in your GitHub contributions
Some people have legit gliders https://github.com/colcarroll
or walls https://github.com/garethbjohnson.
You can drag the Game of GitHub bookmarklet from https://glebbahmutov.com/game-of-github/
Manually you can create bookmarklet from
index.min.js - do not forget to prepend code with javascript:
when
saving the bookmarklet.
- Copy contents of index.js
- Open DevTools while on
https://github.com/username
- Paste contents into the DevTools console
It should start the "Game of GitHub" 😎
Hint https://github.com/lholznagel has the most awesome one! Much better than my little oscillators.
- Open DevTools / Sources tab
- Open "Snippets" left tab
- Right click and create new snippet
- Paste the index.js and Save (Right click and select "Save")
Now you can run this snippet over and over.
More about code snippets
- Game of Life rules
- Sample JS implementation
- Game of Life base on JS equality table
- Control your GitHub contributions
- GitHub contributions as music - this is my favorite
Author: Gleb Bahmutov <[email protected]> © 2017
License: MIT - do anything with the code, but don't blame me if it does not work.
Support: if you find any problems with this module, email / tweet / open issue on Github
Copyright (c) 2017 Gleb Bahmutov <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.