Jump to content




Grassclicker -- Cookie Clicker in Lua


  • You cannot reply to this topic
20 replies to this topic

#1 biggest yikes

  • Members
  • 573 posts

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 by minimite, 24 January 2014 - 08:57 AM.


#2 joshmanisdabomb

  • Members
  • 42 posts
  • LocationHell

Posted 03 January 2014 - 03:56 PM

Your current version link does not work.
Also, screenshots.

#3 biggest yikes

  • Members
  • 573 posts

Posted 03 January 2014 - 07:09 PM

View Postjoshmanisdabomb, on 03 January 2014 - 03:56 PM, said:

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 by minimite, 03 January 2014 - 07:13 PM.


#4 willwac

  • Members
  • 182 posts

Posted 06 January 2014 - 06:55 PM

Well, people won't check it out.
No pics, no clicks.

#5 biggest yikes

  • Members
  • 573 posts

Posted 07 January 2014 - 05:45 PM

View Postwillwac (NewCoolPC), on 06 January 2014 - 06:55 PM, said:

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 by minimite, 07 January 2014 - 05:54 PM.


#6 Agoldfish

  • Members
  • 451 posts
  • LocationSome Fish Bowl in Ohio.

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.

#7 biggest yikes

  • Members
  • 573 posts

Posted 12 January 2014 - 07:33 PM

View PostAgoldfish, on 07 January 2014 - 07:19 PM, said:

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..

#8 Agoldfish

  • Members
  • 451 posts
  • LocationSome Fish Bowl in Ohio.

Posted 13 January 2014 - 09:40 AM

View Postminimite, on 12 January 2014 - 07:33 PM, said:

View PostAgoldfish, on 07 January 2014 - 07:19 PM, said:

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.

#9 biggest yikes

  • Members
  • 573 posts

Posted 16 January 2014 - 05:00 PM

View PostAgoldfish, on 13 January 2014 - 09:40 AM, said:

View Postminimite, on 12 January 2014 - 07:33 PM, said:

View PostAgoldfish, on 07 January 2014 - 07:19 PM, said:

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 by minimite, 16 January 2014 - 05:01 PM.


#10 svdragster

  • Members
  • 222 posts
  • LocationGermany

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.

#11 biggest yikes

  • Members
  • 573 posts

Posted 19 January 2014 - 02:35 PM

View Postsvdragster, on 19 January 2014 - 06:25 AM, said:

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..

#12 svdragster

  • Members
  • 222 posts
  • LocationGermany

Posted 19 January 2014 - 03:42 PM

Why do you avoid indentation?

#13 biggest yikes

  • Members
  • 573 posts

Posted 22 January 2014 - 05:48 PM

View Postsvdragster, on 19 January 2014 - 03:42 PM, said:

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 by minimite, 22 January 2014 - 05:49 PM.


#14 svdragster

  • Members
  • 222 posts
  • LocationGermany

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.

#15 awsmazinggenius

  • Members
  • 930 posts
  • LocationCanada

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.

#16 biggest yikes

  • Members
  • 573 posts

Posted 26 January 2014 - 02:43 PM

View Postawsmazinggenius, on 26 January 2014 - 12:46 AM, said:

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 by minimite, 26 January 2014 - 02:44 PM.


#17 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 11 February 2014 - 06:25 PM

View Postminimite, on 26 January 2014 - 02:43 PM, said:

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

#18 biggest yikes

  • Members
  • 573 posts

Posted 18 February 2014 - 07:51 PM

View PostHellkid98, on 11 February 2014 - 06:25 PM, said:

View Postminimite, on 26 January 2014 - 02:43 PM, said:

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.

#19 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 19 February 2014 - 12:37 PM

View Postminimite, on 26 January 2014 - 02:43 PM, said:

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

#20 biggest yikes

  • Members
  • 573 posts

Posted 20 February 2014 - 04:55 PM

View PostHellkid98, on 19 February 2014 - 12:37 PM, said:

View Postminimite, on 26 January 2014 - 02:43 PM, said:

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 by minimite, 23 February 2014 - 03:32 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users