2 ms·
You can see the whole source here : https://github.com/shaunew/Pac-Man/tree/gh-pages/src https://github.com/shaunew/Pac-Man/tree/gh-pages/src I wonder how he c
by cocoflunchy 14y ago
You can see the whole source here : https://github.com/shaunew/Pac-Man/tree/gh-pages/src https://github.com/shaunew/Pac-Man/tree/gh-pages/src
I wonder how he compiles these files into one though ? THis is the main drawback of javascript to me at the moment : having to write everything in one big file.
- prophetjohn 14y agoLooking at the code, I'm pretty sure the contents of each file is just dropped into an IIFE. A pretty simple Ruby script would take care of this.