Skip to main content

kuh_handel_lib/
lib.rs

1/// modules defining different messages
2pub mod messages {
3    pub mod actions;
4    pub mod game_updates;
5    pub mod message_protocol;
6}
7
8/// modules used for managing animals
9pub mod animals;
10
11/// used to connect to a game server and handles messaging
12pub mod client;
13
14/// modules used for implementing a bot
15pub mod player {
16    pub mod base_player;
17    pub mod leon_bot;
18    pub mod player_actions;
19    pub mod player_error;
20    pub mod random_player;
21    pub mod simple_player;
22    pub mod wallet;
23}
24
25/// represents a valid bill
26pub type Money = usize;
27
28/// represents the value of something, e.g. an amount that needs to be payed or the value of an animal
29pub type Value = usize;
30
31#[cfg(test)]
32mod tests {}