Skip to content

galikechichian/ascii-art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ascii-art

This is a command line tool, so make sure to compile and run asciidraw.c to start creating.

Possible commands:

GRID		  x y        -- grid size - 2 integers
CHAR		  c          -- pen - single character
RECTANGLE	a,b c,d    -- top left corner and bottom right cordner coords - 4 integers
LINE		  a,b c,d    -- endpoint coords - 4 integers
CIRCLE	  x,y r      -- center coords and radius - 3 integers
END                  -- exits the game
DISPLAY              -- displays the grid

Example of simple game commands and outputs:

GRID 10 10
DISPLAY
9          
8          
7          
6          
5          
4          
3          
2          
1          
0          
 0123456789
LINE 0,0 4,5
CHAR ^
LINE 0,5 5,0
DISPLAY
9          
8          
7          
6          
5^         
4 ^  *     
3  ^*      
2  *^      
1 *  ^     
0*    ^    
 0123456789
END

About

Make cool ascii art from your command line!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages