当前位置: 首页 > 软件库 > Web应用开发 > Web框架 >

paw-wars

授权协议 View license
开发语言 JavaScript
所属分类 Web应用开发、 Web框架
软件类型 开源软件
地区 不详
投 递 者 秦跃
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

�� paw-wars

Paw Wars

Paw Wars is a game that takes place in a world where dogs are the ruling class and cats are treated as lower class citizens. Luxury items are strictly forbidden, but a black market persists. You take on the role of a smuggler trying to provide contraband to cats in need. You travel the world buying and selling items, avoiding police, and hustling to get rich or die trying.

Play it right now in your browser: Play PawWars

If something doesn't work right: Issue Tracker

To contribute to the game: Contributing


�� Technical Information

Requirements

  • Node.js (Version 10 and up recommended)
  • MongoDB (With a database called "PawWars", or change the database at config.json)

Recommendations

Installation

  • Clone down the repository.
git clone https://github.com/snollygolly/paw-wars.git
  • Install node packages (from inside the paw-wars folder).
npm install
  • Create your config. There's a config.example.json file in the root. Edit it to include all your values for the site and your OAuth information. Save it as config.json and leave it in the root.

  • If you want to use Google Analytics, set config.site.analytics to your Tracking ID and make sure the analytics partial (analytics.hbs) contains the correct Universal Analytics tracking code. If you don't want to use Google Analytics, remove that property or set it to false.

  • Make sure your database is running or start it up.

mongod
  • Start it up.
npm start
  • Enjoy!

Game Configuration

The game.json file in the root contains most of the information you'll need to completely customize your experience. Please refer to Paw Wars: The Definitive Guide for explanations of most of the configuration values.

Folder Structure

|-- paw-wars
    |-- config.json
		(config.json holds all the application configuration)
    |-- game.json
		(game.json holds all game related configuration values)
    |-- routes.js
		(all routing is done here)
    |-- assets
		(front end assets go here)
    |   |-- css
    |   |-- fonts
    |   |-- js
    |-- controllers
		(all controllers go here, no controller logic in routes)
    |-- helpers
		(helpers for front end [handlebars] and back end [common] are here)
    |-- models
		(all game logic code goes here, tests run against this code)
    |   |-- game_life.js
		(wrapper for all game sub modules)
    |   |-- game
    |       |-- data
			(configuration/localization files go here)
    |       |   |-- deaths.json
    |       |   |-- events.json
    |       |   |-- items.json
    |       |   |-- places.json
    |       |   |-- police.json
    |       |   |-- vendors.json
    |       |-- vendors
    |-- tests
		(all tests go here)
    |-- views
		(all view related content goes here)
        |-- _layouts
        |-- _partials
        |-- game
        |-- manual
  • The impression of The Monkey’s Paw I have read a book the other day called The Monkey’s Paw which is written by W.W.Jacobs.The story began on a cold and dark night.Old Mr White got a magic monkey paw

  • 使用Python实现的太空​​战游戏 #gitignore ##Byte-compiled / optimized / DLL files pycache/ *.py[cod] *$py.class ##C extensions *.so Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eg

 相关资料
  • Paw

    Paw 是 Mac 上一个非常强大的 HTTP 和 REST API  的测试工具。

  • 本文向大家介绍Javascript中的Floyd-Warshall算法,包括了Javascript中的Floyd-Warshall算法的使用技巧和注意事项,需要的朋友参考一下 Djikstra的算法用于查找从一个节点到所有其他节点的最短路径的距离/路径。在某些情况下,我们需要找到从所有节点到所有其他节点的最短路径。这是所有对最短路径算法派上用场的地方。最常用的所有对最短路径算法是Floyd War

  • 我们正试图通过Jenkins将生成的war文件自动部署到web服务器。在tomcat服务器上使用Deploy plugin,我可以为普通war文件实现同样的功能。 对于Liferay portlet war文件,我不能使用我们将war文件放入Liferay中的deploy文件夹,然后将其复制到tomcat webapps文件夹的插件。 我看到的另一种方法是在pom.xml

  • JS Wars 是一个完全基于Web浏览器的射击游戏,主要面向火狐浏览器 3.5对音频视频高性能的支持。该游戏的任务就是利用键盘的方向键找到并摧毁骷髅博士。

  • BosWars (曾名Battle of Survival)是免费跨平台即时战略游戏。Tina Petersenand 在2004年启动, François Beerten现在执掌。用C++和Lua 写成,使用SDL。 Bos Wars曾作为LinuxLinks 42 More of the Best Free Linux Games 列表中一员。 Bos Wars 也曾作为学习RTS游戏的工具。

  • Warsow 是一款第一人称射击(FPS)游戏,它所采用的 3D OpenGL 游戏引擎基于 QFusion(一个 Quake II 引擎的增强版本)。目前,Warsow 可在 Linux 和 Windows 系统中运行。喜欢游戏的朋友不要错过。

相关阅读

相关文章

相关问答

相关文档