Skip to content

albandewilde/Schrodinger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Schrödinger

Schrödinger's cat's Discord bot

Presentation

Here is Mr.Schrödinger, may you can ask him if is cat is alive.
Here is the refecence: https://en.wikipedia.org/wiki/Schr%C3%B6dinger%27s_cat

Usage

To know if the cat is alive send "Is the cat alive ?".
If you got an answer, that mean the cat is alive otherwise (you don't have an answer) that mean the cat is dead.

Implementation

In the code, I just do a random between 0.0 and 1.0.
You have an answer if the result higher than 0.5 (the cat is alive).