Giter VIP home page Giter VIP logo

farm-game's Introduction

Plane Jam 2019

A game from the plane ride back from GDC 2019.

Features

Currently Scuffed

  • Buying land currently is scuffed-- this is where my plane ride ended.

Current Features

  1. Cut trees with axe.
  2. Plant trees with saplings.
  3. Grow trees with watering can.

Planned Features

  • Economy
    • Go to shop.
    • Sell wood for gold
    • Buy saplings with gold.
  • Day/Night
    • Trees only grow after a "day" has passed?
    • Gold is only received from shipped goods after a "day" has passed?
  • Progression
    • Buy more patches for more trees to make more gold.

Contributing

How to Build

Have node v8+ and yarn v1+.

node --version
yarn --version

Start the server.

yarn install
yarn start

How to Deploy

Deploy to github.io.

yarn deploy

How to Learn the Codebase

Tour through this critical bits of code:

  • Singleton Models: models/.js is a singleton instance of models/Model.js. All files, from views to other models, explicitly import it for changing top-level state.
  • Patches & Trees: The patches are the pieces of land that the players use to grow trees. It has the update handlers for interacting with an item. Read more in models/Patch.js and views/Patch.view.js.
  • Proto: The "protoworld" is the primitive json form of the "world" object. We pass these protos to the classes to instantiate them.

farm-game's People

Contributors

ehgoodenough avatar

Watchers

 avatar  avatar

Forkers

fpruitt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.