Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

╔══════════════════════════════════════════════════════════════════════════════════════╗
║                                                                                      ║
║  ██████╗ ██╗   ██╗██╗   ██╗    ███████╗██╗ ██████╗ ██╗  ██╗████████╗███████╗██████╗  ║
║ ██╔════╝ ██║   ██║╚██╗ ██╔╝    ██╔════╝██║██╔════╝ ██║  ██║╚══██╔══╝██╔════╝██╔══██╗ ║
║ ██║  ███╗██║   ██║ ╚████╔╝     █████╗  ██║██║  ███╗███████║   ██║   █████╗  ██████╔╝ ║
║ ██║   ██║██║   ██║  ╚██╔╝      ██╔══╝  ██║██║   ██║██╔══██║   ██║   ██╔══╝  ██╔══██╗ ║
║ ╚██████╔╝╚██████╔╝   ██║       ██║     ██║╚██████╔╝██║  ██║   ██║   ███████╗██║  ██║ ║
║  ╚═════╝  ╚═════╝    ╚═╝       ╚═╝     ╚═╝ ╚═════╝ ╚═╝  ╚═╝   ╚═╝   ╚══════╝╚═╝  ╚═╝ ║
║                                                                                      ║
║                                                                                      ║ 
║                                                                                      ║
║                                🥊 ULTIMATE EDITION 🥊                               ║
╚══════════════════════════════════════════════════════════════════════════════════════╝

A demonstration of a plugin system using WASM Components.

Guy Fighter is a console application that lets you simulate fights between different types of guys. Plugins can be written and loaded into Guy Fighter to invent entirely new types of guys to fight.

Overview

Guy Fighter consists of four components:

The host application embeds the Wasmtime WASM runtime. The plugins are compiled to WASM components and run inside the WASM sandbox, communicating with the host through a limited interface defined in the WIT file.

Dependencies

Running

$ make run

This builds the host application, C and JS plugins, and runs Guy Fighter.

About

Demonstration of a plugin system using WASM components

Resources

Stars

14 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages