Skip to content

sskender/ASCIIcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCIIcalc

Calculating with numbers in ASCII art

Implemented so far

  • Addition
  • Subtraction
  • Multiplication
  • Division

Example

Input: 1023 + 456789

....x.xxxxx.xxxxx.xxxxx.......x...x.xxxxx.xxxxx.xxxxx.xxxxx.xxxxx
....x.x...x.....x.....x...x...x...x.x.....x.........x.x...x.x...x
....x.x...x.....x.....x...x...x...x.x.....x.........x.x...x.x...x
....x.x...x.xxxxx.xxxxx.xxxxx.xxxxx.xxxxx.xxxxx.....x.xxxxx.xxxxx
....x.x...x.x.........x...x.......x.....x.x...x.....x.x...x.....x
....x.x...x.x.........x...x.......x.....x.x...x.....x.x...x.....x
....x.xxxxx.xxxxx.xxxxx...........x.xxxxx.xxxxx.....x.xxxxx.....x

Output: 457812

X...X.XXXXX.XXXXX.XXXXX.....X.XXXXX
X...X.X.........X.X...X.....X.....X
X...X.X.........X.X...X.....X.....X
XXXXX.XXXXX.....X.XXXXX.....X.XXXXX
....X.....X.....X.X...X.....X.X....
....X.....X.....X.X...X.....X.X....
....X.XXXXX.....X.XXXXX.....X.XXXXX

About

Calculating with numbers in ASCII art

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published