https://github.com/canop/kidding
https://github.com/canop/kidding
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/canop/kidding
- Owner: Canop
- Created: 2020-03-19T08:45:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-24T17:36:39.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T10:35:53.636Z (over 1 year ago)
- Language: Rust
- Size: 159 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A very simple program asking questions like `35 + 12 = ?` in a loop until a predefined goal is reached.
The code is easy to tune and change with the kid, it's a basis for a coding play too.

# Prerequesite
* some basic programming and terminal know-how
* git
* rust: https://rustup.rs/
# Install
Clone this repository, go inside:
```
git clone https://github.com/Canop/kidding
cd kidding
```
# Modify
Open the `src/main.rs` file, try to see where the questions are defined, modify those parts.
You can add or remove question kinds, and change the number ranges for each kind.
I tried to make it obvious and easy to change but don't hesitate to come to my chat if you have any question: https://miaou.dystroy.org/3
Questions are now either in French or in English, but you may add yours.
# Launch
Just run `cargo run` : the program will be recompiled and executed.