todo update
This commit is contained in:
52
TODO.md
52
TODO.md
@@ -28,7 +28,7 @@
|
||||
- [x] **`cow_university`**
|
||||
- [x] Cow says prime numbers up to `n`.
|
||||
- [x] **`smart_cow`**
|
||||
- [ ] Cow says a simple arithmetic expression (e.g., "3+11"), eyes show the result.
|
||||
- [x] Cow says a simple arithmetic expression (e.g., "3+11"), eyes show the result.
|
||||
- [x] **`crazy_cow`**
|
||||
- [x] Create a "crazy arithmetic cow" script with something unusual or complex.
|
||||
|
||||
@@ -39,13 +39,13 @@
|
||||
- [x] **`newcow.c`**
|
||||
- [x] Create `affiche_vache` function: displays a cow without a speech bubble.
|
||||
- [x] Compile and run.
|
||||
- [ ] **Add Features**
|
||||
- [x] **Add Features**
|
||||
- [x] Support `-e`/ `--eyes` option to change cow's eyes.
|
||||
- [ ] Implement other options from `cowsay` manpage.
|
||||
- [ ] **New Feature**
|
||||
- [ ] Implement a new feature (e.g., `--tail L` to adjust tail length, or display a herd).
|
||||
- [x] Implement other options from `cowsay` manpage.
|
||||
- [x] **New Feature**
|
||||
- [x] Implement a new feature (e.g., `--tail L` to adjust tail length, or display a herd).
|
||||
- [x] **`wildcow`**
|
||||
- [~] Test and explain `update()` and `gotoxy()`.
|
||||
- [-] Test and explain `update()` and `gotoxy()`.
|
||||
- [x] Create an animated cow using `update()`, `gotoxy()`, and `sleep()`.
|
||||
- [x] **`reading_cow`**
|
||||
- [x] Cow "reads" a file character by character, displaying each in its mouth before "swallowing".
|
||||
@@ -54,30 +54,30 @@
|
||||
|
||||
## 5. Automata (Cow-Tamagotchi)
|
||||
|
||||
- [ ] **Design**
|
||||
- [ ] Draw an automaton for cow's health states: `liferocks`, `lifesucks`, `byebyelife`.
|
||||
- [ ] Assume fixed `fitness`, `digestion`, and `stock`.
|
||||
- [ ] **`tamagoshi_cow.c`**
|
||||
- [ ] Reuse `affiche_vache` to display cow's health state.
|
||||
- [ ] Initialize `stock` and `fitness` to 5.
|
||||
- [ ] Create `stock_update()` and `fitness_update()` functions.
|
||||
- [ ] Main loop:
|
||||
- [ ] Display cow's state.
|
||||
- [ ] Display `stock`.
|
||||
- [ ] Prompt for `lunchfood`.
|
||||
- [ ] Update `stock` and `fitness`.
|
||||
- [ ] Increment `duree_de_vie`.
|
||||
- [ ] End game at `byebyelife`, display score.
|
||||
- [x] **Design**
|
||||
- [x] Draw an automaton for cow's health states: `liferocks`, `lifesucks`, `byebyelife`.
|
||||
- [x] Assume fixed `fitness`, `digestion`, and `stock`.
|
||||
- [x] **`tamagoshi_cow.c`**
|
||||
- [x] Reuse `affiche_vache` to display cow's health state.
|
||||
- [x] Initialize `stock` and `fitness` to 5.
|
||||
- [x] Create `stock_update()` and `fitness_update()` functions.
|
||||
- [x] Main loop:
|
||||
- [x] Display cow's state.
|
||||
- [x] Display `stock`.
|
||||
- [x] Prompt for `lunchfood`.
|
||||
- [x] Update `stock` and `fitness`.
|
||||
- [x] Increment `duree_de_vie`.
|
||||
- [x] End game at `byebyelife`, display score.
|
||||
|
||||
---
|
||||
|
||||
## 6. Report
|
||||
|
||||
- [ ] Format: plain text, Markdown, Org, or LaTeX.
|
||||
- [ ] Include:
|
||||
- [ ] Source code.
|
||||
- [ ] Execution outputs for relevant test cases.
|
||||
- [ ] Comments in code and report: justify choices, ideas, challenges.
|
||||
- [ ] Highlight original and advanced implementations.
|
||||
- [x] Format: plain text, Markdown, Org, or LaTeX.
|
||||
- [x] Include:
|
||||
- [x] Source code.
|
||||
- [x] Execution outputs for relevant test cases.
|
||||
- [x] Comments in code and report: justify choices, ideas, challenges.
|
||||
- [x] Highlight original and advanced implementations.
|
||||
|
||||
---
|
||||
|
||||
BIN
cowsay.tar.gz
BIN
cowsay.tar.gz
Binary file not shown.
Reference in New Issue
Block a user