Easter Egg hunt created for /r/GameDeals community
PHP HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
completed
computerscience
math
trivia
404.html
gamedealshunt.sql
index.html
license.txt
readme.md

readme.md

GameDeal Hunt

History

GameDealHunt was a series of puzzles created for Easter 2015 for the /r/GameDeals community. It was devised and built in just under a week, and offered Steam keys to anybody that could complete one of the three challenge branches.

While the actual puzzles are implemented as simple HTML documents, the reddit account verification and key distribution code may be useful for others looking to implement a similar system. The answers to the puzzles are of course included too.

This project uses Reddit PHP SDK to connect to reddit.

Install

To setup your own instance of GameDeal Hunt, you'll need a webserver with PHP and MySQL enabled.

Configuration

  • Under /completed/reddit-php-sdk/config.php, set $ENDPOINT_OAUTH_REDIRECT and $CLIENT_ID, and $CLIENT_SECRET to your reddit API keys.
  • Under /completed/script.php, set $redditAccountYoungest to the reddit age required to take advantage of the giveaway. Configure your own database credentials under connectDB().
  • This project includes an SQL file to import an empty set of users/keys to get started. Import this into your database.

Answers

Spoiler warning! This section (as well as the /trivia, /computerscience, and /math directories) include the answers to the puzzles. Only read on if you're okay with being spoiled.

Trivia

1

index.html

2

2009.html

3

katademo.html

4

meta.html

5

charity.html

6

bundlestars.html

7

tony.html

8

expired.html

Computer Science

1

index.html

Answer is visible in console tab of dev tools.

2

warmingup.html

Answer is only visible from mobile devices. Can be simulated using browser dev tools.

3

missingapiece.html

Apply ROT13 cypher.

4

allyourbase.html

Page is encoded as base64 string. Can be pasted in URL bar to view.

5

Answer is the time as represented in a binary clock.

6

123952.html

Answer has been appended as text file to dino.png. Visible by extracting using zip tool, read in hex editor, or simply viewed into notepad.

7

scaredycat.html

Mathematics

1

index.html

2

8625.html

3

coprime.html

4

55.html

5

3min.html

6

62436.html