KaySackey / the_founder

start a company, ruin the world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

start a company, ruin the world


Languages

Language:JavaScript 74.0%Language:CSS 23.6%Language:Python 2.0%Language:HTML 0.3%Language:Shell 0.1%