Skip to content

Commit

Permalink
Add game with a nasty bug
Browse files Browse the repository at this point in the history
  • Loading branch information
carlotm committed Jan 20, 2024
1 parent af771da commit d262708
Show file tree
Hide file tree
Showing 4 changed files with 427 additions and 42 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Compiling CI

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure pages
uses: actions/configure-pages@v4
- name: Install devbox
uses: jetpack-io/devbox-install-action@v0.7.0
- name: Build app
run: devbox run deploy
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Umbra
# Compiling

This is an app written in elm, deployed at [carlotm.github.io/umbra](https://carlotm.github.io/umbra/).
When I was a child, my sister showed me this puzzle,
it's a silly game to play while compiling (https://xkcd.com/303).

Warning: I don't know if the puzzle actually has a solution.

Rules are:

- Move the cursor with `hjkl` or arrow keys
- `space` to put a value in the current cell
- Put the next value horizontally or vertically skipping 2 cells or diagonally skipping 1 cell (the UI will help finding the possible moves)

## Local development

Expand Down

0 comments on commit d262708

Please sign in to comment.