Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double the size of cell when print #19

Closed
kbumsik opened this issue Feb 15, 2017 · 2 comments
Closed

Double the size of cell when print #19

kbumsik opened this issue Feb 15, 2017 · 2 comments
Assignees

Comments

@kbumsik
Copy link
Owner

kbumsik commented Feb 15, 2017

Our maze currently prints only a single character size cells. But it restricts expression our algorithms.
So we need to increase the size. Here is how our sample maze should look like (it replaces a file simulation/1.txt

 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ 
|  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  |
 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 
|  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  |
 ** ** ** ** ** ** ** __ ** ** ** ** ** ** ** ** 
|  *  *  *  *  *  *  |  |  *  *  *  *  *  *  *  |
 __ __ __ __ __ __ __ .. ** ** ** ** ** ** ** ** 
|  .  .  .  .  .  .  .  |  *  *  *  *  *  *  *  |
 .. .. __ __ __ __ __ __ __ ** ** ** ** ** ** ** 
|  |  .  .  .  .  .  .  |  |  *  *  *  *  *  *  |
 .. .. __ __ __ __ __ __ .. ** ** ** ** ** ** ** 
|  |  .  .  .  .  .  .  .  |  *  *  *  *  *  *  |
 .. .. __ __ __ __ __ __ .. ** ** ** ** ** ** ** 
|  |  |  *  *  *  *  *  |  |  *  *  *  *  *  *  |
 .. .. ** ** ** ** ** __ .. ** ** ** ** ** ** ** 
|  |  |  *  *  *  *  |G .G |  *  *  *  *  *  *  |
 .. .. ** ** ** __ __ .. .. __ __ __ __ ** ** ** 
|  |  |  *  *  |  .  .G .G |  .  .  .  |  *  *  |
 .. .. __ __ __ .. __ __ __ __ __ __ .. ** ** ** 
|  |  .  .  .  |  .  .  .  .  |  .  |  |  *  *  |
 .. __ __ __ .. .. __ __ __ .. __ __ .. ** ** ** 
|  .  .  .  |  |  |  .  .  |  .  .  .  |  *  *  |
 __ __ __ .. .. .. __ __ __ .. __ __ .. ** ** ** 
|  .  .  .  |  |  .  .  .  .  .  .  |  |  *  *  |
 .. __ __ __ .. __ __ __ __ __ __ __ .. ** ** ** 
|  .  .  .  |  .  .  .  .  .  .  .  .  |  *  *  |
 __ __ __ __ .. __ __ __ __ __ __ __ __ ** ** ** 
|  .  .  .  .  |  *  *  *  *  |  .  |  *  *  *  |
 .. .. __ __ __ ** ** ** ** ** .. .. ** ** ** ** 
|  |  |  *  *  *  *  *  *  *  |  |  |  *  *  *  |
 .. .. __ __ __ __ __ __ __ __ .. __ ** ** ** ** 
|S |  .  .  .  .  .  .  .  .  .  |  *  *  *  *  |
 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ 

And when print with distance:

 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ 
|  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  |
 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 
|  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  |
 ** ** ** ** ** ** ** __ ** ** ** ** ** ** ** ** 
|  *  *  *  *  *  *  |  |  *  *  *  *  *  *  *  |
 __ __ __ __ __ __ __ .. ** ** ** ** ** ** ** ** 
|  .  .  .  .  .  .  .  |  *  *  *  *  *  *  *  |
 .. .. __ __ __ __ __ __ __ ** ** ** ** ** ** ** 
|  |  .  .  .  .  .  .  |  |  *  *  *  *  *  *  |
 .. .. __ __ __ __ __ __ .. ** ** ** ** ** ** ** 
|  |  .  .  .  .  .  .  .  |  *  *  *  *  *  *  |
 .. .. __ __ __ __ __ __ .. ** ** ** ** ** ** ** 
|  |  |  *  *  *  *  *  |  |  *  *  *  *  *  *  |
 .. .. ** ** ** ** ** __ .. ** ** ** ** ** ** ** 
|  |15|  *  *  *  *  |G .G |  *  *  *  *  *  *  |
 .. .. ** ** ** __ __ .. .. __ __ __ __ ** ** ** 
|  |14|  *  *  |  .  .G .G |  .  .  .  |  *  *  |
 .. .. __ __ __ .. __ __ __ __ __ __ .. ** ** ** 
|  |13.12.11.10|  .  .  .  .  |  .  |  |  *  *  |
 .. __ __ __ .. .. __ __ __ .. __ __ .. ** ** ** 
|  .  .  .  |9 |  |  .  .  |  .  .  .  |  *  *  |
 __ __ __ .. .. .. __ __ __ .. __ __ .. ** ** ** 
|  .  .  .  |8 |  .  .  .  .  .  .  |  |  *  *  |
 .. __ __ __ .. __ __ __ __ __ __ __ .. ** ** ** 
|  .  .  .  |7 .  .  .  .  .  .  .  .  |  *  *  |
 __ __ __ __ .. __ __ __ __ __ __ __ __ ** ** ** 
|2 .3 .4 .5 .6 |  *  *  *  *  |  .  |  *  *  *  |
 .. .. __ __ __ ** ** ** ** ** .. .. ** ** ** ** 
|1 |  |  *  *  *  *  *  *  *  |  |  |  *  *  *  |
 .. .. __ __ __ __ __ __ __ __ .. __ ** ** ** ** 
|S |  .  .  .  .  .  .  .  .  .  |  *  *  *  *  |
 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ 
@gonzagab
Copy link
Collaborator

#21 Check it out

kbumsik added a commit that referenced this issue Feb 16, 2017
@kbumsik
Copy link
Owner Author

kbumsik commented Feb 19, 2017

This issue is resolved. Thank you @gonzagab !

@kbumsik kbumsik closed this as completed Feb 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants