Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
John Conway's Life with growth, aging
#4
Thanks for your replies! 

On the popu%, being there are 80 rows and 40 columns, and an organism is only born in a blank space, the most there could ever be would be 80x40 =3,200 organisms, which is well under the 32,767 limit of the integer data type. Is that not correct? 

Multiple keypresses would definitely seem shoddy - I didn't have that happen, and even added code to _prevent_ the same key from being held down or pressed twice (that's what the variable LastKey% is for). And it uses _KeyClear to make sure the buffer doesn't fill up with phantom keypresses. In addition, there is a constant cKeyDelay that controls how many frames the program waits before it allows a held down key to repeat. I tried to pay a lot of attention to the keyboard behavior, so to hear it called shoddy by @bplus of all people is somewhat alarming! What am I doing wrong??

Really, an easier interface for placing organisms would be to just use a mouse, but I would like to know what's not right in the keyboard routine, if only because I use that same method in my other programs. 

Thanks again for your feedback guys.
Reply


Messages In This Thread
RE: John Conway's Life with growth, aging - by madscijr - 06-07-2025, 05:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information Life james2464 23 4,669 08-16-2022, 02:19 AM
Last Post: james2464

Forum Jump:


Users browsing this thread: 1 Guest(s)