Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed some car issues.
  • Loading branch information
aurelw committed Feb 16, 2017
1 parent d78001b commit 273e4cb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions gti.c
Expand Up @@ -194,6 +194,17 @@ void line_at(int start_x, const char *s)
void draw_car(int x)
{
move_to_top();
if (x == 23) {
line_at(x, " | |");
line_at(x, " ___ _ __ ___| |");
line_at(x, " / _ \\| '_ \\ / _ \\ |");
line_at(x, "| (_) | |_) | __/ |");
line_at(x, " \\___/| .__/ \\___|_|");
line_at(x, " | | ");
line_at(x, " |_| ");
return;
}

line_at(x, " ,---------------.");
line_at(x, " / /``````|``````\\\\");
line_at(x, " / /_______|_______\\\\________");
Expand All @@ -207,6 +218,7 @@ void draw_car(int x)
line_at(x, " ` X -------------- X '");
line_at(x, " ':-:' ':-:' ");
}

}

void clear_car(int x)
Expand Down

0 comments on commit 273e4cb

Please sign in to comment.