Skip to content

The infamous croc hunter game, now with 100% more Spin!

License

Notifications You must be signed in to change notification settings

radu-matei/croc-hunter

 
 

Repository files navigation

Croc Hunter - The game!

This is a fork of Lachie's repository. For those who want to take a trip down memory lane, here and here you can find Lachie's original demo videos.

Building and running

To build the application locally, you need Spin and the TinyGo compiler:

$ spin build
Executing the build command for component croc-hunter: tinygo build -target=wasi -gc=leaking -o croc-hunter.wasm croc-hunter.go
Successfully ran the build command for the Spin components.

To run the application locally:

$ spin up
Logging component stdio to ".spin/logs/"

Serving http://127.0.0.1:3000
Available Routes:
  croc-hunter: http://127.0.0.1:3000
  fileserver: http://127.0.0.1:3000/static (wildcard)

Deploying to Fermyon Cloud

Sign up for a free Fermyon Cloud account, then run spin deploy:

$ spin deploy
Uploading croc-hunter version 0.1.0+r33d66ef1...
Deploying...
Waiting for application to become ready........ ready
Available Routes:
  croc-hunter: https://croc-hunter.fermyon.app
  fileserver: https://croc-hunter.fermyon.app/static (wildcard)

About

The infamous croc hunter game, now with 100% more Spin!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 87.8%
  • Go 12.2%