diff --git a/README.md b/README.md new file mode 100644 index 0000000..10f8e3d --- /dev/null +++ b/README.md @@ -0,0 +1,92 @@ +# [Angry Coders Game](http://angrycoders.codingblocks.com/) + +A angry bird type game for coders by Coding blocks. + +Click the link embedded in title to visit the site. + +## Table of contents +* [General info](#general-info) +* [Screenshots](#screenshots) +* [Technologies](#technologies) +* [Setup](#setup) +* [Features](#features) + + +## General info +Love playing angry birds? We all do. +But ever felt like creating your own angry birds game? Here is the code to develop your own angry birds type game in JS. + +So sit back, relax, and code your way into your self-developed Angry Coders game. + +Link: http://angrycoders.codingblocks.com/ + + **Run Code** Button evaluates your code and runs it accordingly. + +* **Reset Level** Button restarts the game for this level. + +* **Next Level** Button takes you to a random next level + +* You need to *write the code* for the two functions to get *Angle* and *Velocity* at which the ball should be thrown so that it hits the bird. + +## Code Examples on how to play: + + gravity = 1000 + mass=10 + Helper Functions: + function degreeToRadian(deg){ +   return deg*(Math.PI/180); + } + + function radianToDegree(rad){ +   return rad*(180/Math.PI); + } + + function sin(deg){ +   theta = degreeToRadian(deg); +   return Math.sin(theta); + } + + function cos(deg){ +   theta = degreeToRadian(deg); +   return Math.sin(theta) + } + + function tanInv (val) { +   var rad = (Math.atan(val)) +   var deg = radianToDegree(rad) +   return deg; + } + + function squareRoot(no){ +   return Math.sqrt(no); + } + + + +## Screenshots +Opening above link you'll get the following screen +![homepage](https://user-images.githubusercontent.com/58937669/101068229-74871400-35be-11eb-82e3-b61d9d4c7fc5.JPG) + + + + +## Setup +- Clone the repo: `https://github.com/coding-blocks/angry-coders-game.git` +-Download ZIP file + + + + +## Bugs & Feature Requests + +Click [here](https://github.com/coding-blocks/angry-coders-game/issues) to report a bug for a feature request + +###PLEASE DO +- Provide as much information as possible about the issue. +- Provide detailed steps for reproducing the issue. + +###PLEASE DO NOT + +-Provide any sensitive data or server logs. +-Report potential security issues publicly (see ‘Security Issues’). + diff --git a/ace-builds/demo/bookmarklet/images/ace.png b/ace-builds/demo/bookmarklet/images/ace.png index 9b7c40c..3fcc900 100644 Binary files a/ace-builds/demo/bookmarklet/images/ace.png and b/ace-builds/demo/bookmarklet/images/ace.png differ diff --git a/ace-builds/demo/bookmarklet/images/background.png b/ace-builds/demo/bookmarklet/images/background.png index c6ee931..4d2eef6 100644 Binary files a/ace-builds/demo/bookmarklet/images/background.png and b/ace-builds/demo/bookmarklet/images/background.png differ diff --git a/ace-builds/demo/bookmarklet/images/body_background.png b/ace-builds/demo/bookmarklet/images/body_background.png index 2101cdf..3e6e4fb 100644 Binary files a/ace-builds/demo/bookmarklet/images/body_background.png and b/ace-builds/demo/bookmarklet/images/body_background.png differ diff --git a/ace-builds/demo/bookmarklet/images/bottombar.png b/ace-builds/demo/bookmarklet/images/bottombar.png index 2e76bf8..2de750e 100644 Binary files a/ace-builds/demo/bookmarklet/images/bottombar.png and b/ace-builds/demo/bookmarklet/images/bottombar.png differ diff --git a/ace-builds/demo/bookmarklet/images/fork_on_github.png b/ace-builds/demo/bookmarklet/images/fork_on_github.png index e8ddb66..b51352d 100644 Binary files a/ace-builds/demo/bookmarklet/images/fork_on_github.png and b/ace-builds/demo/bookmarklet/images/fork_on_github.png differ diff --git a/ace-builds/demo/bookmarklet/images/logo.png b/ace-builds/demo/bookmarklet/images/logo.png index 6af129d..a6e4f80 100644 Binary files a/ace-builds/demo/bookmarklet/images/logo.png and b/ace-builds/demo/bookmarklet/images/logo.png differ diff --git a/ace-builds/demo/bookmarklet/images/logo_half.png b/ace-builds/demo/bookmarklet/images/logo_half.png index f99b0c4..f08edc8 100644 Binary files a/ace-builds/demo/bookmarklet/images/logo_half.png and b/ace-builds/demo/bookmarklet/images/logo_half.png differ diff --git a/ace-builds/demo/kitchen-sink/docs/svg.svg b/ace-builds/demo/kitchen-sink/docs/svg.svg index 4bb28e2..7664213 100644 --- a/ace-builds/demo/kitchen-sink/docs/svg.svg +++ b/ace-builds/demo/kitchen-sink/docs/svg.svg @@ -1,12 +1,4 @@ - - - Test Tube Progress Bar - Created for the Web Directions SVG competition - - - - - - - Hickory, - - dickory, - - dock! - \ No newline at end of file + ]]>Hickory,dickory,dock! \ No newline at end of file diff --git a/ace-builds/demo/kitchen-sink/logo.png b/ace-builds/demo/kitchen-sink/logo.png index a722472..61d6e6c 100644 Binary files a/ace-builds/demo/kitchen-sink/logo.png and b/ace-builds/demo/kitchen-sink/logo.png differ diff --git a/ace-builds/demo/svg.svg b/ace-builds/demo/svg.svg index 82588ca..40c0851 100644 --- a/ace-builds/demo/svg.svg +++ b/ace-builds/demo/svg.svg @@ -1,11 +1 @@ - - - - - -
Hi!
-
-
\ No newline at end of file +
Hi!
\ No newline at end of file diff --git a/assets/bitmapFonts/carrier_command.png b/assets/bitmapFonts/carrier_command.png index d52ff7c..6c47546 100644 Binary files a/assets/bitmapFonts/carrier_command.png and b/assets/bitmapFonts/carrier_command.png differ diff --git a/assets/bitmapFonts/carrier_command_b.png b/assets/bitmapFonts/carrier_command_b.png index 30ab22c..2cd5093 100644 Binary files a/assets/bitmapFonts/carrier_command_b.png and b/assets/bitmapFonts/carrier_command_b.png differ diff --git a/assets/bitmapFonts/carrier_command_o.png b/assets/bitmapFonts/carrier_command_o.png index ce99e9c..02d4a64 100644 Binary files a/assets/bitmapFonts/carrier_command_o.png and b/assets/bitmapFonts/carrier_command_o.png differ diff --git a/assets/bitmapFonts/desyrel-pink.png b/assets/bitmapFonts/desyrel-pink.png index 264b1dc..cc4148a 100644 Binary files a/assets/bitmapFonts/desyrel-pink.png and b/assets/bitmapFonts/desyrel-pink.png differ diff --git a/assets/bitmapFonts/desyrel.png b/assets/bitmapFonts/desyrel.png index c3559e1..d1808da 100644 Binary files a/assets/bitmapFonts/desyrel.png and b/assets/bitmapFonts/desyrel.png differ diff --git a/assets/bitmapFonts/gem.png b/assets/bitmapFonts/gem.png index da0f692..46c6ff3 100644 Binary files a/assets/bitmapFonts/gem.png and b/assets/bitmapFonts/gem.png differ diff --git a/assets/bitmapFonts/nokia.png b/assets/bitmapFonts/nokia.png index 1c71788..33b5539 100644 Binary files a/assets/bitmapFonts/nokia.png and b/assets/bitmapFonts/nokia.png differ diff --git a/assets/bitmapFonts/nokia16.png b/assets/bitmapFonts/nokia16.png index f78c0b5..ec39ea5 100644 Binary files a/assets/bitmapFonts/nokia16.png and b/assets/bitmapFonts/nokia16.png differ diff --git a/assets/bitmapFonts/nokia16black.png b/assets/bitmapFonts/nokia16black.png index e7b752d..b4e6777 100644 Binary files a/assets/bitmapFonts/nokia16black.png and b/assets/bitmapFonts/nokia16black.png differ diff --git a/assets/images/Tile.png b/assets/images/Tile.png index 61a117e..c1f700e 100644 Binary files a/assets/images/Tile.png and b/assets/images/Tile.png differ diff --git a/assets/images/android_spritesheet.png b/assets/images/android_spritesheet.png index 5728108..1f68393 100644 Binary files a/assets/images/android_spritesheet.png and b/assets/images/android_spritesheet.png differ diff --git a/assets/images/ballbird.png b/assets/images/ballbird.png index 03f4b42..520584a 100644 Binary files a/assets/images/ballbird.png and b/assets/images/ballbird.png differ diff --git a/assets/images/bar.png b/assets/images/bar.png index 06813cf..8473e45 100644 Binary files a/assets/images/bar.png and b/assets/images/bar.png differ diff --git a/assets/images/birdblock.png b/assets/images/birdblock.png index ba0fca8..936c9e4 100644 Binary files a/assets/images/birdblock.png and b/assets/images/birdblock.png differ diff --git a/assets/images/block_3.png b/assets/images/block_3.png index dd752f7..66c7e14 100644 Binary files a/assets/images/block_3.png and b/assets/images/block_3.png differ diff --git a/assets/images/block_c.png b/assets/images/block_c.png index 7563f6f..2863cd2 100644 Binary files a/assets/images/block_c.png and b/assets/images/block_c.png differ diff --git a/assets/images/block_cb.png b/assets/images/block_cb.png index 3a377df..99defb9 100644 Binary files a/assets/images/block_cb.png and b/assets/images/block_cb.png differ diff --git a/assets/images/brown_rock.png b/assets/images/brown_rock.png index 903dac6..0a3c659 100644 Binary files a/assets/images/brown_rock.png and b/assets/images/brown_rock.png differ diff --git a/assets/images/brown_rock_c.png b/assets/images/brown_rock_c.png index b8c1e2a..397298c 100644 Binary files a/assets/images/brown_rock_c.png and b/assets/images/brown_rock_c.png differ diff --git a/assets/images/btn_next.png b/assets/images/btn_next.png index 9000f16..a8431f4 100644 Binary files a/assets/images/btn_next.png and b/assets/images/btn_next.png differ diff --git a/assets/images/building.png b/assets/images/building.png index 0acf1ea..eac3290 100644 Binary files a/assets/images/building.png and b/assets/images/building.png differ diff --git a/assets/images/floor.png b/assets/images/floor.png index c6a68df..1d0cc2d 100644 Binary files a/assets/images/floor.png and b/assets/images/floor.png differ diff --git a/assets/images/green_rock.png b/assets/images/green_rock.png index f30e137..8e80ed7 100644 Binary files a/assets/images/green_rock.png and b/assets/images/green_rock.png differ diff --git a/assets/images/green_rock_c.png b/assets/images/green_rock_c.png index 609b6c0..bd12d46 100644 Binary files a/assets/images/green_rock_c.png and b/assets/images/green_rock_c.png differ diff --git a/assets/images/layer-3-ground.png b/assets/images/layer-3-ground.png index 040bdf0..494307e 100644 Binary files a/assets/images/layer-3-ground.png and b/assets/images/layer-3-ground.png differ diff --git a/assets/images/lftTileC.png b/assets/images/lftTileC.png index 9d21a73..c918855 100644 Binary files a/assets/images/lftTileC.png and b/assets/images/lftTileC.png differ diff --git a/assets/images/mascot.png b/assets/images/mascot.png index 3770dba..439febd 100644 Binary files a/assets/images/mascot.png and b/assets/images/mascot.png differ diff --git a/assets/images/mascot_small.png b/assets/images/mascot_small.png index 2b986a0..8de63f0 100644 Binary files a/assets/images/mascot_small.png and b/assets/images/mascot_small.png differ diff --git a/assets/images/midTileC.png b/assets/images/midTileC.png index 29aeb66..64f9acb 100644 Binary files a/assets/images/midTileC.png and b/assets/images/midTileC.png differ diff --git a/assets/images/mountain.png b/assets/images/mountain.png index aef4d97..bd39f3b 100644 Binary files a/assets/images/mountain.png and b/assets/images/mountain.png differ diff --git a/assets/images/pig.png b/assets/images/pig.png index dd18714..c794ab1 100644 Binary files a/assets/images/pig.png and b/assets/images/pig.png differ diff --git a/assets/images/play.png b/assets/images/play.png index b89a11d..2164655 100644 Binary files a/assets/images/play.png and b/assets/images/play.png differ diff --git a/assets/images/reset_btn.png b/assets/images/reset_btn.png index dace9eb..67f8dec 100644 Binary files a/assets/images/reset_btn.png and b/assets/images/reset_btn.png differ diff --git a/assets/images/rightTileC.png b/assets/images/rightTileC.png index ad0e890..4c14925 100644 Binary files a/assets/images/rightTileC.png and b/assets/images/rightTileC.png differ diff --git a/assets/images/run_code.png b/assets/images/run_code.png index 5eb2465..ff26744 100644 Binary files a/assets/images/run_code.png and b/assets/images/run_code.png differ diff --git a/assets/images/tileC1.png b/assets/images/tileC1.png index b59a4e1..710f549 100644 Binary files a/assets/images/tileC1.png and b/assets/images/tileC1.png differ diff --git a/assets/images/tileC2.png b/assets/images/tileC2.png index ff9796d..2fe841a 100644 Binary files a/assets/images/tileC2.png and b/assets/images/tileC2.png differ diff --git a/assets/images/topblock.png b/assets/images/topblock.png index 4dd4540..9b0b04d 100644 Binary files a/assets/images/topblock.png and b/assets/images/topblock.png differ