When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
7 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
So what you want?
So the current question I am stuck with is where I have to paint a canvas in black and white stripes
this is the code I have
I tried doing it so that the turtle first walks from left to right and then goes up one stripe but it didnt work, so I switched to making it walk from the bottom to the top
void turtle_advance(TurtleCanvas *c);
void turtle_rotate_left(TurtleCanvas *c);
void turtle_rotate_right(TurtleCanvas *c);
void turtle_toggle_color(TurtleCanvas *c);
size_t turtle_canvas_width(TurtleCanvas *c);
size_t turtle_canvas_height(TurtleCanvas *c);
these are the functions that are predefined and I'm free to use
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity