Skip to content

Instantly share code, notes, and snippets.

@jkeesh
Last active January 26, 2017 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jkeesh/5119210 to your computer and use it in GitHub Desktop.
Save jkeesh/5119210 to your computer and use it in GitHub Desktop.
New indenting style for beginners
function start()
{
if(frontIsClear())
{
move();
}
else
{
putBall();
}
for(var i = 0; i < 4; i++)
{
if(noBallsPresent())
{
putBall();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment