Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 4
    After taking a little peek at the code, you really need to start indenting it. Commented Jun 28, 2011 at 19:05
  • Should I? I don't mind the way that I write it, I can read it fine. Also I will be minifying the javascript so that it will be harder for users to hack their score. Commented Jun 28, 2011 at 19:22
  • 4
    Indentions are to make the code easier for the programmers to read. If you worked where I work, you would be required to use indentions because you would not be the only programmer to need to work on it during the life of the product. As for your game, if you (really?) don't mind, then don't worry about it. You can always run it through an IDE or JsTidy later on. Commented Jun 28, 2011 at 19:46
  • 1
    Do you know jsdo.it? There are many games like yours there. Commented Jun 28, 2011 at 23:01
  • 1
    @jmort253 wow this post takes me way back. Don't worry, this is when I was a newbie. Commented Jan 4, 2013 at 1:11