Skid Wars

Skid Wars is a multiplayer hacking simulator where players race to be the first to crack 20 networks. Players scan for networks, crack them, and exploit their devices with a bitcoin miner to increase earnings which can be used to upgrade hardware and purchase automation nodes.

Basic Gameplay

0. Use help and tutorial to learn how to play the game
1. Use scan to discover available networks
2. select [network_id] a network to target
3. analyze to view network difficulty and cracking time
4. crack to begin cracking the network
5. Once cracked, use sniff to find vulnerable devices
6. Use exploit [device_id] btc.miner to install a miner and increase earnings

Economy

- View your balance and stats with mypc
- Use store to purchase upgrades and automation nodes
- upgrade gpu or upgrade cpu for faster cracking times (on main terminal)
- Buy nodes to run automated scripts (Example: buy node 1 to buy a level one node)

Scripting

 Automate your commands with the custom scripting language (.sw files): 
- Create scripts with write filename.sw
- Purchase nodes from store to run scripts
- Execute scripts with run filename.sw [node_level]
- Stop all scripts using killscript

Script Language Syntax

// Variables and Assignment
SET variable value

// Output
PRINT value
PRINT variable

// Conditionals
IF condition
    commands...
ENDIF

// Loops
LOOP count
    commands...
ENDLOOP

// Built-in constants
NETWORKS_LENGTH      // Total number of networks
NETWORK_CRACKING_TIME // Time to crack current network (at index) - in a loop
ALREADY_CRACKED     // True if network is cracked at index - in a loop
BEING_CRACKED      // True if network is being cracked at index - in a loop
// Built-in methods
SCAN              // Scans the surrounding area for networks
SELECT number_var // Selects the network specified
CRACK             // Starts cracking the selected network

Example Script

// This template script attempts to crack all networks from easiest to hardest
SCAN
LOOP 20
    SET LARGE_NUM 10000
    SET RESULT -1
    PRINT NETWORKS_LENGTH
    LOOP NETWORKS_LENGTH
        IF NETWORK_CRACKING_TIME < LARGE_NUM
            IF ALREADY_CRACKED == false
                IF BEING_CRACKED == false
                    SET RESULT INDEX
                        SET LARGE_NUM NETWORK_CRACKING_TIME
                ENDIF            
            ENDIF
        ENDIF
    ENDLOOP
    PRINT RESULT
    PRINT LARGE_NUM
    SELECT RESULT
    CRACK
    PRINT DONE!
ENDLOOP
This was my first time creating something in s&box. I enjoyed it a lot and will definitely work on this and other projects in the future :)