Skip to content

mho22/doom-mobile-php

Repository files navigation

About DOOM mobile PHP

DOOM mobile PHP is a DOS game built on top of Tauri and heavily influenced by NativePHP. This mobile application uses Laravel InertiaJS Vue3 Typescript Tailwindcss and Tauri, only.

It uses JS-DOS to emulate the DOS engine. And DOOM is hosted on a CDN.

I always wanted to play DOS games on my mobile phone without the use of Steam or online platforms. It was possible before, but now it is easy, it took me a lot more days.


Installation

  1. Clone the repository on your local environment and go through directory
git clone https://github.com/mho22/doom-mobile-php.git

cd doom-mobile-php

  1. Install dependencies
composer install

npm install

  1. Copy .env.example and generate key
cp .env.example .env

php artisan key:generate

  1. Adapt your HMR host in vite configuration file
hmr : {
    ...
    host : "192.168.0.*",
    ...
},

  1. Serve on mobile
php artisan mobile:serve --android

  1. Kill some Cacodemon

Suggestions

Don’t hesitate to give me some feed backs and suggestions to improve the project on this github repository or on twitter : Capsules Codes


Based on NativePHP and Doom native PHP. Special thanks to Simon Hamp and Marcel Pociot.