From acf906cf4f1fa7651f6c9780da4677e7d83d3fb2 Mon Sep 17 00:00:00 2001 From: David M Williams Date: Tue, 28 Oct 2025 00:40:06 -0700 Subject: [PATCH 1/6] Create tetris.mdx --- src/content/apps/tetris.mdx | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/content/apps/tetris.mdx diff --git a/src/content/apps/tetris.mdx b/src/content/apps/tetris.mdx new file mode 100644 index 0000000..b0ff003 --- /dev/null +++ b/src/content/apps/tetris.mdx @@ -0,0 +1,44 @@ +--- +title: "Tetris" +description: "Tetris game for GitHub Universe 2025 badge" +icon: "/images/apps/tetris_icon.png" +category: "game" +preloaded: false +customizable: true +fileLocation: "/apps/tetris" +--- + +# Tetris + +It's Tetris for your GitHub Universe badge! + +## Controls + +- LEFT/RIGHT = move +- DOWN = soft drop +- A = rotate CW +- B = rotate CCW +- C = hard drop +- HOME or B+C = pause/resume (from pause: A=resume, B=quit to title) + +## File Location + +Drop the game to `/apps/tetris` when the badge is mounted over USB. + +``` +/apps/tetris/ + ├── __init__.py # Tetris app + └── icon.png # Menu icon shown in the launcher +``` + +## Setup Process + +1. **Put badge in disk mode** (tap RESET twice) +2. **Download the Tetris app and icon file from the main badge repo, and save under apps/tetris on your badge +3. **Reload the badge** (press RESET once) +4. **Launch Tetris app** from menu + +## Source Code + +View the complete source code on GitHub: +- [Tetris app](https://github.com/badger/home/blob/main/badge/apps/tetris/__init__.py) - Complete game From a81af2e1c7923394c792067a513046cb7879b24a Mon Sep 17 00:00:00 2001 From: David M Williams Date: Tue, 28 Oct 2025 00:41:21 -0700 Subject: [PATCH 2/6] Add files via upload --- public/images/apps/tetris_icon.png | Bin 0 -> 256 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 public/images/apps/tetris_icon.png diff --git a/public/images/apps/tetris_icon.png b/public/images/apps/tetris_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..f1152f894dc45a03ef9308103b20231c3b064b6c GIT binary patch literal 256 zcmV+b0ssDqP)jKB_Lf~2NljH4ka1S1@g{NHd@awz5OrrvF&sFcnwVqFu$8pYGdIqdDGo`f2=N#DT0f2~v;ZHO_0|5J%0_F+8)#5ql zwsnBY;OyyCTn{atDc~2)4*6{YW}c`T*Xn6n2C}~yfu`Lba+{~g^qa;Qk9Bhms3toD z@4o^y2Wa20wQf1cd54NfD0j4ogik>0y4oXpKrYpLW!?cwewUc!F~MyB0000 Date: Tue, 28 Oct 2025 08:03:44 -0700 Subject: [PATCH 3/6] Add files via upload --- public/images/apps/gitris_icon.png | Bin 0 -> 315 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 public/images/apps/gitris_icon.png diff --git a/public/images/apps/gitris_icon.png b/public/images/apps/gitris_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..9cb738d54b413d3a3afdf51c16c66bf87591c5fa GIT binary patch literal 315 zcmV-B0mS}^P)%agr?X@(*U1Ic*Z0pAIz)mpCCnR1hJ%oK!%R1;hpiHh>XC+cvIcNXKG0E^$Ht zo|B2qXkPxoL>Yeb>Lt{iOfDdlvM92En3P491*D`ZtQK&^@x$5Q7JWpK!+ zpMghQ0M5Vp^cn*L0|SGsv^0ihVp0~01?YyufO@4CP8SkNQ8?q^Y{4 Date: Tue, 28 Oct 2025 08:04:19 -0700 Subject: [PATCH 4/6] Delete public/images/apps/tetris_icon.png --- public/images/apps/tetris_icon.png | Bin 256 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 public/images/apps/tetris_icon.png diff --git a/public/images/apps/tetris_icon.png b/public/images/apps/tetris_icon.png deleted file mode 100644 index f1152f894dc45a03ef9308103b20231c3b064b6c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 256 zcmV+b0ssDqP)jKB_Lf~2NljH4ka1S1@g{NHd@awz5OrrvF&sFcnwVqFu$8pYGdIqdDGo`f2=N#DT0f2~v;ZHO_0|5J%0_F+8)#5ql zwsnBY;OyyCTn{atDc~2)4*6{YW}c`T*Xn6n2C}~yfu`Lba+{~g^qa;Qk9Bhms3toD z@4o^y2Wa20wQf1cd54NfD0j4ogik>0y4oXpKrYpLW!?cwewUc!F~MyB0000 Date: Tue, 28 Oct 2025 08:05:03 -0700 Subject: [PATCH 5/6] Delete src/content/apps/tetris.mdx --- src/content/apps/tetris.mdx | 44 ------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 src/content/apps/tetris.mdx diff --git a/src/content/apps/tetris.mdx b/src/content/apps/tetris.mdx deleted file mode 100644 index b0ff003..0000000 --- a/src/content/apps/tetris.mdx +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: "Tetris" -description: "Tetris game for GitHub Universe 2025 badge" -icon: "/images/apps/tetris_icon.png" -category: "game" -preloaded: false -customizable: true -fileLocation: "/apps/tetris" ---- - -# Tetris - -It's Tetris for your GitHub Universe badge! - -## Controls - -- LEFT/RIGHT = move -- DOWN = soft drop -- A = rotate CW -- B = rotate CCW -- C = hard drop -- HOME or B+C = pause/resume (from pause: A=resume, B=quit to title) - -## File Location - -Drop the game to `/apps/tetris` when the badge is mounted over USB. - -``` -/apps/tetris/ - ├── __init__.py # Tetris app - └── icon.png # Menu icon shown in the launcher -``` - -## Setup Process - -1. **Put badge in disk mode** (tap RESET twice) -2. **Download the Tetris app and icon file from the main badge repo, and save under apps/tetris on your badge -3. **Reload the badge** (press RESET once) -4. **Launch Tetris app** from menu - -## Source Code - -View the complete source code on GitHub: -- [Tetris app](https://github.com/badger/home/blob/main/badge/apps/tetris/__init__.py) - Complete game From 0679f3567884279b914bdd0bac7f27bcb3247f69 Mon Sep 17 00:00:00 2001 From: David M Williams Date: Tue, 28 Oct 2025 08:07:15 -0700 Subject: [PATCH 6/6] Create gitris.mdx --- src/content/apps/gitris.mdx | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/content/apps/gitris.mdx diff --git a/src/content/apps/gitris.mdx b/src/content/apps/gitris.mdx new file mode 100644 index 0000000..05c3ebb --- /dev/null +++ b/src/content/apps/gitris.mdx @@ -0,0 +1,49 @@ +--- +title: "Gitris" +description: "Game for GitHub Universe 2025 badge" +icon: "/images/apps/gitris_icon.png" +category: "game" +preloaded: false +customizable: true +fileLocation: "/apps/gitris" +--- + +# Gitris + +It's a line-making, shape-themed game for your GitHub Universe badge! + +## Controls + +- LEFT/RIGHT = move +- DOWN = soft drop +- A = rotate CW +- B = rotate CCW +- C = hard drop +- HOME or B+C = pause/resume (from pause: A=resume, B=quit to title) + +## File Location + +Drop the game to `/apps/gitris` when the badge is mounted over USB. + +``` +/apps/tetris/ + ├── __init__.py # Gitris app + └── icon.png # Menu icon shown in the launcher +``` + +## Setup Process + +1. **Put badge in disk mode** (tap RESET twice) +2. **Download the Gitris app and icon file from the main badge repo, and save under apps/gitris on your badge +3. **Reload the badge** (press RESET once) +4. **Launch Gitris app** from menu + +## Source Code + +View the complete source code on GitHub: +- [Tetris app](https://github.com/badger/home/blob/main/badge/apps/gitris/__init__.py) - Complete game + +## Want the conflict row to appear more often or less often? +``` +state["conflict_every"] = 12 # try 10 for spicier, 16 for gentler +```