Skip to content

haskell-miso/asteroid

Repository files navigation

🍜 🚀 🪨 miso-asteroid

This game was written in Claude Sonnet 4.6 with the prompt (below).

Can you make the game of asteriods in sample-app/Main.hs in miso?

See it live.

image

Development

Call nix develop to enter a shell with GHC 9.12.2

$ nix develop

Once in the shell, you can call cabal run to start the development server and view the application at http://localhost:8080

Build (Web Assembly)

$ nix develop .#wasm --command bash -c "make"

Build (JavaScript)

$ nix develop .#ghcjs --command bash -c "build"

Serve

To host the built application you can call serve

$ nix develop .#wasm --command bash -c "serve"

Clean

$ nix develop .#wasm --command bash -c "make clean"

This comes with a GitHub action that builds and auto hosts the example.

About

🚀 🪨 The game of asteroid

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors