markliu2013 / break-bricks

Break Bricks Game

Home Page:https://markliu2013.github.io/break-bricks/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript Breaking Bricks Game

This is a Breaking Bricks Game written use JavaScript.

Installing

This is only static html files, it is very easy to install. You don't even need a web server like apache or tomcat to run. Just download the files, open index.html with your browser application, we suggest Chrome.

Building GruntJS Task

GruntJS is a JavaScript Task Runner, there are many plugins can help you make your project from development to production. I have created a grunt file, contains min css and javascript, change html link, deploy to server. How to run GruntJS? Firstly, you need install nodejs >= 0.8.0.

  $ npm install -g grunt-cli
  $ git clone https://github.com/markliu2013/tank-war.git
  $ cd tank-war
  $ npm install
  $ grunt #compile all files
  $ grunt deploy  #compile and deploy

NOTE: You should change the ftp configuration.

Grunt Plugin List :

  1. grunt-contrib-concat
  2. grunt-contrib-cssmin
  3. grunt-contrib-uglify
  4. grunt-processhtml
  5. grunt-contrib-htmlmin
  6. grunt-contrib-clean
  7. grunt-contrib-watch
  8. grunt-ftpush

Browser Supported

Your browser should support document.querySelectorAll :

License

(The MIT License)

Copyright (c) 2014 Mark Liu < markliu2013@gmail.com >

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.

About

Break Bricks Game

https://markliu2013.github.io/break-bricks/index.html

License:MIT License


Languages

Language:JavaScript 83.6%Language:HTML 10.9%Language:CSS 5.5%