summaryrefslogtreecommitdiffstats
path: root/pacman-c++/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/constants.h')
-rw-r--r--pacman-c++/constants.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h
index a14e623..06b6561 100644
--- a/pacman-c++/constants.h
+++ b/pacman-c++/constants.h
@@ -27,6 +27,16 @@ namespace Constants {
27 { 27 {
28 const unsigned int bonus_point_value = 100; 28 const unsigned int bonus_point_value = 100;
29 const unsigned int point_value = 10; 29 const unsigned int point_value = 10;
30 /* players will be placed with this minimum manhattan distance */
31 const unsigned int player_minimum_distance = 5;
32 /* if the distance above isn't possible, decrease the distance by this value */
33 const unsigned int player_distance_decr = 2;
34 }
35
36 namespace Random
37 {
38 /* there's a chance of 1:20 that a bonus point will be added */
39 const unsigned int bouns_point_chance = 20;
30 } 40 }
31} 41}
32 42