standard_new_game/
standard_new_game.rs

1use rustorio::{
2    self, Bundle, ResourceType, Tick,
3    gamemodes::{self},
4};
5
6type GameMode = gamemodes::Standard;
7
8type StartingResources = <GameMode as gamemodes::GameMode>::StartingResources;
9
10fn main() {
11    rustorio::play::<GameMode>(user_main);
12}
13
14fn user_main(mut tick: Tick, starting_resources: StartingResources) -> (Tick, Bundle<{ ResourceType::Point }, 10>) {
15    let StartingResources { iron } = starting_resources;
16
17    todo!("Return the `tick` and the victory resources to win the game!")
18}