diff --git a/_includes/nav/share_and_care.html b/_includes/nav/share_and_care.html index 74627a52..dc5c1699 100644 --- a/_includes/nav/share_and_care.html +++ b/_includes/nav/share_and_care.html @@ -3,6 +3,7 @@ Chess Forum Revvit Underground Music - DNHS Cafe + DNHS Cafe + Hungry Games diff --git a/navigation/create_and_compete/doodle-artpost.md b/navigation/create_and_compete/doodle-artpost.md new file mode 100644 index 00000000..2557ff5e --- /dev/null +++ b/navigation/create_and_compete/doodle-artpost.md @@ -0,0 +1,128 @@ +--- +layout: post +title: Create and Compete - Doodle +search_exclude: true +permalink: /moderation/artpost_doodle/ +author: Alex, Arshia, Prajna, and Mirabelle +--- + + + + + + + + Photo Posting App + + + +

Photo Posting App

+
+ + + +
+ + + + + diff --git a/navigation/create_and_compete/doodle-chat.md b/navigation/create_and_compete/doodle-chat.md new file mode 100644 index 00000000..cae86b49 --- /dev/null +++ b/navigation/create_and_compete/doodle-chat.md @@ -0,0 +1,101 @@ +--- +layout: post +title: Chat Room for Doodle +description: Chat freely with everyone +permalink: /moderation/chat_doodle/ +author: Arshia, Prajna, Mirabelle, Alex +--- + + + + + + Chat Room + + + + +
+

Chat Room

+
+
+ + +
+
+ + + + + diff --git a/navigation/create_and_compete/doodle-competition.md b/navigation/create_and_compete/doodle-competition.md new file mode 100644 index 00000000..deff95ad --- /dev/null +++ b/navigation/create_and_compete/doodle-competition.md @@ -0,0 +1,79 @@ +--- +layout: post +title: Create and Compete - Doodle Game UI +search_exclude: true +permalink: /moderation/doodle_competition/ +author: Arshia, Prajna, Mirabelle, Alex +--- + + + + + Drawing Canvas + + + + +
+ +
+ + + + + +
+
+ + + + + + diff --git a/navigation/create_and_compete/doodle.md b/navigation/create_and_compete/doodle.md index 93857a1a..2c2399a9 100644 --- a/navigation/create_and_compete/doodle.md +++ b/navigation/create_and_compete/doodle.md @@ -15,4 +15,16 @@ author: Alex, Arshia, Prajna, and Mirabelle

The page is a place where people can explore themselves creatively and compete to see who has the best doodle. This allows for players to collaborate over their artistic abilities. Our room includes a chat room where players can converse about their creations, a doodle compete area, a place where people can post their art, and winners get crowned every week. This will help add to our classes page by making a fun artistic environment where everyone can collaborate.

- \ No newline at end of file + + + + Chat Room + + + + Competition Room + + + + Competition + diff --git a/navigation/create_and_compete/scripted.js b/navigation/create_and_compete/scripted.js new file mode 100644 index 00000000..195c6fc9 --- /dev/null +++ b/navigation/create_and_compete/scripted.js @@ -0,0 +1,91 @@ +// Array of zoomed-in image URLs +const imageList = [ + "zoomed-image1.jpg", + "zoomed-image2.jpg", + "zoomed-image3.jpg" + + + // Add more image URLs as needed + ]; + + + // Wait for the DOM to load before accessing elements + document.addEventListener("DOMContentLoaded", function() { + // Elements + const zoomedImage = document.getElementById("zoomed-image"); + const generateImageButton = document.getElementById("generate-image"); + const submitGuessButton = document.getElementById("submit-guess"); + const guessInput = document.getElementById("guess-input"); + const reasoningInput = document.getElementById("reasoning-input"); + const feedbackDisplay = document.getElementById("feedback-display"); + const feedbackModal = document.getElementById("feedback-modal"); + const closeButton = document.querySelector(".close-button"); + + + // Generate Random Image + generateImageButton.addEventListener("click", function() { + const randomIndex = Math.floor(Math.random() * imageList.length); + const selectedImage = imageList[randomIndex]; + zoomedImage.src = selectedImage; + zoomedImage.alt = "Zoomed in image for guessing"; + feedbackDisplay.innerHTML = ""; // Clear previous feedback on new image generation + }); + + + // Submit Guess and Reasoning + submitGuessButton.addEventListener("click", function() { + const guess = guessInput.value.trim(); + const reasoning = reasoningInput.value.trim(); + + + if (guess === "" || reasoning === "") { + alert("Please enter both your guess and reasoning."); + return; + } + + + // Display the guess and reasoning + feedbackDisplay.innerHTML = ` +

