Browse files

Updated readme and got the file opening working

  • Loading branch information...
1 parent 32ede0a commit 41732e803bef4e76d318d65ef765a64d31f048a4 @sbarski committed Aug 18, 2010
Showing with 32 additions and 11 deletions.
  1. +27 −6 README
  2. +5 −5 javascript/library/filesystem.js
@@ -1,8 +1,29 @@
-Jolly (inspired by Golly) is an online "Game of Life" simulator implemented with HTML5 and JS
+Jolly (inspired by Golly) is an implementation of Conway�s Game of Life created using HTML5 and JavaScript.
-There are a number of features which differentiate Jolly from other online implementation of the game of life.
+Jolly differs from other online implementations in that it has a number of advanced features. The following is a brief overview of why we think Jolly deserves your attention.
-Current Features:
-1. Implements hashlife
-2. Reads RLE and Cells files
-3. UI (based on canvas) with zoom in/out
+1. No dependencies. Jolly is implemented in pure JavaScript without any external dependencies (lightweight and portable!). Our philosophy is to avoid using frameworks unless absolutely necessary.
+2. No backend. As long as you have a relatively new-ish browser (e.g. Firefox 3) you can use all of Jolly�s features (e.g. file loading) without a backend component. You can host and run it anywhere. Our philosophy is to avoid using a backend server and do everything in JavaScript.
+3. Hashlife! This is arguably our main contribution to date. Jolly uses hashlife algorithm ( which has been implemented entirely in JavaScript. If you don�t know what hashlife is and why it is a big deal � take a look at the Wikipedia link above.
+4. Load pattern files. If you jump to you will find hundreds of various pattern files. Jolly can load RLE and Plaintext file so that you don�t have to implement patterns by hand.
+5. UI goodness. Jolly implements the standard UI features you would expect. You can zoom in and out, run, step, stop and clear the canvas.
+Planned Features (short term):
+1. A spiffier look and feel. We realise that we have to make Jolly more visually appealing. Colours, buttons and nifty visual effects are what we want. If you can help � please do!
+2. Refactoring. Our code is beautiful but not always. One task is to refactor the code to make it more elegant and inspiring.
+3. Bug fixes and tests. Yes, we might have a few bugs to squash and a few more tests (qunit) to implement.
+4. More pattern files. At the moment Jolly can load two types of files (RLE and Plaintext). Support for other pattern formats is coming. You will also be able to save pattern files to your computer.
+5. User settings. Soon you will be able to tweak how Jolly looks and works for you. Settings will be stored locally on your computer.
@@ -50,12 +50,12 @@ function FileSystem(){
this.handleFileSelect = function(evt){
// Reset progress indicator on new file selection.
- = '0%';
- progress.textContent = '0%';
+ // = '0%';
+ //progress.textContent = '0%';
reader = new FileReader();
reader.onerror = errorHandler;
- reader.onerror = updateProgress;
+ //reader.onerror = updateProgress;
reader.onabort = function(e) {
alert('File read cancelled');
@@ -64,8 +64,8 @@ function FileSystem(){
reader.onload = function(e) {
// Ensure that the progress bar displays 100% at the end.
- = '100%';
- progress.textContent = '100%';
+ // = '100%';
+ //progress.textContent = '100%';
setTimeout("document.getElementById('progress_bar').className='';", 2000);

0 comments on commit 41732e8

Please sign in to comment.