Crates.io | shakuntala-devi-trainer |
lib.rs | shakuntala-devi-trainer |
version | 2.0.8 |
source | src |
created_at | 2020-12-27 08:00:48.687263 |
updated_at | 2024-09-26 08:08:43.316507 |
description | Brain training tool inspired by Shakuntala Devi's technics |
homepage | https://github.com/newca12/shakuntala-devi-trainer |
repository | https://github.com/newca12/shakuntala-devi-trainer |
max_upload_size | |
id | 327754 |
size | 228,280 |
Shakuntala Devi's trainer is a brain training tool available as a GUI, a text console version and also an experimental online version thank to the cross platform GUI library Iced.
shakuntala-devi-trainer is an EDLA project.
The purpose of edla.org is to promote the state of the art in various domains.
cargo install shakuntala-devi-trainer
The goal is to determine the day of the week for a given date.
The technic used by Shakuntala Devi is describe in her book Figuring the Joy of Numbers.
You can see an overview in Tibee's video India's Human Computer or in this livejournal entry
To launch the GUI
shakuntala-devi-trainer
To launch the text console version
shakuntala-devi-trainer --cli
If you use the console version your answer should be encoded as an integer like described in the book like so :
If your answer is wrong only the text console version will give you a hint for now.
Each hint is the result of a step of Shakuntala Devi's algorithm.
You can adjust the range of the random date with two handy sliders.
In the Gregorian calendar, three criteria must be taken into account to identify leap years:
According to these rules, the years 2000 and 2400 are leap years, while 1800, 1900, 2100, 2200, 2300, and 2500 are not leap years.
You can try the online version shakuntala-devi-trainer or built it yourself :
rustup target add wasm32-unknown-unknown
cargo install -f wasm-bindgen-cli
cargo build --release --target wasm32-unknown-unknown
wasm-bindgen target/wasm32-unknown-unknown/release/shakuntala-devi-trainer.wasm --out-dir shakuntala-devi-trainer --web
https://mattbaker.blog/2020/04/26/mental-math-and-calendar-calculations/
© 2020-2024 Olivier ROLAND. Distributed under the GPLv3 License.