Your Guess:

+

Guess: ${guess}

+

Reasoning: ${reasoning}

+ `; + + + // Show modal confirmation + feedbackModal.style.display = "block"; + + + // Reset input fields + guessInput.value = ""; + reasoningInput.value = ""; + }); + + + // Close Modal + closeButton.addEventListener("click", function() { + feedbackModal.style.display = "none"; + }); + + + // Close Modal when clicking outside of it + window.addEventListener("click", function(event) { + if (event.target == feedbackModal) { + feedbackModal.style.display = "none"; + } + }); + + + // Placeholder function to update the leaderboard + const leaderboard = document.getElementById("leaderboard"); + function updateLeaderboard(name) { + const listItem = document.createElement("li"); + listItem.textContent = name; + leaderboard.appendChild(listItem); + } + + + // Example of adding a name to leaderboard (testing purpose) + // updateLeaderboard("Top Guesser #1"); + }); + \ No newline at end of file diff --git a/navigation/create_and_compete/zoom-n-guess.md b/navigation/create_and_compete/zoom-n-guess.md index 8da1903a..7049a0b4 100644 --- a/navigation/create_and_compete/zoom-n-guess.md +++ b/navigation/create_and_compete/zoom-n-guess.md @@ -1,5 +1,5 @@ --- -layout: post +layout: post title: Create and Compete - Zoom n guess search_exclude: true permalink: /create_and_compete/zoominguess @@ -8,35 +8,46 @@ author: Arhaan, Mihir, Keerthan, and Akshaj --- +Zoominguess UI + +
+
- Room Details - + Room Details Moderation Rules + + + +

The main purpose of our Zoom-In Guess room is to have people think critically and collaborate with other members of the channel to identify the image as fast as possible.

+

Room will consist of:

+
- Additional Interactive Features - + Additional Interactive Features +
  • **Mini Game - "Guess the Zoom":** Players try to guess the object or person from a zoomed-in image, with clues if needed.
  • +
  • **Posts and Comments:** Members can post their own zoomed-in pictures for others to guess and discuss in the comments.
  • +
  • **Rate and Relate Theme:** After guessing, players rate the difficulty of the image, and connect with others on their similar or differing guesses.
  • + -

    This interactive setup makes the game fun, challenging, and a great way to start conversations about perception and recognition!

    + +

    This interactive setup makes the game fun, challenging, and a great way to start conversations about perception and recognition!

    + + diff --git a/navigation/create_and_compete/zoominguess-ui.md b/navigation/create_and_compete/zoominguess-ui.md new file mode 100644 index 00000000..4e7f5070 --- /dev/null +++ b/navigation/create_and_compete/zoominguess-ui.md @@ -0,0 +1,172 @@ +--- +layout: post +title: Create and Compete - Zoominguess UI +search_exclude: true +permalink: /create_and_compete/zoominguess/ui +author: Arhaan, Akshaj, Mihir, Keerthan +--- + + + + + + +
    +

    Zoom N Guess

    +

    Look at the closely zoomed-in image below and guess who it is. Explain why you think it's that person!

    + + + +
    + +
    + + Zoomed Image +
    +
    + + + +
    + + +
    + + + +
    + + +
    + + + + + + + +
    +

    Your Feedback

    +
    Your guess and explanation will appear here after submission.
    +
    + + + +
    +

    Top Guessers

    +
      + +
    +
    + + + + +
    + + + diff --git a/navigation/create_and_compete/zoominguess.css b/navigation/create_and_compete/zoominguess.css new file mode 100644 index 00000000..4da57739 --- /dev/null +++ b/navigation/create_and_compete/zoominguess.css @@ -0,0 +1,188 @@ +/* General container for Zoom N Guess game */ +.zoomnguess-container { + width: 80%; + max-width: 600px; + background-color: #ffffff; + border: 2px solid #ccc; + border-radius: 10px; + padding: 20px; + box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); + margin: 20px auto; + text-align: center; + color: #333; /* Dark text color */ + } + + + h1, h2 { + color: #333; /* Dark color for headings */ + } + + + p, label, .info-box, .leaderboard-box li { + color: #333; /* Dark color for main text content */ + } + + + /* Zoom Image Display Section */ + .zoom-image-section { + margin-bottom: 15px; + } + + + .zoom-image-box { + border: 2px solid #007BFF; + border-radius: 8px; + padding: 10px; + display: flex; + justify-content: center; + align-items: center; + height: 200px; + background-color: #f9f9f9; + color: #333; /* Dark color for text inside the box */ + } + + + .zoom-image { + max-width: 100%; + max-height: 100%; + border-radius: 5px; + box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); + } + + + /* Guess Input Box */ + .guess-box { + width: 100%; + padding: 10px; + margin-top: 10px; + margin-bottom: 10px; + } + + + .guess-box input { + width: 100%; + padding: 10px; + font-size: 16px; + border: 1px solid #007BFF; + border-radius: 5px; + color: #333; /* Dark text color inside input fields */ + } + + + /* Explanation Box */ + .explanation-box { + width: 100%; + margin-top: 10px; + margin-bottom: 10px; + } + + + .explanation-box textarea { + width: 100%; + padding: 10px; + font-size: 16px; + border: 1px solid #28A745; + border-radius: 5px; + resize: vertical; + height: 80px; + color: #333; /* Dark text color for textarea */ + } + + + /* Submit Button */ + .submit-button { + width: 100%; + background-color: #007BFF; + color: #ffffff; + font-size: 18px; + padding: 12px; + border: none; + border-radius: 5px; + cursor: pointer; + transition: background-color 0.3s; + margin-top: 10px; + } + + + .submit-button:hover { + background-color: #0056b3; + } + + + /* Feedback Section */ + #feedback-section { + margin-top: 20px; + } + + + .info-box { + width: 100%; + padding: 15px; + margin-top: 10px; + border: 1px solid #ccc; + border-radius: 5px; + background-color: #f9f9f9; + color: #333; /* Ensures text inside info-box is dark */ + } + + + /* Leaderboard Styling */ + .leaderboard-box { + list-style-type: none; + padding: 0; + border: 1px solid #ccc; + border-radius: 5px; + background-color: #f9f9f9; + padding: 10px; + margin-top: 10px; + } + + + .leaderboard-box li { + padding: 5px 0; + border-bottom: 1px solid #e0e0e0; + color: #333; /* Dark text for leaderboard items */ + } + + + /* Modal Styling */ + .modal { + display: none; + position: fixed; + z-index: 1; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.4); + padding-top: 60px; + } + + + .modal-content { + background-color: #fefefe; + margin: 5% auto; + padding: 20px; + border: 1px solid #888; + width: 80%; + max-width: 500px; + border-radius: 10px; + box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); + text-align: center; + color: #333; /* Dark text color for modal content */ + } + + + .close-button { + color: #aaa; + float: right; + font-size: 28px; + font-weight: bold; + cursor: pointer; + } + + + .close-button:hover { + color: #000; + } + \ No newline at end of file diff --git a/navigation/share_and_care/recipes/home.md b/navigation/share_and_care/recipes/home.md new file mode 100644 index 00000000..3996e2d7 --- /dev/null +++ b/navigation/share_and_care/recipes/home.md @@ -0,0 +1,171 @@ +--- +layout: post +title: The Hungry Games (Home and Chat) +description: Have fun talking about food, resturants, and more! Favorite people's chat messages to store them! +permalink: share_and_care/hungry_games +comments: true +--- + + + + + + + + + + + +
    + Pizza + Pasta + Ramen +
    + +
    +
    Chat Box
    +
    + +
    +
    + + +
    +
    + + + + + + diff --git a/navigation/share_and_care/recipes/recipes.md b/navigation/share_and_care/recipes/recipes.md new file mode 100644 index 00000000..622d0bbd --- /dev/null +++ b/navigation/share_and_care/recipes/recipes.md @@ -0,0 +1,61 @@ +--- +layout: post +title: The Hungry Games +description: Dive into the world of scrumptious foods and get to cooking today! +hide: true +menu: nav/home.html +--- + + + + + + Beautiful Food Layout + + + + + +
    + Pizza + Pasta + Ramen +
    + + + + \ No newline at end of file