Giter Site home page Giter Site logo

elm-tree's Introduction

Grow! An Elm Minesweeping Game

license

About

A Minesweeper style game where the player uncovers tiles in search of wood and seeds.

Collect seeds to advance to the next level, or continue revealing to grow your elm sapling.

But watch out! If you uncover a fire tile it will burn your little tree to the ground!

Concepts

Each level starts with all tiles covered.

The player clicks on tiles to uncover them.

The player can discover 7 types of tiles

  1. 'Seeds' - Players need a certain number of seeds to advance to the next level
  2. 'Wood' - Players use wood to grow their elm tree and get more points
  3. 'Wind' - Players can use wind to put out fires in a given tile area
  4. 'Vision' - Players can use vision to get a sneak peek at tiles
  5. 'Water' - Players sacrifice a water when they uncover a Fire tile.
  6. 'Fire' - The player loses if they uncover a Fire tile without any Water tiles to put the fire out.
  7. 'Empty' - Nothing happens :)

The player may advance to the next level when they have collected enough seeds.

Installation

  1. Clone or fork the repo
  2. Install Elm if you do not have it
  3. Install NodeJS if you do not have it
  4. Install the node dependencies by running npm install
  5. Build the front-end by running npm run build (Webpack will watch for any changes and rebuild automatically)
  6. Start the server by running npm start and go to http://localhost:3000

Deployment

  1. package.json contains a script to deploy to Heroku using Webpack in production mode

elm-tree's People

Contributors

merklebros avatar

Watchers

James Cloos avatar

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.