Skip to content

Web server hosting of a Lilliput game. Provides a basic command line interface, tracks user login, auto saves/restores sessions.

Notifications You must be signed in to change notification settings

elegantchaos/LilliputWeb

Repository files navigation

Test results Latest release swift 5.3 shield swift 5.4 shield swift 5.5 shield Platforms: macOS, Linux

Lilliput on the Web

This is a web based host/driver for the Lilliput text adventure engine.

The host is written in Swift (as is Lilliput), and uses Vapor.

It's very crude at the moment, with pretty much no UI, and the user's entire input history is evaluated every time they visit their profile page -- which gets the job done, but isn't at all efficient.

Local Testing

Install Postgres

Install with brew install postgresql

(Migrate database with brew postgresql-upgrade-database)

Create Database

Setup database:

psql postgres

CREATE ROLE vapor WITH LOGIN PASSWORD 'vapor'; ALTER ROLE vapor CREATEDB; CREATE DATABASE test;

About

Web server hosting of a Lilliput game. Provides a basic command line interface, tracks user login, auto saves/restores sessions.

Resources

Stars

Watchers

Forks

Packages

No packages published