O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Build Gamified Websites with PHP and jQuery

Book Description

Using gaming principles to make learning more engaging, motivating, and interactive is a growing trend in web development. It’s called gamification, and this book is the complete introduction to its theory and practice.

  • Build your own Gamified website
  • Use game mechanics to motivate the users
  • Understand and implement game design process

In Detail

Gamification involves the process of leveraging the features of real games into real life. A gamified website has the potential to increase user engagement, ROI, and learning. This book will help you build gamified websites with PHP and jQuery by making you understand the gamification design process to implement game mechanics in practical applications.

Gamified websites are very popular amongst Internet users. The gamification of a web content draws users into action to empower them and help them develop new skills. Games engage user attention into the task and each task accomplished will mean the development and enhancement of new skills. This book will help you to apply the essence of games into real word applications such as business and education.

Build Gamified Websites with PHP and jQuery aims at empowering and educating the users with an educational gamified website. The book walks through the process of developing a gamified website. Through the course of the book, you will learn gamification development process. The book emphasizes on the application of game mechanics to motivate the user. You will then use the Fogg behaviour model to influence the user behaviour. By the end of the book, you will see yourself building more engaging yet simple websites based on rational principles.

Table of Contents

  1. Build Gamified Websites with PHP and jQuery
    1. Table of Contents
    2. Build Gamified Websites with PHP and jQuery
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Gamifying the Educational Process
      1. What exactly is gamification?
        1. Schools using gamification
      2. History of gamification in education
        1. Monopoly Academy
        2. Khan Academy
        3. Spongelab
        4. Youtopia
        5. Quest2Learn
        6. World of Classcraft
        7. Gamification in universities
      3. The future of gamification in education
        1. Gamification in the classroom
        2. Having fun at school
      4. Summary
    9. 2. The Framework
      1. Business objectives
      2. Target behaviors
      3. Players
      4. Activity loops
        1. Progression loops
      5. Fun
      6. Tools
      7. Account creation screen
      8. Summary
    10. 3. Objectives and Target Behavior
      1. Fogg behavioral model
        1. Motivation
        2. Ability
      2. Triggers
        1. Triggers in our application
      3. Increasing our players' ability
        1. Motivating our players
      4. Identify internal and external triggers
        1. Intended action
        2. Variable reward
      5. Our development environment
      6. Installing a LAMP stack
        1. Troubleshooting the WAMP server setup
      7. Summary
    11. 4. The Players
      1. Bartle Test of Gamer Psychology
        1. Killers
          1. Leaderboards
          2. Rewards for defending and critiquing posts
        2. Achievers
          1. Badges
          2. Leveling/progress
          3. Challenges
        3. Socializers
        4. Explorers
      2. Our players
      3. Creating the MySQL database
        1. Creating our tables
      4. Summary
    12. 5. Activity
      1. Pyramid of game elements
      2. Gamification toolbox – better than PBLs
      3. The VuPoint application
        1. jQuery
          1. Vupoint.js
          2. Index.html
        2. The Home page
      4. Account Creation Page
        1. Validate the form
        2. Writing a new account to the database
        3. The Login Page
        4. Main page view
      5. Summary
    13. 6. The Fun
      1. Intrinsic versus extrinsic behavior
      2. What makes "fun" fun?
      3. The player's experience
        1. Competency
        2. Autonomy
        3. Relatedness
      4. The Scoring module
        1. AjaxHandler.php
      5. The Achievement module
      6. The Leaderboard module
      7. Players currently online
      8. Summary
    14. 7. The Wrap Up
      1. Just the beginning
      2. Third party plugins
        1. Gigya plugins
        2. Badgeville
      3. More resources
        1. Gamification
        2. PHP
        3. MySQL
        4. jQuery
    15. A. Tables
      1. Engagement loops (Table A – 1)
        1. Player type: Killer
        2. Player type: Achiever
        3. Player type: Socializer
        4. Player type: Explorer
      2. Gamification design matrix (Table A – 2)
    16. Index