Git Product home page Git Product logo

ecm2434-treasure-hunt's Introduction

twitter
linkedin

Hackathon veteran.

Handy with Django and AWS.

I also write cool articles: https://dev.to/tao

Check out my work!

ecm2434-treasure-hunt's People

Contributors

freemanm65 avatar jacaddock avatar jakubkwak avatar joseph-lintern avatar lloydtao avatar marektancak0106 avatar mf470 avatar tancak avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jacaddock

ecm2434-treasure-hunt's Issues

Make Google Maps API work for new users

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.

Inconsistent Json files

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
}
}
}
}
}
}

Label for current submission in Photo Objectives

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.

Questions not displayed for users

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

getuser.php email

since "username" in session will never be the user's email, the if statement in unnecessary

Automatically join a game when a team is created (again)

How to recreate:

  1. Game master starts a hunt
  2. A different user joins the game (after creating a new team)
  3. Game master ends the hunt session
  4. Start a new hunt
  5. Have the same user now join that hunt and create a new team
  6. Bug happens

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.