Skip to content

simon-whitehead/hakka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hakka Build Status

A game that you can't pass simply by playing the game. You have to hack it.

NOTE: This is currently in "proof-of-concept" stage and is being actively developed. This early version is being released to test the waters to see if people find it interesting.

Building the game

This game is built using Rust. You will need to download and install Rust before being able to build this game.

Hakka requires SDL2, SDL2_image and SDL2_ttf.

You can see instructions for installing the SDL2 development libraries here

If you're on OSX and have Homebrew installed, it should be as simple as:

brew install SDL2
brew install SDL2_image
brew install SDL2_ttf

Once the SDL dependencies are installed, you can run the game via:

cargo run --bin training-1

How to play

Toggle the in-game Console via the Backtick/Grave/Tilde key (~ on English keyboards. The key under escape on non-English keyboards).

(There is an in-game help command which gives a basic overview of the available commands)

The goal of the training level is simple. Fly the ship up to the finish line:

screen shot 2016-12-22 at 7 42 18 pm

You can fly it to the finish line with the Up arrow. It should be pretty simple..

Hacking the game

The game includes terminal support for hacking the game. The game runs via an emulated 6502 Microprocessor and the terminal supports features to interrogate the virtual machine.

Look at the game code

screen shot 2016-12-22 at 7 43 09 pm

Set breakpoints and step through the code

screen shot 2016-12-22 at 7 43 35 pm

..or alter the game memory directly!

Contributing

I would LOVE contributions. This is currently a single "training" level. I plan on expanding this repository with new levels in future. If you would like to clean the code up, add documentation, implement levels, or anything else, please do open an Issue and lets discuss it!

LICENSE

MIT licensed. I hope you learn something from it.

Credits

The spaceship sprite was created by MillionthVector and is hosted for free on his/her website. Check it out!

The font is the FantasqueSansMono font developed by GitHub user belluzj.

About

A game where each level requires a bit of hacking.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •