Skip to content

hsfzxjy/Harfbuzz-WASM-Fantasy

Repository files navigation

Harfbuzz-WASM-Fantasy

💡 STUPID stuffs built by abusing Harfbuzz WASM Shaper.

Bad Apple Maze Game

MORE CRAZY STUFFS TO COME SOON!

Run with Docker

You can easily experiment with this project on the fly by utilizing the pre-built Docker image. To start off simply execute:

bin/run-docker

Build & Run Locally

If you prefer to build it locally on your own, please follow the steps outlined below.

Prerequisites

First, clone this project to your local machine and update all sub-modules:

git clone https://github.com/hsfzxjy/Bad-Apple-Font
git submodule update --init --recursive

Before we start, make sure the following commands are globally available:

python3 cmake g++ wget tar ffmpeg cargo rustup wasm-pack

Besides, fontmake would be used for font generation:

python3 -m pip install fontmake

Building & Starting

To build this project you simply need to run make && make harfbuzz. Afterwards, execute bin/run-local to start a hijacked gedit.


Gallery

Maze-Game

[Source Code]

The Maze-Game can be triggered by typing the following pattern:

maze#<size>#<seed>#

where 5 <= size <= 20 defines the size of maze, and 0 <= seed <= 99 is a seed for RNG. For example, maze#5#3# generates a maze with 5x5 grid.

All mazes start from the bottom-left corner and target the top-right corner. The player can use WSAD for movement.

maze.mp4

MORE TO COME!

License

This project is licensed under the MIT LICENSE. Copyright (c) 2023 hsfzxjy.

About

STUPID stuffs built by abusing Harfbuzz WASM Shaper.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published