This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set mainfont {{Open Sans} 10} | |
| set textfont {Consolas 9} | |
| set uifont {Tahoma 9 bold} | |
| set tabstop 8 | |
| set findmergefiles 0 | |
| set maxgraphpct 50 | |
| set maxwidth 16 | |
| set cmitmode patch | |
| set wrapcomment none | |
| set autoselect 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <body> | |
| <canvas id="game" width="800" height="800"></canvas> | |
| <script type="text/javascript"> | |
| var canvas = document.getElementById("game"); | |
| var ctx = canvas.getContext('2d'); | |
| var w = 800, h = 800; | |
| var c = 30; | |
| var T_EMPTY = 0; |
NewerOlder