Hackathon veteran.
Handy with Django and AWS.
I also write cool articles: https://dev.to/tao
Check out my work!
ECM2434 Software Engineering Group Project - Group P
Hackathon veteran.
Handy with Django and AWS.
I also write cool articles: https://dev.to/tao
Check out my work!
Most pages currently use:
$publichtml = "c:/wamp64/www/campustreks/";
include($publichtml.'templates/head.php');
in order to work with the root.
This can be changed to just include('templates/head.php');
and it will then work globally.
SQL in create.php doesn't create database entities
When registering, registerhandler.php checks whether a username is already taken. However, it does not take capital letters into account. This means you can end up with two users with the names User1 and user1.
src/www/campustreks/image_uploads
The path to createteamobjectives.php in createteam.php is wrong
Latitude and longitude in boxes out by a factor of 10
When a team re-uploads a different image for an objective, the game master is required to refresh their page to see it
Clickhereto create a new hunt.
Add spaces around "here".
The user should click the join game button to join the game, but some times they get automatically put in the game
You can simply change the hunt ID in the URL and admin any other hunt
JSON files generated by starting a new hunt use key 'teamInfo', but leaderboard.php uses key 'teaminfo', causing an undefined index error on the control panel for the session (hunt_session.php web page).
Line 36 of host.php is $ip = "localhost";
, etc etc
Please replace with include "utils/connection.php";
or whatever else is needed.
The photo submissions currently have no score limit, which can causes errors when the number is too large
At the moment, the Google Maps API is unusable for new users due to a missing key:
Warning: include(api/google_api_key.php
Please look to follow industry practice for keeping the key in a public repository (i.e. prevent automatic scraping of the key through encryption or obfuscation). Otherwise, new users will not be able to set GPS objectives using the in-built map feature.
Specifically in the creation of objectives where the correct format should be:
{
"gameinfo": {
"gamePin": "V7HM",
"huntID": "2",
"master": "james"
},
"teams": {
"": {
"teaminfo": [],
"players": [],
"objectives": []
},
"KJTeam": {
"teaminfo": {
"score": 76
},
"players": [
"Kyle",
"John"
],
"objectives": {
"gps": {
"objective0": {
"completed": false,
"objectiveId": "2"
},
"objective1": {
"completed": false,
"objectiveId": "3"
},
"objective2": {
"completed": false,
"objectiveId": "1"
}
},
"photo": {
"objective3": {
"completed": true,
"objectiveId": "5",
"path": "image_uploads/image4.jpg",
"score": "31"
},
"objective5": {
"completed": false,
"objectiveId": "7",
"path": null,
"score": 0
}
}
}
}
}
}
When playing on /play.php and selecting a photo objective that your team has already submitted for, the photo appears with no context that the photo was a past submission.
Please add some context to this image.
line 18 in checkhunts.php has a leftover redundant echo call which was used for testing
Hunts with just photo objectives can be created. Have to change create,php to check for number of location objectives, not just objectives.
When playing a game, after submitting their location close enough to the GPS, the question is not displayed and th query shows a 404 error
The submitted photos simply won't upload but they still get put on the json which causes an error for both game master and player.
since "username" in session will never be the user's email, the if statement in unnecessary
How to recreate:
When play page loads, a file called '.json' is always created.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.