summaryrefslogtreecommitdiffstats
path: root/CLI/rust/src/game_of_life/generators/input.rs
blob: 2ce8944c373f686198a3d2b8df4365c89991d0a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
use crate::game_of_life::opts::Opts;
use crate::game_of_life::universe::Universe;

/// Generate a new Universe/Board with a parsed local file or remote URL/file
///
/// If a URL is provided as an input (starting with http/ftp) the URL/File will be downloaded
/// and parsed to generate a seeding input for the simulation
/// otherwise, it'll be assumed that it's a path to a local file that will be parsed, and
/// used as the seeding input
pub(crate) fn new(opts: Opts) -> Universe {
    unimplemented!()
}