Skip to content

A Bulls and Cows number guessing game built with Haskell and Miso framework, compiled to WebAssembly

Notifications You must be signed in to change notification settings

kiwamizamurai/miso-numeron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miso Numeron

A number guessing game built with Haskell and Miso, deployed as WebAssembly.

Game Rules

Guess a 4-digit number (each digit 0-9 is unique):

  • EAT: Correct digit in correct position
  • BITE: Correct digit in wrong position

Prerequisites

Quick Start

# Enter WASM development environment
make dev

# Build WASM for deployment
make build

# Test locally
make serve
# Open http://localhost:8080

Development

All development is done through Nix for reproducible builds:

# Available commands
make help          # Show all commands
make build         # Build WASM
make serve         # Serve locally
make lint          # Run hlint
make format        # Format code
make clean         # Clean artifacts

Deployment

The docs/ folder contains the WASM build artifacts for GitHub Pages deployment.

About

A Bulls and Cows number guessing game built with Haskell and Miso framework, compiled to WebAssembly

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Contributors