Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

snake variables and bot.isBotRunning #320

Open
vasinwr opened this issue Jul 11, 2016 · 1 comment
Open

snake variables and bot.isBotRunning #320

vasinwr opened this issue Jul 11, 2016 · 1 comment

Comments

@vasinwr
Copy link
Contributor

vasinwr commented Jul 11, 2016

Is there an explanation somewhere on what each variable/field of the 'snake' object means?

screen shot 2016-07-12 at 11 32 23

Also, can I ask what 'bot.isBotRunning' does? It has always been 'true' for me throughout the game no matter what I do.

Thanks.

@vasinwr vasinwr changed the title bot.isBotRunning snake variables and bot.isBotRunning Jul 12, 2016
@ChadSki
Copy link
Collaborator

ChadSki commented Jul 13, 2016

There was a valiant attempt at documentation here.

A good rule of thumb is that short, confusing names are built-in variables. Longer, easy-to-read names are ones we added. You can find bot.isBotRunning in our source code. I think it is false if you haven't started a game yet?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants