Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AntikoreDev/TBTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TBTS logo

TBTS stands for TBTS better than school

Repo size Stars GitHub all releases
GitHub last commit GitHub commit activity Made in Spain

TBTS is an open-source terminal-based solo trivia game made in Python designed for those big-brained people that get sleepy on computer science classes because everything is so easy/so outdated they can't even afford to care about it.
As this is a terminal-based game, it can be played kinda unnoticed by teachers (at least if you're on a computer science course), and you're going to learn more from this than whatever they're talking on class.

This game is powered by OpenTDB to get questions. I'm not responsible on what's going on there, proceed with caution, buckaroo!

How to play

Each run is 15 questions, the highest score you can get is 45,000 as you have to be very quick with your answers. Questions itself have no time and you can answer whenever you want (though you may not get points at all lol)

Installation process

You can access to any of the binaries available on this repository at Releases tab

Running from source

If you're not a fan of binaries, here's a list of instructions on how to build the project from source. Obviously the first thing you have to do is cloning the repository on your local machine.

Once you've got a local copy of the repository, you may need to install all requirements that proceed. This can be easily done using pip by running the following command:

[sudo] pip install -r requirements.txt

Afterwards, you can quickly run the game by using the following command on the root directory of the repository:

[sudo] py cli.py

Note that linux may not have the py command itself, you may need to use python or python3 in order to run python Note that keyboard module may require of sudo permissions on linux when running from source. You may have to re-install requirements on root depending on your configuration Note that keyboard module may have issues installing on linux, you can use --break-system-packages at your own risk

Building from Source

Using pyinstaller after you cloned the repository, you can simply run the following command:

[sudo] pyinstaller cli.py --onefile --name TBTS --icon=assets/icon.ico

This should generate a file at the new generated directory dist/ named TBTS.exe if you're running on Windows.

Contributing

As long as your additions are not trivial 😉, you can always post an issue and/or making a pull request. Please be polite!

Donating

If you want to support me and my work, consider to buy me a coffee ✨☕

ko-fi

About

Open-source terminal-based solo trivia game

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages