File tree Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ Agent Log:
8
8
9
9
Next steps for agents:
10
10
- Ensure `src/widgets/mod.rs` declares:
11
- pub mod asciiquarium;
12
- pub mod asciiquarium_assets;
11
+ pub mod asciiquarium;
12
+ pub mod asciiquarium_assets;
13
13
*/
14
14
15
15
#![ forbid( unsafe_code) ]
Original file line number Diff line number Diff line change 1
- use super :: asciiquarium:: FishArt ;
1
+ /*!
2
+ Asciiquarium assets: a small curated set of ASCII fish plus a helper to auto-measure width and height for any multi-line ASCII art.
3
+
4
+ Notes:
5
+ - Width is the maximum visible character count across all lines (Unicode scalar count).
6
+ - Height is the total number of lines returned by `.lines()`.
7
+ - Leading/trailing blank lines in raw strings will count toward height.
8
+ - Rendering code will clip as needed; assets need not avoid whitespace.
9
+
10
+ These assets are intentionally simple; expand as desired with additional creatures.
2
11
3
- /// Asciiquarium assets: a small curated set of ASCII fish plus a helper
4
- /// to auto-measure width and height for any multi-line ASCII art.
5
- ///
6
- /// Notes:
7
- /// - Width is the maximum visible character count across all lines (Unicode scalar count).
8
- /// - Height is the total number of lines returned by `.lines()`.
9
- /// - Leading/trailing blank lines in raw strings will count toward height.
10
- /// - Rendering code will clip as needed; assets need not avoid whitespace.
11
- ///
12
- /// These assets are intentionally simple; expand as desired with additional creatures.
12
+ Example:
13
+ ```text
14
+ <º)))><
15
+ ```
16
+ */
17
+
18
+ use super :: asciiquarium:: FishArt ;
13
19
14
20
const FISH_01 : & str = r#"<º)))><"# ; // Facing right
15
21
const FISH_02 : & str = r#"><(((º>"# ; // Facing left
You can’t perform that action at this time.
0 commit comments