Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**Possible Defined Arrays**/
- int move_4_side[4][2] = {{+1,0}, {0,+1}, {-1,0}, {0,-1}};//4 Direction
- int move_4_diagonal[4][2] = {{-1,-1}, {-1,+1}, {+1,+1}, {+1,-1}};///diagonal Direction
- int move_8_side[8][2] = {{0,+1}, {+1,+1}, {+1,0}, {+1,-1}, {0,-1}, {-1,-1}, {-1,0}, {-1,+1}};///8 Direction
- int knight_moves[8][2] = {{+2,+1}, {+1,+2}, {-1,+2}, {-2,+1}, {-2,-1}, {-1,-2}, {+1,-2}, {+2,-1}};///Knight Direction
- int days_in_months[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
Advertisement
Add Comment
Please, Sign In to add comment