BitMasher, a text adventure game where you act as an antivirus attempting to rid a computer of a RANSOMWARE attack.
Project description
______ __________________ _______ _______ _______ _______ _______
( ___ \ \__ __/\__ __/( )( ___ )( ____ \|\ /|( ____ \( ____ )
| ( ) ) ) ( ) ( | () () || ( ) || ( \/| ) ( || ( \/| ( )|
| (__/ / | | | | | || || || (___) || (_____ | (___) || (__ | (____)|
| __ ( | | | | | |(_)| || ___ |(_____ )| ___ || __) | __)
| ( \ \ | | | | | | | || ( ) | ) || ( ) || ( | (\ (
| )___) )___) (___ | | | ) ( || ) ( |/\____) || ) ( || (____/\| ) \ \__
|/ \___/ \_______/ )_( |/ \||/ \|\_______)|/ \|(_______/|/ \__/
BitMasher
BitMasher, a text adventure game where you act as an antivirus attempting to rid a computer of a RANSOMWARE attack.
Controls
Each option you can select will be shown by a single character in paranthesis. Typing that character and hitting ENTER will select that option.
How to Play
You are an antivirus trying to rid a computer of a RANSOMWARE before it takes over the system. There is a finite amount of time before the system is fully infected.
In order to defeat it, you must find all items before you find the RANSOMWARE. If you do not, you will not be able to EXTRACT it and you will lose.
Each system (room) contains an item, which you can move to; UP, DOWN, LEFT, AND RIGHT. Keep in mind that the map is NOT 2D; Moving RIGHT, UP, LEFT, and DOWN will lead to a different room than the one you started in. The map is "Spiky" so-to-speak.
You have a SCANner to aid in figuring out which rooms contain items and which have RANSOMWARE. Using the SCANner will reveal what the surronding rooms contain, and the room you are currently in will be automatically SCANned for you. But beware: SCANning takes time. Also, occasionaly a SCAN will fail and need to be repeated.
Configuration
There is a section at the top of the program file (TextBasedGame.py) containing configuration options. All config options bear a description detailing what they modify and what values they accept.
Installation
BitMasher is avalible on PyPi, and can be installed by running the following command(s):
pip install bitmasher_game
Alternatively, you can download the latest package from Releases, or build from source, and install it using the following command(s):
pip install <package name goes here>
BitMasher can also be ran directly as a simple script without installation. See How to Run
How to run
If installed, run the following command(s):
bitmasher
BitMasher is, itself, a stand-alone script (TextBasedGame.py), and can be ran without installation by running one of the following command(s) in the project directory:
python3 src/bitmasher_game/TextBasedGame.py
./src/bitmasher_game/TextBasedGame.py
How to build
Run the following commands in the project directory:
python3 -m build
The built packages will appear in dist/.
Dependencies
The only dependency is Python 3.
Links
Demonstration:
https://www.youtube.com/watch?v=zxC5pLrn6N8
MIT License
Copyright (c) 2022 ona-li-toki-e-jan-Epiphany-tawa-mi
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bitmasher_game-4.3853256532.tar.gz
.
File metadata
- Download URL: bitmasher_game-4.3853256532.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c692154c3bb520f5c0062cefa1e722eba2d198080fdec00145bae91386d2656f |
|
MD5 | 5f74671f743c491bc30fa69a468f9959 |
|
BLAKE2b-256 | 979aa1c65a7e99a57db49c29a447bd19fdd0e25633152b3065de59f7bdc266c0 |
File details
Details for the file bitmasher_game-4.3853256532-py3-none-any.whl
.
File metadata
- Download URL: bitmasher_game-4.3853256532-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32efd05a152bfb4c31830595b8ed9693975f94fa79a3da276e3922b07ccec9bd |
|
MD5 | 0fcebf9f9077b6842fe519c9fd3c31a9 |
|
BLAKE2b-256 | eff55f965aa7075beac426269493787e4a91a42506e6aea84f84dd4ed1383c9c |