the_founder

start a company, ruin the world

  • 所有者: frnsys/the_founder
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

setup

npm install -d
npm start

build

npm run build

testing

npm test

Dog models are derived from PigArt's Low Poly Wolf model.

The license that came with the model has it under a different (non-existent) user: nabagielis. It is released under CC BY 3.0.


The following icons are from paomedia, released in the Public Domain:

  • assets/company/confirm.png
  • assets/company/mail.png
  • assets/company/news.png
  • assets/company/time.png
  • assets/company/market.png
  • assets/company/completed.png

For easier serialization, all data that needs to be un/serialized (i.e. loaded/saved) should be kept at the top-level of the player (which keeps track of the more general game world state) or company. No objects should save a reference to the player or company except for the Manager - references to either of these should be passed in as needed. This is to avoid circular references.


notes on the project structure

  • game contains only the core logic defining the game's systems (it does not deal with their presentation, i.e. views)
  • market contains only the logic for the Market, including its board (the hexworld)
  • office contains only the logic for rendering the in-game office
  • views deal with all DOM elements; they just render data
  • states ties together these different components

three important objects are:

  • the game, which is the Phaser game object
  • the player, which contains all data that must be persisted/loaded for a save game; that is, all the data that uniquely represents an active game
  • the manager, which coordinates between the Phaser game object, the Player object, and handles functionality like saving/loading, new game creation, etc

MIT LICENSE

Copyright 2016-2017 Francis Tseng

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

主要指標

概覽
名稱與所有者frnsys/the_founder
主編程語言JavaScript
編程語言Shell (語言數: 5)
平台
許可證
所有者活动
創建於2016-02-24 19:21:56
推送於2020-09-03 23:59:55
最后一次提交2020-09-01 10:19:55
發布數0
用户参与
星數384
關注者數11
派生數39
提交數427
已啟用問題?
問題數152
打開的問題數8
拉請求數6
打開的拉請求數2
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?