Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
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
443 changes: 443 additions & 0 deletions .claude/agents/pixelaw-app-developer.md

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "Examples",
"name": "PixeLAW Examples Workspace",
"image": "ghcr.io/pixelaw/core:0.7.8",
"workspaceFolder": "/pixelaw/examples",
"forwardPorts": [
5050,
8080,
Expand All @@ -24,6 +25,7 @@
"postStartCommand": [
"/pixelaw/scripts/startup.sh"
],
"postCreateCommand": "echo 'PixeLAW Examples Workspace ready! Use: sozo build (workspace) or cd <app> && scarb build (individual app)'",
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/ci-apps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: ci-apps

on:
push:
branches: [main]

pull_request:
branches: [main]

env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.80.1

jobs:
cairofmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.10.1"
- run: |
make fmt_check

apps-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: asdf-vm/actions/setup@v3
- run: |
asdf plugin add dojo https://github.com/dojoengine/asdf-dojo
asdf install dojo 1.5.1
asdf global dojo 1.5.1
make test_all
12 changes: 12 additions & 0 deletions .mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"mcpServers": {
"sensei-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"github:dojoengine/sensei-mcp"
],
"env": {}
}
}
}
6 changes: 3 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Each app follows a consistent structure:

### Key Apps
- **chest**: Dojo-based treasure chest placement and collection system
- **brc2048/pix2048**: 2048 game implementations
- **pix2048**: 2048 game implementations
- **hunter**: Pixel-based chance game
- **minesweeper**: Classic minesweeper implementation
- **rps**: Rock-paper-scissors game
Expand Down Expand Up @@ -117,8 +117,8 @@ sozo test
## Dependencies

- PixeLAW core contracts are imported as git dependencies
- Dojo framework v1.4.0 for blockchain functionality
- Cairo v2.9.4 for smart contract development
- Dojo framework v1.5.1 for blockchain functionality
- Cairo v2.10.1 for smart contract development
- Local development uses predefined account addresses and private keys

## Development Notes
Expand Down
Loading
Loading