| |
|
|
| |
 |
| | |
Background
|
 |
The starting place for this page was the game, Lights Out, which was also the basis for my Amiga game FlipGrid.
It was an experiment to see how small I could get a web page. The final version was 1.2K.
During development, I read about the Sylloge competition to design a site in 5K. I
expanded the entry to feature other mathematical puzzles and curiosities. Each was presented in its' own frame,
divided according to the golden ratio, appropriately enough.
|
| |
Technical
|
 |
There were a number of things I did (or didn't do) to reduce the disk space used.
- Used single letter filenames for each frame
- Built the game from Javascript - literally. I wrote JS which created the game
Javascript directly into the web page. This resulted in a much large page in memory but
since the issue was disk space I was fully justified in doing so.
- Single letter variable and function names, not using quotes around attributes, removing whitespace,
etc. The sort of thing the IOCCC have been 'encouraging' for years :) This did result in some very long
lines (f.htm is one line, 469 characters long!).
- Sidestepped the W3C guidelines and 'forgot' to include any tag I didn't really need. The page does
break the strict and transitional spec in places, but works on the current set of browsers, making it a valid entry.
- Writing the code a couple of times, using different algorithms, and picking the one that would compress
better, even if it resulted in a less than optimal piece of code.
|
| |
Links
|
 |
| Open in |  | or |
 | window |
|
| |
Taking it further
|
 |
I have a number of ideas for small sites, but none of them have yet been started.
I missed the Sylloge competition this year, but plan to be back next year with avengence
|
| |
Related Projects
|
| |
|
| |
|