Skip to main content
15 events
when toggle format what by license comment
Sep 30, 2016 at 9:03 answer added Quentin timeline score: 0
Sep 30, 2016 at 8:28 vote accept James Balajan
Sep 30, 2016 at 8:25 history edited James Balajan CC BY-SA 3.0
added 158 characters in body
Sep 30, 2016 at 8:19 answer added Bálint timeline score: 1
Sep 30, 2016 at 8:19 comment added James Balajan @Tyyppi_77 It is both. As a result of me not being able to implement the data from my linked list efficiently the extra spaces are added and the frames are glitchy. Before I added the while loop for the tail the program worked off of an if else system to know what to print to the screen. Now the if else system is broken by the while loop, resulting in extra spaces.
Sep 30, 2016 at 8:17 history edited James Balajan CC BY-SA 3.0
added 90 characters in body
Sep 30, 2016 at 8:17 comment added user35344 So help me undestand. Your question both contains "but I do not know how to implement this data into my draw function." and "Unfortunately by doing so extra spaces are added and the frames are extremely glitchy.". Which one is it?
Sep 30, 2016 at 8:16 comment added James Balajan @Tyyppi_77 Reread the question please, I don't think you understand.
Sep 30, 2016 at 8:15 comment added user35344 So you are asking the extremely broad question "how to improve my draw function?"?
Sep 30, 2016 at 8:15 comment added Bálint There's a chance, that the console you are using doesn't use monospace characters, thus the width of a hashtag and a space is not the same
Sep 30, 2016 at 8:14 comment added James Balajan @Tyyppi_77 As I've stated, I'm able to create nodes and append them. I just don't know how to efficiently display the data through my draw function.
Sep 30, 2016 at 8:13 comment added Quentin Could you manage to take a screenshot of the "extra spaces" ? About the glitchy frames, you should probably flush the output only once, at the end of the frame, instead of every line.
Sep 30, 2016 at 8:12 comment added user35344 So just to clarify: you want to know how to spawn a new node at the end of the snake when the snake eats a fruit? And what's this about the while loop? You've determined that using a while loop causes additional space characters appearing?
Sep 30, 2016 at 8:05 review First posts
Sep 30, 2016 at 10:01
Sep 30, 2016 at 8:05 history asked James Balajan CC BY-SA 3.0