Skip to content

gibachan/swift-walk-the-dog

Repository files navigation

swift-walk-the-dog

This repository contains a game developed using Swift and WebAssembly, inspired by the excellent book Game Development with Rust and WebAssembly. The original source code, implemented in Rust, can be found at this repository.

You can play the game online at swift-walk-the-dog, hosted on GitHub Pages.

sample

Usage

Requirement

Development

To start development, execute the dev.sh script. This will build the project and launch a local server that hosts the WebAssembly executable along with a corresponding JavaScript entrypoint to load the game.

Release

To create a release build, run the release.sh script. This will build the project and bundle all the assets, including the WebAssembly file, into the /docs directory. This directory is configured as the source directory for GitHub Pages hosting.

About

Game Development with swiftwasm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages