Book Image

Build Gamified Websites with PHP and jQuery

By : Detrick DeBurr
Book Image

Build Gamified Websites with PHP and jQuery

By: Detrick DeBurr

Overview of this book

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 (15 chapters)

Account Creation Page


This is the actual page that the player will see as shown in the following screenshot. He/she gets redirected to it when no VuPointUser cookie is found.

The code to create this page is as follows:

<?php include 'header.php'; ?>
<div class="container">
  <?php include 'menu.php'; ?>
  <div class="content">
    <h1>Account Creation Page</h1>
    <form action="AccountCreation.php" method="post">
    <table width="550" border="0">
  <tr>
    <td>Name</td>
    <td><input id="username" type="text" size="30" /></td>
  </tr>
  <tr>
    <td>Email</td>
    <td><input id="email" type="text" size="30" /></td>
  </tr>
  <tr>
    <td>Password</td>
    <td><input  id="password" type="password" size="30" /><span class="instruction"> At Least 5 Characters<span></td>
  </tr>
  <tr>
    <td>Confirm...