A simple browser-based restaurant management game built with vanilla JavaScript, HTML, and CSS, powered by a lightweight Node.js server.
js_restuarant_game is a mini-game that lets you experience running a restaurant! Players will interact through a web interface to take orders, prepare meals, and serve customers in a timely manner.
This project is ideal for learning basic front-end development and practicing setting up a Node.js server for static file hosting.
- Order management system
- Food preparation simulation
- Customer interaction
- Simple and intuitive user interface
- Lightweight Node.js server for hosting the game locally
-
Frontend:
- HTML
- CSS
- JavaScript (Vanilla)
-
Backend:
- Node.js (for serving static files)
js_restuarant_game/
├── css/ # Stylesheets
├── data/ # Game data (e.g., menu items)
├── html/ # HTML pages
├── img/ # Image assets
├── js/ # JavaScript logic
├── node_modules/ # Node.js dependencies
├── package.json # Project metadata and scripts
├── package-lock.json
└── server.js # Local server setup
- Node.js installed
# Clone the repository
git clone https://github.com/AlHIO/js_restuarant_game.git
# Navigate into the project directory
cd js_restuarant_game
# Install dependencies
npm installnpm startThen, open your browser and visit:
http://localhost:3000
- Add difficulty levels
- Improve customer AI and behaviors
- Include more dishes and recipe mechanics
- Implement scoring and achievements
- Typo in the README command section has been corrected (
nmp➔npm). - This project is for educational purposes and simple gaming fun!
Enjoy running your own restaurant! 😋🍽️