https://github.com/mikewesthad/phaser-headless
https://github.com/mikewesthad/phaser-headless
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mikewesthad/phaser-headless
- Owner: mikewesthad
- Created: 2020-06-21T14:11:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T19:20:19.000Z (over 2 years ago)
- Last Synced: 2025-02-28T21:02:35.153Z (3 months ago)
- Language: JavaScript
- Size: 214 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phaser Headless
A simple demo of how to use [Phaser 3](http://phaser.io/) in headless mode using [jsdom](https://github.com/jsdom/jsdom). This allows you to run the game engine in node and may be useful for automated testing or game servers. See [index.js](./index.js).
## Installation
Make sure you have a recent version of node installed and then run:
```
npm install
```## Running
After installing, run the following and you'll see the game running in your console:
```
npm run start
```