/Leaf-Pun-Quiz

CSSS Fall Hacks 2023

Primary LanguageJavaScript

Laughing with Leaves

Project Description

This is a riddle game where the user solves various leaf-like riddles in order to grow a tree. The more riddles the user successfully answers, the more the tree grows. If you reach max tree size, you have successfully grown the tree and you win the game!

On the contrary, for every riddle answered incorrectly, the tree's growth process is reversed, and it shrivels. If you reach the minimum tree size, the tree is shrivelled and you lose the game.

Ties to the theme

This idea incorporates both the tangible and intangible interpretations of the theme "turning a new leaf." This game literally incorporates various different aspects of leaves by creating witty leaf riddles. They are humourous and can be a great stress-buster game. Helping you improve your overall well-being and turn a new leaf in life.

File structure

leaf_pun_app contains the codes for the client side
leaf_pun_server contains the codes for the server side

Build instructions

  1. Install the required dependencies: npm, express, and cors.
    sudo apt install npm -y
    npm install express cors
    
  2. Launch the server.
    cd leaf_pun_server
    node server.js
    
  3. Launch the game.
    Open the leaf_pun_app/homepage folder and double-click on index.html.
  4. Enjoy!

Participants

Tran Bao Khanh Huynh (Nathan): tran_bao_khanh_huynh@sfu.ca
Takuto Sakaemura: tsa117@sfu.ca
Mrinal Goshalia: mrinal_goshalia@sfu.ca
Hieu Duong: hieu_duong@sfu.ca
Kazi Boni Amin: bonirhythm@gmail.com

Repository and resources

References