credit benthor for fennel setup

This commit is contained in:
Travis Shears 2026-04-26 20:37:37 +02:00
parent f96381f2f0
commit c7a119c099
Signed by: travisshears
GPG key ID: CB9BF1910F3F7469

View file

@ -7,7 +7,7 @@ A two-player cooperative cleaning game built with [Fennel](https://fennel-lang.o
1. Install LÖVE 2D following the [Getting Started guide](https://love2d.org/wiki/Getting_Started) 1. Install LÖVE 2D following the [Getting Started guide](https://love2d.org/wiki/Getting_Started)
2. Run the game with: 2. Run the game with:
```bash ```bash
love ./two_player_cleaning_game love ./game
``` ```
## Architecture ## Architecture
@ -17,11 +17,12 @@ The game uses Fennel (a Lisp dialect) compiled to Lua at runtime. Fennel setup i
- **fennel-1.5.3.lua** (root): The Fennel compiler - **fennel-1.5.3.lua** (root): The Fennel compiler
- **fennel_bootstrap.lua** (root): Module loader that auto-compiles `.fnl` files - **fennel_bootstrap.lua** (root): Module loader that auto-compiles `.fnl` files
The `two_player_cleaning_game` directory contains:
The `game` directory contains:
- **main.fnl**: Game source code (Fennel) - **main.fnl**: Game source code (Fennel)
- **main.lua** → symlink to `../fennel_bootstrap.lua`: Entry point - **main.lua** → symlink to `../fennel_bootstrap.lua`: Entry point
- **fennel.lua** → symlink to `../fennel-1.5.3.lua`: Compiler reference - **fennel.lua** → symlink to `../fennel-1.5.3.lua`: Compiler reference
## Development ## Development
See [CLAUDE.md](./CLAUDE.md) for detailed development notes, including Fennel syntax and LÖVE2D API reference. The Löve2d Fennel setup is based on https://git.sr.ht/~benthor/absolutely-minimal-love2d-fennel/tree/master/item/README.md