``` 用HTML5/JS编写的《沙丘2》 ```
Dune II written in HTML5/JS

原始链接: https://github.com/oklemenz/Dune2JS

## Dune2JS:Dune II 的重新实现 Dune2JS 是经典策略游戏《Dune II:王朝的崛起》使用 HTML5 和 JavaScript 重新实现的版本。该项目由 oklemenz 开发,可在 GitHub 上找到,允许玩家在现代网络浏览器中体验这款游戏。 玩家可以在 [dune2js.com](https://dune2js.com) 在线玩游戏,或玩 GitHub 托管的版本 ([oklemenz.github.io/Dune2](https://oklemenz.github.io/Dune2))。 也可以使用 Node.js 和 `npm` 进行本地安装。 游戏具有键盘/鼠标控制(用于浏览器游玩)和触摸控制(用于移动设备,横向模式)。 它包括一个带有可选自动保存功能的个人资料系统,利用 URL 参数存储游戏状态。 该项目目前在 GitHub 上有 48 个星标和 11 个分支,有 3 位开发者贡献。 您可以在 [GitHub 仓库](https://github.com/oklemenz/Dune2JS) 找到更多信息和源代码。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Dune II 用 HTML5/JS 编写 (github.com/oklemenz) 19 分,由 reconnecting 37 分钟前发布 | 隐藏 | 过去 | 收藏 | 1 条评论 reliabilityguy 0 分钟前 [–] 我小时候玩的第一款即时战略游戏。大约一年前我又玩了一次,真是太棒的游戏。回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文
Skip to content

Dune II - The Building of A Dynasty reimplementation written in HTML5 / JavaScript

Notifications You must be signed in to change notification settings

oklemenz/Dune2JS

Repository files navigation

Dune II - The Building of A Dynasty

Dune II reimplementation written in HTML5 / JavaScript

Play Online

Play Mobile

  • Browser: https://dune2js.com
    • Use Landscape Mode (Single Tab, Disable Landscape Tab Bar in Browser Settings)
  • Add to Home Screen to start as Fullscreen App
  • Touch Controls (tap/drag area on screen)

Play GitHub Version

Play Locally

  • Install Node.js
  • Clone: https://github.com/oklemenz/Dune2.git
  • Terminal:
    • npm install
    • npm start
  • Browser: localhost:8080

Options

Url parameter is leveraged to save game state for a profile:

  • profile: Profile identity (default: 'public')

Auto-save

  • profile=public: no auto-save
  • profile=: game is auto-saved:
    • when going into background (visibility hidden)
    • every 5 minutes

Credits

About

Dune II - The Building of A Dynasty reimplementation written in HTML5 / JavaScript

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

联系我们 contact @ memedata.com