You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The objective of this final sprint and feature addition is to tie the cyber games and fight games together and give them both an equal level of purpose. Currently, the cyber games are very separate from the rest of the game, thus by integrating the cybergames into the general leaderboard and creating incentives to play them by including powerups and keys, the player is more inclined to play every game and feature of the project thus better integrating the two games (Cyber and fight).
Tasks
NEW IDEA/Feature: Create a key system to better integrate cyber games with fight game
If a user plays a certain number of cyber games --> keys are unlocked on the home page map that can be collected --> these keys can give the users character powerups to use in the fights (skip a question, get a hint, etc)
Key features will be deployed in order to be presented
Multiple people will be able to interact with the feature (collect keys) at the same time, data updates
The Plan
Requirements:
A key system on the home page map.
A mechanism to convert keys into power-ups for use in the fighting game.
Game Data Integration:
Ensure that both the cyber games and fighting game share a common user database.
Implement a tracking mechanism to record the number of cyber games played by each user.
Key System:
Create a key interface on the home page map.
Define conditions for key unlocking (e.g., number of games played).
Design the key as an item that appears on the menu bar)
Power-Up Mechanism:
Define the power-ups (e.g., skip a question, get a hint).
Implement a system to get keys for power-ups in the fighting game.
Database Schema:
Add a games_played field to the user database to track the number of cyber games played.
Add a keys_collected field to track the number of keys a user has.
Schedule
Monday: Share plan with team and create ideation visuals. Ensure that key requirements for N@TM are distributed across features for all team members
Tuesday: Work with Luna (map person) to figure out how to create keys that appear and can be collected via user
Wednesday: Work on database with 'gamesPlayed' and 'keysCollected' to create a system that awards powerups based on plays of cyber game
GET requests to display number of keys based on the column keysCollected in the person database on the backend
here it is for the fight scene
here it is on the main game page
code:
POST requests to increase number of plays by 1 each time AND to add/remove keys based on thresholds
post request working in console log to increase game plays by 1 after playing password game
post request to add keys
proof that key amount is updated on backend
post request to remove keys
post request to reset game plays for players to earn multiple keys
Thursday: Implement the function of the powerups and ensure they work in the fight game
powerups
options popup (wow looks so much like the canva one)
- functions for each powerup
showcase of the hint appearing after using a key. however, the questions database is currently undefined
added hints to backend question database
Finishing touches:
Make use key button only visible when player has keys
Make key post requests work for every game
When powerup option is used, have a visual on appear on screen (ex: when player uses skip, have a "Question Skipped" appear on screen)
When key is earned, have a visual on appear on screen (ex: "You just earned a key. You can use it for a powerup in the fight game!)
Objective
The objective of this final sprint and feature addition is to tie the cyber games and fight games together and give them both an equal level of purpose. Currently, the cyber games are very separate from the rest of the game, thus by integrating the cybergames into the general leaderboard and creating incentives to play them by including powerups and keys, the player is more inclined to play every game and feature of the project thus better integrating the two games (Cyber and fight).
Tasks
The Plan
Requirements:
Game Data Integration:
Key System:
Power-Up Mechanism:
Database Schema:
games_playedfield to the user database to track the number of cyber games played.keys_collectedfield to track the number of keys a user has.Schedule
Monday: Share plan with team and create ideation visuals. Ensure that key requirements for N@TM are distributed across features for all team members
Tuesday: Work with Luna (map person) to figure out how to create keys that appear and can be collected via user
Wednesday: Work on database with 'gamesPlayed' and 'keysCollected' to create a system that awards powerups based on plays of cyber game
keysCollectedin the person database on the backendThursday: Implement the function of the powerups and ensure they work in the fight game
Finishing touches: