This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* This code implements a simple higher/lower guessing game. | |
The computer picks a random number and the user guesses by way of an HTML form. | |
The user is given hints if they guess incorrectly with the ability to try again. | |
Upon winning the game the user can add their name to a session-based leaderboard. */ | |
require('session_game_functions.php'); | |
session_start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This code implements a simple higher/lower guessing game. | |
* | |
* The computer picks a random number and the user guesses by way of an HTML form. | |
* | |
* The user is given hints if they guess incorrectly with the ability to try again. | |
* | |
* Upon winning the game the user can add their name to a session-based leaderboard. | |
*/ |