This is a very simple finance game (using Yahoo Finance API). The template is built as part of the Harvard CS50x course.
- Setup MySQL. If you don't know how to start, check this link, or this link.
- Create a database of your choise (could be empty - will setup later)
- Modify your
Finance_Game/includes/constants.php
:
- Setup
UserName
andPassword
- Setup the
database
andserver
- You can keep the
HOME
unchanged
- Run the
DB.sql
to setup the database tables (I suggest using phpMyAdmin for it)
- If you are setting up the phpMyAdmin, make sure you pick a version that supports your PHP and MySQL version
- Run the page