Schrodinger

command module
v0.0.0-...-d818de2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2020 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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).

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL