Yar

Sign in to follow this  
  • entries
    208
  • comments
    383
  • views
    65546

Refactor

Sign in to follow this  
H_o_p_s

97 views

Okay, I've been thinking about it, and I think that I'm going to do a massive refactoring of all my code. I have some classes that I don't need, and I want to change my general drawing algo.

currently:
00..10..20..30..40..50
..01..11..21..31..41..51
02..12..22..32..42..52
..03..13..23..33..43..53
04..14..24..34..44..54
..05..15..25..35..45..55

will be changed to:
..........00..........
........01..10........
......02..11..20......
....03..12..21..30....
..04..13..22..31..40..
05..14..23..32..41..50
..15..24..33..42..51..
....25..34..43..52....
......35..44..53......
........45..54........
..........55..........


This is becaues the diamond shape seems to be the more standard. So the only algo that needs to be changed is the drawing, and then all that needs to be done is the refactoring of the code...

Oh the fun!


Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now