An open API service indexing awesome lists of open source software.

https://github.com/ekogii/casino

I like gambling so I made a Casino-TUI-thing. Coded in C because C is goated
https://github.com/ekogii/casino

asdasdasdasdasdasd c casino i-love-gambling

Last synced: 4 months ago
JSON representation

I like gambling so I made a Casino-TUI-thing. Coded in C because C is goated

Awesome Lists containing this project

README

          

# Casino
### By Ethan Kemp (ekogii)
---

This is my casino, and it is just an extremely basic (for now) CLI that I made for all my friends with a gambling addiction, myself *[excluded](./exclude.md)*.

## Installation
1. Download the latest release of the source code (found in the *Releases* tab)
2. Extract the .tar.gz (or the .zip)
3. CD into the place you downloaded the code, and run `make`. (assuming you have GNU Make installed)
4. This next step will vary depending on whether you want to install my casino *Locally* or *Globally* (system-wide).
#### 4a. Locally
Run:
```
make -s install-local
```
#### 4b. Globally
Run:
```
sudo make install
```
> Note:
*You can replace `sudo` with any other privellege-escalating tool, like `su` or `pkexec`.*

\
And you are done with the installation!

## How to use
If you are running this for the first time after installation, you should get a message that looks something along the lines of the following:
```
Welcome to my casino!

Because this is your first time playing this, you are
gonna start off with a significant... $1000! (not 1000 factorial)

Run 'casino --help' to figure out what to do with that money!!
```

Running `casino --help` or `casino -h` should print the usage information.
```
Usage: casino [options] mode...
Options:
-h,--help Print this message
-v,--version Print the version of the casino.

Modes:
reset Fully reset your money count.

roulette Play roulette.
slots Play slot machines.
```

> *I know I put an ellipsis after the mode, but you really can only do one mode at once, unfortunately enough.*

For example, if you wanted to play roulette, you would run `casino roulette`.

Currently the usage should say `slots`, however the slot machines are currently a work in progress. Observe:
```
$ casino slots
You have $1000
Mode you chose: slots

The slot machines are still a work in progress!
Be sure to come back later when I finish them...

IOT instruction (core dumped)
```

**For now though, that is all of the modes for the casino**

## Conclusion
As a wise man once said,\
***"Limited time flavour, Lays wavy Funyuns, onion flavoured Funyuns, onion flavoured rings."***

### **Have fun gambling!**