GithubHelp home page GithubHelp logo

murice-d-miller / react-educational-games Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asm-products/react-educational-games

0.0 2.0 0.0 3.2 MB

Fast, Fun, Interactive and Social Educational Games for the Classroom

Home Page: https://assembly.com/react-educational-games

License: GNU Affero General Public License v3.0

JavaScript 81.65% CSS 0.65% HTML 17.20% CoffeeScript 0.45% Shell 0.05%

react-educational-games's Introduction

react-educational-games

Fast, Fun, Interactive and Social Educational Games for the Classroom

  • Bower package management
  • Grunt Build Process
  • NPM package management (required for Grunt)

Installation

these bits should be run from the command line in the directory where you checked out this repo.

  1. Clone this repo
  2. If you don't have Node & NPM installed: http://nodejs.org/
  3. If you don't have Grunt installed: npm install -g grunt-cli
  4. If you don't have Bower installed: npm install -g bower
  5. bower install to install the JS dependencies
  6. npm install to install the Grunt dependencies
  7. grunt to run a build, and check everything works. If you get errors you can't debug, post an issue on the public repository.

You should now be all set to start development, before you begin each session run grunt watch to automatically run a build as you edit your files.

Getting Strted

After you've read this readme and understand what all the various files do make sure you can run Grunt.

Also read the comments in /src/index.html for more information on how the game is bootstrapped.

Build Process

There are two options for building, build_dev and build, the latter uglifies Javscript files while the former doesn't.

File System

An explanation of the directories involved:

  • /src/ Holds all game-specific files
  • /public/ Created by the build process and filled with distributable files. Warning: This directory gets deleted when the package is built, so don't store or change things here!
  • /src/audio/ for storing audio files
  • /src/css/ in case you wish to include any css files.
  • /src/data/ A place for project data files, for example editable PSD files or other sources used to build assets.
  • /src/img/ For all images
  • /src/js/ All Javascript files go here, see below for more.
  • /src/lib/ external libraries (like Crafty and Zepto) go hee, bower is configured to put it's files here.
  • /src/index.html Your games Index, loads everything else.

Some other files:

  • /.bowerrc configures Bower Package Management, all I've set here is where to unpack libraries to.
  • /.gitignore Tells Git to ignore the public and node_modules directory.
  • /bower.json Project information for Bower
  • /Gruntfile.js Build configuration for Grunt
  • /package.json Project information for NPM (also used by Grunt)
  • /readme.md This file, which hopefully introduces you to the whole project

react-educational-games's People

Contributors

patabugen avatar

Watchers

 avatar  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.