Skip to content

ld000/dfun

Repository files navigation

dfun

A neal.fun-inspired collection of fun mini-games and interactive experiences built with Next.js and Rust/WebAssembly.

Games

  • Reaction Time — Click when the screen turns green. How fast are you?
  • Color Guesser — Match the hex code to the correct color swatch.
  • Number Guesser — Guess the secret number between 1 and 100.
  • Gather — Real-time multiplayer 2D game inspired by gather.town (Rust + Bevy + WASM)

Getting Started

Requires Node.js >= 18.

npm install
npm run dev

Open http://localhost:3000.

Building Gather Game

The Gather game requires additional setup:

cd games/gather
./build.sh

See games/gather/README.md for detailed documentation.

Build

npm run build
npm start

Stack

  • Next.js 14 (App Router)
  • TypeScript
  • Tailwind CSS
  • Rust + Bevy + WebAssembly (for Gather game)

Project Structure

dfun/
├── app/                    # Next.js app directory
│   └── games/
│       ├── gather/        # Gather game page
│       ├── reaction/      # Reaction time game
│       ├── color/         # Color guesser game
│       └── number/        # Number guesser game
├── games/
│   └── gather/            # Gather game (Rust/WASM)
│       ├── client/        # Bevy WASM client
│       ├── server/        # Rust game server
│       ├── shared/        # Shared types
│       └── assets/        # Game assets
└── public/                # Static assets

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages