/dev-story

Dev Story/*HACK THE CODE*/

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

dev-story

An open-source mobile app.

Table of Contents

Installation

To install, simply clone the project to your local directory:

git clone https://github.com/IntelDevZone/dev-story.git

Visit the Intel® Developer Zone and download and install the Intel® XDK.

What's the story?

Intel challenged a small team of developers to build an open source app. They created Dev Story/*HACK THE CODE*/, a set of mini-challenges about the development cycle of an app. But it’s not finished yet.

We’re bringing developers together from around the world to build something special and unique. So whether you’re honing your skills or flexing your coding muscles, you can modify and shape the open source code however you choose.

If your code makes the cut, you’ll see it in the next update. And you’ll take the credit.

Read the full story at the Intel® Developer Zone

Who is this for?

Anyone with experience with HTML, CSS and JavaScript.

This project utilises:

  • jQuery - JavaScript framework
  • Panda.js - Free html5 game engine
  • Pixi.js - 2D webGL renderer with canvas fallback

Usage

Open the DevStory.xdk project file with the Intel® XDK.

Enable developer mode in main.js

App.developer = true;

Preview the app in the Intel® XDK Emulate tab or open up index.html in Google Chrome Emulation Mode.

About the Intel® XDK

Intel® XDK provides a simplified workflow to enable developers to easily design, debug, build, and deploy HTML5 web and hybrid apps across multiple app stores, and form factor devices.

  • Make changes to the code using the built-in IDE in the Develop tab.
  • Quickly preview the app in the Emulate tab.
  • Run the app on a mobile device using the various build options under the Build tab.

Documentation & futher reading

Panda.js - [Documentation] - [Forums]

Pixi.js - [Documentation] - [Forums]

Intel® Developer Zone - [Forums]

Get Involved

Want to be part of Dev Story/*HACK THE CODE*/? We want you to take the reins (and the credit). Here's how.

Build your new levels, mini challenges and mods. Share your ideas with us. If any of them make it into version 2.0, you’ll get the credit!

Don't forget to register at the Intel® Developer Zone.

We can’t wait to see what you create.

Terms and Conditions

###Dev Story – Hack the Code Contest ###Description Through this Contest, Intel is seeking innovative improvements for its Dev Story – Hack the Code App.(“application”). The main aim for this campaign is to help developers to start out with html5 development and the usage of the Intel® XDK (html5 tool set). Additionally to tutorials and technical documentation on software.intel.com/Android, Intel wants to provide the developer with the actual source code to learn and study directly from it.

The following is a brief summary of the structure of the Contest.

###1. How to Enter To enter the Dev Story – Hack the Code Contest (“contest”) you will be required to:

  • A. Register with GitHub at https://github.com/. GitHub* Terms of Service and Privacy Policy will apply to your registration. A free account is sufficient for participation.
  • B. Fork the code provided on the Intel Developer Zone GitHub (https://github.com/IntelDevZone). The code of the application provided from Intel on the Intel Developer Zone GitHub Repository consists of different elements: style.css, media files (audio and visuals in png format), Javascript libraries (jQuery, PIXI.js, Panda.js and Modernizr) .
  • C. Create an improvement to the application using the Intel XDK, which may be downloaded at no expense by visiting: http://xdk-software.intel.com/ or any other tool that allows you to license the outcome of your work under a BSD license, and submit your contribution to https://github.com/IntelDevZone. (“contribution”).There is no limit to the number of contributions you can submit.
  • D. Accept a Contributor License Agreement at https://github.com/IntelDevZone which will document the rights granted by you to Intel for your contributions.
  • E. The Intel Developer Zone GitHub account will be notified about submission of your contribution.
  • F. Your contribution will be reviewed in the judging period and if it meets the standards below, Intel will merge your contributing code into the second version of the application Dev Story – Hack the Code.
  • G. Your contributions may comprise of the following:
    • a. additional new level to the applications which would need to include visual, level name, description of the level – this means new graphics based on the existing layout. The level names follow the career of a developer becoming more and more successful and this should reflect in the place where the app character continues her/his development. For example this could be developing in the penthouse, boat, yacht, privet jet etc.
    • b. additional mini-challenge inspired by one categories of the development lifecycle: Concept, Design, Architecture, Coding, Testing, Debugging, Optimization, Refactoring, Alpha Release, Beta Release, Golden Release, Monetization, Promotion, Patching, Support, Spending.
    • c. modification of the- existing mini-challenges: change the distraction in the first mini-challenge, change the flow of the second and/or third mini-challengeyou contribution must follow the overall look & feel of the application Dev Story – Hack the Code

Intel advises you to use the free Intel XDK tool to modify, change or develop new code but other html5 tools can also be used and are not excluded.

You may use programming aides and tools ("Programming Tools") that you have not personally created with the following caveats: You must have all the necessary rights to use any such Programming Tools in this contest, and the terms and conditions or licensing agreements associated with Programming Tools must allow you to grant all rights set forth in this Official Rules including but not limited, to rights described in section 13 of the Contest Rules. In particular, if you decide to use Programming Tools in addition or instead of the Intel XDK, it is mandatory that the license associated with such Programming Tools allows you to license the outcome of your work (i.e. your contribution to this contest) under a BSD license as set out in section 13 of the Contest Rules.

Your contributions can only be submitted if they fulfill all these conditions and the conditions described in the Contest Rules below.

All contributions are subject to verification by Intel. Any attempted form of contribution other than as described herein is void. Intel, in accordance with this Contest Description and Contest Rules, will determine in its sole discretion, what constitutes a valid contribution.

###Contributions submissions deadlines:

Starts Ends
Contributions Submission Period September 18th 2014 09:00 CET November 30th 2014 23.59 CET
Judging Period December 1st 2014 09:00 CET December 8th 2014 23.59 CET
Prize Fulfillment Period December 15th 2014 December 22nd 2014

No extensions to the deadlines indicated above will be granted.

###2. Prize(s) Second version of the application Dev Story – Hack the Code will include the winning contributions and credit the developer with her or his name in the credit section of the application. Within the countries: Germany, United Kingdom and United States (only) contributors have the chance to win an Intel Galileo Generation 2 board valued at $70. Winners’ names will also be listed in a dedicated blog post on software.intel.com/Android. Second version of the applications will be published on Google Play before January 30th 2015.

###3. Criteria of Winning Submission Based on the judging criteria listed in section 4 of this Contest Description the contributions scoring more than 15 points overall will be winning contributions and credit the developer with her or his name in the credit section of the application. Submissions from participants living in Germany, United Kingdom and the United States (only) being rated more than 15 points, will be entered into a prize pool and additionally to being credited as mentioned above, will have the chance to win an Intel Galileo Generation 2 board (one per country). The prize drawings for each country will be done randomly for all submissions from Germany, United Kingdom and the United States being rated more than 15 points on December 9th at 10:00am CET at the Intel office in Feldkirchen, Germany. ###4. Selection of the Winner(s) – Judging A panel of qualified judges (determined by Intel in its sole discretion) will review the contributions based on following judging criteria:

  • Does the new part of the application perform as expected with robust stability and functionality?: Up to 10 points.
  • Does it use the existing look & feel and deliver a compelling experience for the targeted usage?: Up to 10 points.
  • Other factors like innovation, creativity, uniqueness: Up to 10 points.

###5. List of Winner(s) The list of winners will be included in the credit section of the 2nd revised version of the application and also mentioned in a dedicated blog post on software.intel.com. ###6. Delivery of the Prizes to the Prize Winner(s) The winners will be notified via email and/or GitHub notification before the second version of the application Dev Story – Hack the Code will be publicly made available on Google Play. The prize delivery will be done by postal services within 6 weeks after the second version is on Google Play.

###Intel® Dev Story – Hack the Code Contest Rules Legal Documents Privacy Policy, http://www.intel.com/sites/sitewide/en_US/privacy/privacy.htm?iid=ftr+privacy Terms of Use, http://www.intel.com/sites/corporate/termsofuse.htm Intel® Dev Story – Hack the Code Contest Description and Rules: https://software.intel.com/sites/default/files/managed/e6/7c/DevStory-Hack-the-Code-Skills-Contest-Terms-and-Conditions.pdf ###Intel® Dev Story – Hack the Code Contest Rules

  1. These rules govern the Intel® Hack & Tweak the Code skills contest (the “contest”) and set out the terms and conditions between Intel Corporation and its affiliates (“Intel” or “we/us”) and each participant (“participant” or “you”). They include the Intel Privacy Policy and the Terms of Use.

  2. You are eligible to participate in the contest if you have registered with the GitHub https://github.com/ and if you have registered for the contest and accepted Contributor License Agreement at www. XXX.

  3. Entry to the contest is restricted to one entry per person. In case of entry by e-mail address, entry is limited to one email address per person, whether personally or automatically generated. In case of paper-based entry form, entry to the contest is limited to one entry per home (same name, same address). Entries and E-mail addresses may be checked.

  4. Intel will collect and use your personal information and may share such information with an Agency for the sole purpose of selection, notification and the fulfillment of the contest. The personal information Inte will collect from you is limited to your email address to notify you if you are one of the winners. The personal information you will need to provide to GitHub at the time of GitHub account creation will not be shared with Intel and GitHub’s Privacy Policy will apply to such personal information you will share.

  5. No purchase necessary. Purchase does not increase your chance of winning. Void wherever prohibited.

  6. You must speak, read and understand English and you must be aged 18 years or over.

  7. If you apply to register for the contest, if you contribute to the contest or the, Intel® Developer Zone once you are registered or if you accept any contest prizes, you accept these rules.

  8. Employees of Intel Corporation, its affiliates, subsidiaries, advertising and promotion agencies, and the immediate families of each may not enter. This limitation is void where prohibited.

  9. The contest is open to residents of the following countries only: Austria, Belgium, Bulgaria, Canada (not including Quebec), Chile, Costa Rica, Czech Republic, Denmark, Estonia, Finland, France, Georgia, Germany, Greece, India, Indonesia, Ireland, Israel, Japan, Kazakhstan, Korea, Lithuania, Mexico, Netherlands, Nigeria, Norway, People´s Republic of China, Philippines, Poland, Portugal, Republic of South Africa, Romania, Russia, Slovakia, South Korea, Spain, Sweden, Switzerland, Taiwan, Turkey, Ukraine, United Kingdom, the 50 States of America (and the District of Columbia), Vietnam and Singapore. All national and local laws and regulations apply. Residents of embargoed countries, or nationals of embargoed countries wherever they are located, are not eligible to enter. The contest is void wherever else it is restricted or prohibited by law.

  10. Intel is committed to compliance with all applicable laws, regulations, policies and ethical rules. This section is intended to ensure that your participation in the contest will not violate any such laws, regulations, policies or rules. Intel seeks no promises or favoritism for itself or any of its affiliates in exchange for the opportunity to participate in the contest. By participating in this contest

    • (i) you agree that your participation– including your acceptance of any potential prize – will not violate any law, regulation, policy or rule of your country, state or government agency; and
    • (ii) you certify that any potential prize is not in exchange for an agreement to influence a recent, pending or anticipated act or decision that may result in Intel obtaining or retaining business or a business advantage.
  11. We may refuse your contribution for any reason that we deem appropriate. 4

  12. To help you prepare your contribution, Intel provides you with access to a variety of resources on the Intel® Developer Zone including communication forums, documentation, download areas, code samples, videos, blogs, articles and contests (the “resources”).

  13. You agree to submit contributions to the contest (“contributions”) under the following conditions:

    • A. Intel does not claim ownership of your contributions to the contest in form of sample code, content, videos, articles or any other contributions you submit.

    • B By submitting your contributions, you are granting Intel and its affiliated companies the following worldwide, non-exclusive, perpetual, irrevocable, royalty-free, unconditional, fully paid-up rights:

      • (1) to make, have made, use, copy, reproduce, modify, and create derivative works of the contributions,
      • (2) to distribute your contributions under the Open Source Initiative BSD license terms, as described in the Contributor License Agreement which you can access here: https://github.com/IntelDevZone/dev-story
      • (3) to publicly perform or display, import, broadcast, transmit, distribute (directly and indirectly through multiple tiers), license, offer to sell and sell, rent, lease, or lend copies of the contributions (and derivative works thereof),
      • (4) to sublicense to third parties the foregoing rights, including the right to sublicense to further third parties, and
      • (5) to publish your name or alias in connection with this contest and your contributions for marketing and promotional purposes worldwide in any and all forms of media, whether now known or hereafter devised .
    • C. Your contributions to the contest will be available to other participants and to ensure they are safe and freely usable by other participants, you warrant that:

      • you own or otherwise have all rights necessary for you to provide the contributions and grant the rights described above and you do not disclose any information which would constitute a violation of a confidentiality obligation;
      • your contributions do not contain any viruses, worms, spy ware, or other components or instructions that are malicious, deceptive, or designed to limit or harm the functionality of a computer; and
      • your contributions are not subject to license terms that require any software or documentation incorporating or being derived from your contributions to be licensed to others.
    • D. You further agree and warrant that you shall not submit any contribution:

      • that is known by you to be false, inaccurate or misleading;
      • that shows another person but yourself or an image created by another person if you submit any photos;
      • that infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
      • that violates any law, statute, ordinance or regulation (including, but not limited to, those governing export control, consumer protection, unfair competition, anti-discrimination or false advertising);
      • that is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • E. Apart from prizes offered as part of the contest, no monetary compensation will be paid for any of your contest contributions.

  14. Intel is not responsible for contest entries not received due to lost, failed, delayed or interrupted connections or miscommunications, or other electronic malfunctions. Intel is not responsible for incorrect or inaccurate entry information, whether caused by you or any other persons or by any of the equipment or programming associated with or utilized in the contest.

  15. If you are a winner you may be required to sign and return releases of liability, declarations of eligibility, and where lawful, publicity consent agreements, within five (5) days of acknowledged notification. If minors are allowed to enter and a prize is won by a minor, all required documentation must be signed by the parent/legal guardian. If a selected potential winner cannot be contacted, is ineligible (under these rules or due to a failure to comply with any of the other applicable policies, licenses, rules, and terms of service, fails to claim a prize, or fails to timely return the completed and executed releases/agreements as required), prize may be forfeited and an alternate potential winner may, at Intel’s discretion, be selected. Physical prizes awarded for the winning contributions will be sent to participants within six (6) weeks from the date of the notification email or confirmation of the winning participant’s physical address, whichever is later.

  16. Prizes are personal to the participant submitting the winning contribution and cannot normally be transferred. All prizes are subject to availability and they may change at any time and Intel may award substitute prizes of equal or greater value. A cash alternative is not available. Odds of winning depend on the total number of eligible entries received.

  17. The winner accepts responsibility for all federal, state and local taxes and fees in connection with the prizes. The winner shall be solely responsible to obtain all permissions and authorizations to collect and receive the prize in accordance with the laws of the participant’s country of residence. This contest is void where prohibited or restricted by law, and subject to applicable federal, state provincial and local laws. If the winner is a resident of a country in Latin America, Italy, or any other country where cash prizes are prohibited, cash prizes will be replaced by goods and/or services of equal value in Intel’s sole discretion.

  18. Acceptance of the prize will constitute permission to use winner’s name and/or likeness for promotional purposes without further compensation except where prohibited by law.

  19. Intel does not provide any warranty on the prizes. To the fullest extent allowable by law, Intel specifically disclaims any representations or warranties, express or implied, regarding the prizes, including any implied warranty of merchantability or fitness for a particular purpose and implied warranties arising from course of dealing or course of performance.

  20. Intel reserves the right, in its sole discretion, to suspend or cancel the contest at any time for any reason.

  21. You can withdraw your contribution at any time by notifying us. If a contribution is withdrawn your rights to win a prize in this contest are lost.

  22. These rules apply to your contribution and the resources, unless we provide any items to you under more specific terms, in which case those more specific terms will apply to the relevant items. We may make changes to these rules at any time without notice to you. The most current version of the rules can be reviewed on the https://software.intel.com/enus/ android-devstory website. Contributing to the contest or accepting prizes will constitute acceptance of the revised rules: https://software.intel.com/sites/default/files/managed/e6/7c/DevStory-Hack-the-Code-Skills-Contest-Terms-and-Conditions.pdf

  23. These rules set Intel’s sole responsibilities with respect to the contest. These rules prevail in the event of any conflict or inconsistency with any other communications, including advertising or promotional materials.

  24. For any feedback or questions regarding the contest or the prizes you can contact Intel by sending an email or by participating in the contest discussion forum. email: IntelDeveloperZone@intel.com Forum: https://software.intel.com/en-us/forums/android-applications-on-intel-architecture

  25. If Intel improperly denies you any prizes, Intel's entire liability and your sole and exclusive remedy will be limited to a distribution of the equivalent amount of prizes as set forth above. By participating in the contest, you waive any and all rights to bring any claim or action related to such matters in any forum beyond one (1) year after the first occurrence of the kind of act, event, condition or omission upon which the claim or action is based.

  26. If for any reason this contest is not capable of running as planned due to infection by computer virus, bugs, tampering, unauthorized intervention, fraud, technical failures, or any other causes beyond the control of Intel which corrupt or affect the administration, security, fairness, integrity, or proper conduct of this contest, Intel reserves the right at its sole discretion, to cancel, terminate, modify, postpone or suspend the contest.

  27. You release and hold harmless Intel and its respective subsidiaries, affiliates, directors, officers, prize suppliers, employees and agents from any and all liability or any injuries, loss or damage of any kind arising from or in connection

with this contest or acceptance or use of prizes and from any claim or demand, including reasonable attorneys' fees, made by any third party due to or arising out of content you submit, post, transmit or otherwise make available through this contest. 28. Intel may disqualify any individual who breaches these rules in any way, tampers with the entry process by cheating, hacking, deception or other unfair practices, abuses, threatens or harasses other participants, attempts to interfere with, hack into or decipher any transmissions to or from the servers, gains unfair advantage by any means, interferes with the ability of others to enjoy participation in any way or takes any actions that interferes with the contest rules. 29. Intel assumes no responsibility for any error, omission, interruption, deletion, defect, delay in operation or transmission, communications line failure, theft or destruction or unauthorized access to, or alteration of entries. Intel is not responsible for any problems or technical malfunction of any telephone network or telephone lines, computer online systems, servers, or providers, computer equipment, software, failure of any e-mail or entry to be received by Intel on account of technical problems, human error or traffic congestion on the internet or at any web site, or any combination thereof, including any injury or damage to participant's or any other person's computer relating to or resulting from participation in this contest or downloading any materials in this contest. 30. In case you breach these rules or we reasonably believe that you have submitted a contribution in violation of these rules, we may, after notifying you, terminate your participation immediately 31. The promoter of this contest is Intel. The contest is administered by:

MRM Meterorite
Marcus Keith
Group Account Director

+44 (0)20 7153 8191
Marcus.Keith@mrm-meteorite.com
76–80 Southwark Street, London, SE1 0PN

Intel is a trademark of Intel Corporation in the U.S. and other countries. *Other names and brands may be claimed as the property of others.

© 2010 - 2014, Intel Corporation. All rights reserved.

License

Copyright (c) 2014 Intel Corporation. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.