Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/content/hacks/commits-game.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ featured: 3

# Add the Commits Brick-Breaker

Break through a contribution wall by copying the Commits game from the Tufty repository into your local `/apps` directory.
Break through a contribution wall by copying the Commits game from the repository into your local `/apps` directory.

## Prerequisites

- Badge mounted as the badger volume
- The Tufty source ZIP downloaded from GitHub (reuse the archive from the Snake hack or grab a fresh one via **Code → Download ZIP**)
- The Home source ZIP downloaded from GitHub (reuse the archive from the Snake hack or grab a fresh one via **Code → Download ZIP**)

## Steps

1. **Copy the Commits folder with Finder or File Explorer**
- Open the unzipped `tufty-main/badge/apps/commits` directory.
- Open the unzipped `home-main/badge/apps/commits` directory.
- In another window, open `badger volume/apps/` (create `apps` if it is missing).
- Drag the entire `commits` directory into `badger volume/apps/`. This brings over `__init__.py`, `icon.png`, and the `assets` sprites.
2. **Confirm the files in VS Code**
Expand Down Expand Up @@ -56,4 +56,4 @@ Browse the full implementation for scoring, auto-play, and win states: [`badge/a

## Cleanup (optional)

Move the Tufty download and extracted folder to the trash once you have verified the game launches.
Move the download and extracted folder to the trash once you have verified the game launches.
2 changes: 1 addition & 1 deletion src/content/hacks/menu-pagination.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ github: "https://github.com/badger/home/tree/main/badge/apps/menu"

# Paginate the Launcher

The conference badge ships without menu pagination, so the launcher hides any app past slot six. Swap in the paginated `menu/__init__.py` from the Tufty repo to unlock scrolling.
The conference badge ships without menu pagination, so the launcher hides any app past slot six. Swap in the paginated `menu/__init__.py` from the repo to unlock scrolling.

## Prerequisites

Expand Down
8 changes: 4 additions & 4 deletions src/content/hacks/snake-install.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Install the Snake Game"
description: "Copy the Snake app from the Tufty repo so you can merge green commits on your badge."
description: "Copy the Snake app from the repo so you can merge green commits on your badge."
difficulty: "beginner"
duration: 12
tags: ["games", "filesystem"]
Expand All @@ -22,12 +22,12 @@ Bring the GitHub-flavoured Snake minigame onto your badge by copying the upstrea

## Steps

1. **Download the Tufty sources**
1. **Download the source code**
- In a browser go to the [badger/home repository](https://github.com/badger/home).
- Click **Code → Download ZIP** and save the archive.
- Use Finder or File Explorer to unzip the download so you have a `tufty-main` folder.
- Use Finder or File Explorer to unzip the download so you have a `home-main` folder.
2. **Copy the Snake app with Finder or File Explorer**
- Open the extracted `tufty-main/badge/apps/snake` folder.
- Open the extracted `home-main/badge/apps/snake` folder.
- Open the badger volume in another window (`apps` lives at the top level; create it if it is missing).
- Drag the entire `snake` folder onto `badger volume/apps/` to overwrite or create it.
3. **Verify the files in VS Code**
Expand Down