433 字
2 分钟
Building a Nostalgic Game Hall on My Website (EmulatorJs)

Introduction#

Recently, I added a new feature to my website: playing nostalgic games online. With EmulatorJs, we can play various classic nostalgic games directly in the browser without downloading any emulators or game ROMs.

What is EmulatorJs?#

EmulatorJs is a collection of web-based game emulators that allows you to run games from various classic gaming platforms in the browser, including:

  • Nintendo series (NES, SNES, N64, Game Boy, Game Boy Advance)
  • Sega series (Master System, Genesis/Mega Drive, Game Gear)
  • Sony PlayStation
  • Arcade games
  • And many other platforms

Building Process#

1. Installing EmulatorJs#

Setting up EmulatorJs on a VPS is very simple. I used Docker for deployment:

Terminal window
# Create directory
mkdir -p emulatorjs
cd emulatorjs
# Create docker-compose.yml file
cat > docker-compose.yml << EOF
version: '3'
services:
emulatorjs:
image: lscr.io/linuxserver/emulatorjs:latest
container_name: emulatorjs
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- ./config:/config
- ./data:/data
ports:
- 8080:8080
restart: unless-stopped
EOF
# Start container
docker-compose up -d

2. Configuring Reverse Proxy#

To make the game hall accessible via a domain name, I used Nginx Proxy Manager for reverse proxy settings:

  1. Open the Nginx Proxy Manager admin interface
  2. Add a new proxy host
  3. Fill in the domain name, target host (IP and port of the EmulatorJs container)
  4. Configure SSL certificate and enable HTTPS

Features of the Game Hall#

1. Rich Game Library#

The game hall currently includes hundreds of classic games, including:

  • Super Mario series
  • The Legend of Zelda series
  • Contra series
  • Street Fighter series
  • And many more classic games

2. No Download Required, Play Instantly#

All games are stored on the server. Players don’t need to download any files—just click the game icon in the browser to start playing.

3. Game Save Support#

The game hall supports automatic save functionality. You can pause the game at any time and continue from where you left off next time you visit.

4. Responsive Design#

The game hall uses responsive design and works well on computers, tablets, and mobile phones.

How to Use#

  1. Click “Nostalgic Game Hall” in the website navigation bar to enter the game hall
  2. Select the game platform you want to play in the game list
  3. Click the game icon to start playing
  4. Use the keyboard or on-screen virtual buttons for controls

Future Plans#

  1. Add more game platforms and games
  2. Implement game search functionality
  3. Develop a player account system to save personal game progress
  4. Add multiplayer game features

Conclusion#

Building the nostalgic game hall is not only to add an interesting feature to the website, but also to allow everyone to re-experience those classic games that accompanied our growth. Whether you want to relive childhood memories or explore the charm of classic games, the nostalgic game hall can meet your needs.

Welcome to experience it! If you have any suggestions or games you want to add, feel free to tell me!

“Nostalgic Game Hall” in the website navigation bar

Building a Nostalgic Game Hall on My Website (EmulatorJs)
https://jolla.pp.ua/posts/en/play_game/
作者
NanHuShiJie
发布于
2026-03-12
许可协议
CC BY-NC-SA 4.0