Skip to content

A fast-paced text adventure game inside a ransomware-infected computer | Mirror of https://paltepuk.xyz/cgit/BitMasher.git/about

License

Notifications You must be signed in to change notification settings

ona-li-toki-e-jan-Epiphany-tawa-mi/BitMasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 ______  __________________ _______  _______  _______           _______  _______
(  ___ \ \__   __/\__   __/(       )(  ___  )(  ____ \|\     /|(  ____ \(  ____ )
| (   ) )   ) (      ) (   | () () || (   ) || (    \/| )   ( || (    \/| (    )|
| (__/ /    | |      | |   | || || || (___) || (_____ | (___) || (__    | (____)|
|  __ (     | |      | |   | |(_)| ||  ___  |(_____  )|  ___  ||  __)   |     __)
| (  \ \    | |      | |   | |   | || (   ) |      ) || (   ) || (      | (\ (
| )___) )___) (___   | |   | )   ( || )   ( |/\____) || )   ( || (____/\| ) \ \__
|/ \___/ \_______/   )_(   |/     \||/     \|\_______)|/     \|(_______/|/   \__/

BitMasher

A text adventure game where you act as an antivirus attempting to rid a computer of a RANSOMWARE attack.

How to build

Dependencies:

  • A C compiler supporting c11. Clang or GCC recommended.
  • POSIX system.

Then, run the following command(s):

./build.sh

To enable optimizations, you can add one or more of the following arguments to the EXTRA_CFLAGS enviroment variable:

  • -O3 - general optimizations.
  • -DNDEBUG -Wno-return-type - disable safety checks. Performance > safety.

I.e.:

EXTRA_CFLAGS='-O3 -DNDEBUG -Wno-return-type' ./build.sh

The executable will be named bitmasher.

Configuration

There is a section at the top of the program file bitmasher.c containing configuration options. All config options bear a description detailing what they modify and what values they accept.

Installation

You can install it with Nix from my personal package repository https://github.com/ona-li-toki-e-jan-Epiphany-tawa-mi/epitaphpkgs.

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.