diff options
Diffstat (limited to 'pacman-c++/constants.h')
| -rw-r--r-- | pacman-c++/constants.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index dc72611..20a0e15 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h | |||
| @@ -41,6 +41,17 @@ namespace Constants { | |||
| 41 | const unsigned int colorize_block_tickcount_min = 50; | 41 | const unsigned int colorize_block_tickcount_min = 50; |
| 42 | const unsigned int colorize_block_tickcount_max = 100; | 42 | const unsigned int colorize_block_tickcount_max = 100; |
| 43 | } | 43 | } |
| 44 | |||
| 45 | namespace AI | ||
| 46 | { | ||
| 47 | /* bots minimum manhatten distance before other players will be recognized */ | ||
| 48 | const unsigned int player_minimum_distance = 4; | ||
| 49 | /* weight values used to determine new direction of bot */ | ||
| 50 | const unsigned int weight_afraid = 50; | ||
| 51 | const unsigned int weight_hunt = 10; | ||
| 52 | const unsigned int weight_bonus_point = 3; | ||
| 53 | const unsigned int weight_point = 1; | ||
| 54 | } | ||
| 44 | } | 55 | } |
| 45 | 56 | ||
| 46 | namespace Color | 57 | namespace Color |
