Skip to content

Hello World

This example is the smallest deployable Vifu web game. Use it to learn the project shape before adapting a larger game.

Open The Example

bash
git clone --recurse-submodules https://github.com/vifu-labs/vifu-examples
cd vifu-examples/01_getting_started/hello_web

What It Configures

Hello World is a plain static web project:

  • index.html is the game entry.
  • target/web is the deploy output.
  • vifu setup detects engine: vanilla.
  • No AI, save state, or companion bridge is enabled.

The important setup values are:

json
{
  "name": "Hello Web",
  "main": {
    "url": "index.html",
    "engine": "vanilla"
  },
  "build": {
    "output": "target/web"
  }
}

Deploy It

bash
vifu deploy

The CLI validates the project, builds the static output, uploads it, and prints a playable cloud URL.