Idea of IRL rpg on command line initiated.
parent
0db1c2afbd
commit
f6c2773611
|
@ -0,0 +1,7 @@
|
||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
version = 3
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "code"
|
||||||
|
version = "0.1.0"
|
|
@ -0,0 +1,8 @@
|
||||||
|
[package]
|
||||||
|
name = "code"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
|
@ -0,0 +1,16 @@
|
||||||
|
use std::io::stdin;
|
||||||
|
use std::fs;
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
// Input to skills
|
||||||
|
let mut input_string = String::new();
|
||||||
|
stdin().read_line(&mut input_string).ok().expect("Error while reading input.");
|
||||||
|
println!("{:?}", input_string);
|
||||||
|
|
||||||
|
// Read Skills - format?
|
||||||
|
let content = fs::read_to_string("../../skills.txt").expect("Error while reading file.");
|
||||||
|
println!("All skills:\n{}", content)
|
||||||
|
|
||||||
|
// List skill levels
|
||||||
|
// ...
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
{"rustc_fingerprint":16714771619765513548,"outputs":{"15537503139010883884":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n","stderr":""},"17598535894874457435":{"success":true,"status":"","code":0,"stdout":"rustc 1.57.0 (f1edd0429 2021-11-29)\nbinary: rustc\ncommit-hash: f1edd0429582dd29cccacaf50fd134b05593bd9c\ncommit-date: 2021-11-29\nhost: x86_64-unknown-linux-gnu\nrelease: 1.57.0\nLLVM version: 13.0.0\n","stderr":""},"931469667778813386":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/six/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"2797684049618456168":{"success":false,"status":"exit status: 1","code":1,"stdout":"","stderr":"error: `-Csplit-debuginfo` is unstable on this platform\n\n"}},"successes":{}}
|
|
@ -0,0 +1,3 @@
|
||||||
|
Signature: 8a477f597d28d172789f06886806bc55
|
||||||
|
# This file is a cache directory tag created by cargo.
|
||||||
|
# For information about cache directory tags see https://bford.info/cachedir/
|
|
@ -0,0 +1 @@
|
||||||
|
2136a22337b65c36
|
|
@ -0,0 +1 @@
|
||||||
|
{"rustc":7409016768189200941,"features":"[]","target":15690610733060188954,"profile":9251013656241001069,"path":1036222786711178230,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/code-2f16a75f6f4e9b63/dep-bin-code"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
This file has an mtime of when this was started.
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
/home/six/c/IRLrpg/code/target/debug/code: /home/six/c/IRLrpg/code/src/main.rs
|
Binary file not shown.
|
@ -0,0 +1,5 @@
|
||||||
|
/home/six/c/IRLrpg/code/target/debug/deps/code-2f16a75f6f4e9b63: src/main.rs
|
||||||
|
|
||||||
|
/home/six/c/IRLrpg/code/target/debug/deps/code-2f16a75f6f4e9b63.d: src/main.rs
|
||||||
|
|
||||||
|
src/main.rs:
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,17 @@
|
||||||
|
Make bed
|
||||||
|
Brush teeth
|
||||||
|
Shower
|
||||||
|
Tasks review today
|
||||||
|
Code for 1 hour
|
||||||
|
Watch useful documentary
|
||||||
|
Contact relative(s)
|
||||||
|
Reading 20 pages from a book
|
||||||
|
Practice a language for 15 mins
|
||||||
|
Meditation
|
||||||
|
Running
|
||||||
|
Martial arts training
|
||||||
|
Self-defense training
|
||||||
|
Gym training
|
||||||
|
Getting into bed in time
|
||||||
|
Partial House cleanup
|
||||||
|
Full House cleanup
|
Loading…
Reference in New Issue