diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2019-06-29 10:52:18 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2019-06-29 10:52:18 +0200 |
commit | 886d7f75bca7078799074f0b4e7b80c6f8081f5f (patch) | |
tree | 47e9463043bbc7118d8be494fad2340da6c6dc11 /src/constants.rs | |
parent | d5070033892a531fab75ae1951deeb25c2d5f741 (diff) |
Put score allocation behind constants
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs index 2d5d161..1c34377 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -169,3 +169,10 @@ pub const BOMB_DAMAGES: [(Vec2d<i8>, i32); BOMB_DAMAGED_SPACES] = [ (Vec2d::new(-1, 0), 13), (Vec2d::new(0, 0), 20), ]; + +pub const MISSED_ATTACK_SCORE: i32 = 2; +pub const ATTACK_SCORE_MULTIPLIER: i32 = 2; +pub const KILL_SCORE: i32 = 40; +pub const DIG_SCORE: i32 = 7; +pub const MOVE_SCORE: i32 = 5; +pub const INVALID_COMMAND_SCORE_PENALTY: i32 = 4; |