I played the role of programmer in an independent study at the University of Balitmore, headed by Gregory Walsh. During the project I became familiar with mysql, php and further more with html. The games coding was fairly simple, players would use a simple log in page to log into the game and upon doing so the fitbit api information kept in a database with the username of the player is called upon to sync the users steps and update our database. After the syncing is done the player is redirected to there kingdoms page which was handled by a map generating script that looked for which buildings (represented by numbers) populated which tiles. Once done the player was presented with their map, below is the code used in the project which I touched, there was a lot of scripts used in the projects but the main ones are below.