This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
biggest yikes's profile picture

Grassclicker -- Cookie Clicker in Lua

Started by biggest yikes, 23 December 2013 - 07:12 PM
biggest yikes #1
Posted 23 December 2013 - 08:12 PM
Hey!
Now I have a program that I've been working on.
It's called grassclicker. It's cookie clicker, but with grass block instead.
Right now I only have the cursor upgrade.
Enjoy! :D/>

NOTICE: Currently I can't update this due to school. I know its a snow day by this time, but I'm doing things. (Like working on War..)
However, I'll be posting a new program (hopefully) that I'll update a lot on the weekends and after school called War. Look out for that!

Current Version:
pastebin get EY16QpQa grassclicker
http://www.pastebin.com/EY16QpQa

Screenshots:
I can't get them working for some reason…If I find one image sharer that WORKS (imgur doesn't :(/>) I'll get on and fix it..Sorry!
Edited on 24 January 2014 - 07:57 AM
joshmanisdabomb #2
Posted 03 January 2014 - 03:56 PM
Your current version link does not work.
Also, screenshots.
biggest yikes #3
Posted 03 January 2014 - 07:09 PM
Your current version link does not work.
Also, screenshots.
Woops, Must of been expired. If I still have it I'll fix it…
EDIT: Nah, don't have 0.2. I'll just deal with 0.1.
For the screenshots, I'm too lazy, personally. If I'm bored I'll get those.
Got stuff to do!
Edited on 03 January 2014 - 06:13 PM
willwac #4
Posted 06 January 2014 - 06:55 PM
Well, people won't check it out.
No pics, no clicks.
biggest yikes #5
Posted 07 January 2014 - 05:45 PM
Well, people won't check it out.
No pics, no clicks.
Ehehe, I know. Since I have nothing else to do, I'll post a few screenies right now and do something else after that.
EDIT: Can't get em' to work..Dang it! At least now I have an excuse…
Edited on 07 January 2014 - 04:54 PM
Agoldfish #6
Posted 07 January 2014 - 07:19 PM
I'll put screenies if you want me to. Also, you can buy auto clickers even if you don't have enough.
biggest yikes #7
Posted 12 January 2014 - 07:33 PM
I'll put screenies if you want me to. Also, you can buy auto clickers even if you don't have enough.
Sure!
And I guess it pays off that you get negative..
Agoldfish #8
Posted 13 January 2014 - 09:40 AM
I'll put screenies if you want me to. Also, you can buy auto clickers even if you don't have enough.
Sure!
And I guess it pays off that you get negative..
Well, I'm just saying, in Cookie Clicker, you can't buy things if you don't have enough.
biggest yikes #9
Posted 16 January 2014 - 05:00 PM
I'll put screenies if you want me to. Also, you can buy auto clickers even if you don't have enough.
Sure!
And I guess it pays off that you get negative..
Well, I'm just saying, in Cookie Clicker, you can't buy things if you don't have enough.
I know.
When I can, I'll see if I can make a small update, I can't really update this and lots of other things currently because of school stuff, maybe on spring break or something I will make big updates..
Edited on 16 January 2014 - 04:01 PM
svdragster #10
Posted 19 January 2014 - 06:25 AM
The code is a bit confusing ^^ You should maybe add comments with – or rename your variables.
Also: indention makes it way better to read.
biggest yikes #11
Posted 19 January 2014 - 02:35 PM
The code is a bit confusing ^^ You should maybe add comments with – or rename your variables.
Also: indention makes it way better to read.
Indention I am glad lua doesn't require. I avoid indentation.
Also, I don't use comments much..
svdragster #12
Posted 19 January 2014 - 03:42 PM
Why do you avoid indentation?
biggest yikes #13
Posted 22 January 2014 - 05:48 PM
Why do you avoid indentation?
Because in most languages indentation is REQUIRED. I find that so annoying that I avoid it as a whole.
Like in python you have to indent in random places for no reason I see. It's irritating.
Edited on 22 January 2014 - 04:49 PM
svdragster #14
Posted 25 January 2014 - 01:21 PM
In Lua you actually do it to read better. In a small program like this it shouldn't be a big problem to read, but in programs with over 1000 lines it sure is.
awsmazinggenius #15
Posted 26 January 2014 - 12:46 AM
75 lines of my own code is enough to get me to indent and comment, I can't stand reading 20 lines of another's non-indented, non-commented code.
biggest yikes #16
Posted 26 January 2014 - 02:43 PM
75 lines of my own code is enough to get me to indent and comment, I can't stand reading 20 lines of another's non-indented, non-commented code.
I get your point, its just I find it irritating and time-consuming to do that. And plus, I don't even understand where you would put indents.
And I have nothing for comments.
Why were we talking about indentions and comments?
Edited on 26 January 2014 - 01:44 PM
TheOddByte #17
Posted 11 February 2014 - 06:25 PM
I get your point, its just I find it irritating and time-consuming to do that. And plus, I don't even understand where you would put indents.
And I have nothing for comments.
Why were we talking about indentions and comments?
Well I guess because your code is un-indented, Indenting code should be a habit so it is easier for others( and yourself ) to read it, But that shouldn't be what we should be discussing really.
As long as the code works and we have something positive or we detect bugs then we should discuss that. And I have a suggestion for your program, Localize your variables or else it may mess up some program, Global variables is often bad :P/>
biggest yikes #18
Posted 18 February 2014 - 07:51 PM
I get your point, its just I find it irritating and time-consuming to do that. And plus, I don't even understand where you would put indents.
And I have nothing for comments.
Why were we talking about indentions and comments?
Well I guess because your code is un-indented, Indenting code should be a habit so it is easier for others( and yourself ) to read it, But that shouldn't be what we should be discussing really.
As long as the code works and we have something positive or we detect bugs then we should discuss that. And I have a suggestion for your program, Localize your variables or else it may mess up some program, Global variables is often bad :P/>
I do localize my variables usually, I just wasn't thinking about it. Again, I'll update that in spring break or some large break.
TheOddByte #19
Posted 19 February 2014 - 12:37 PM
I do localize my variables usually, I just wasn't thinking about it. Again, I'll update that in spring break or some large break.
Huh? It's like 6 variables, It will take you like 2 seconds todo :P/>
biggest yikes #20
Posted 20 February 2014 - 04:55 PM
I do localize my variables usually, I just wasn't thinking about it. Again, I'll update that in spring break or some large break.
Huh? It's like 6 variables, It will take you like 2 seconds todo :P/>
I know the exact words you're going to say to this, but technically it would take more then 2 seconds.
I've been kinda busy with other things, that I haven't much time to work much on these things
So..Yeah. I'm not that great with programming so you'll have to bear with me.
You could also technically change that in the meantime…
Edited on 23 February 2014 - 02:32 PM
Symmetryc #21
Posted 20 February 2014 - 05:04 PM
I do localize my variables usually, I just wasn't thinking about it. Again, I'll update that in spring break or some large break.
Huh? It's like 6 variables, It will take you like 2 seconds todo :P/>
I know the exact words you're going to say to this, but technically it would take more then 2 seconds.
I've been kinda busy with other things, that I haven't much time to work much on these things Like Symmetryc hating me
So..Yeah. I'm not that great with programming even Symmetryc says that so you'll have to bear with me.
You could also technically change that in the meantime…
I was simply correctly wrong information, I did nothing close to hating nor saying that you were not great with programming…

If you wanted to talk about it further, I'd prefer for you to just hop on the server and talk to me face to face…
Edited on 20 February 2014 - 04:05 PM