Skip to content

rishitnanda/Quidditch-RPG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is the code to launch up a site to play quidditch with 14 players (7 on each team) and a game-master who overlooks the entire game settings. Players can chat in a chat-box and use commands to go through the game. The game ends when the snitch is caught and team with highest number of points wins. To login as a player, use id psw as written in code.

Quidditch Moves

Chasers [Score goals throwing the Quaffle through opponent's hoops.]

/Dodge_Player opponent_name

  • Evade an incoming player.
  • Activate: After Snatch by Opponent.
  • Counter: None
  • Effect: Reduces handling.
  • Chance of Warning: No
  • Cooldown: None

/Dodge_Bludger

  • Evade an incoming bludger.
  • Activate: After Beat Bludger, Double Hit by Opponent.
  • Counter: None
  • Effect: Reduces handling.
  • Chance of Warning: No
  • Cooldown: None

/Namecall opponent_name

  • Disrupt a player's focus.
  • Counter: None
  • Effect: Reduces opponent’s morale.
  • Chance of Warning: Yes
  • Cooldown: 1 Action

/Pass teammate_name

  • Pass the Quaffle to a teammate.
  • Activate: If has Quaffle.
  • Counter: None
  • Effect: Increase scoring chance.
  • Chance of Warning: No
  • Cooldown: None

/Shoot

  • Attempt to score in a goalpost.
  • Activate: If has Quaffle.
  • Counter: Block
  • Effect: Reduces strength.
  • Chance of Warning: No
  • Cooldown: None

/Dunk

  • Attempt a powerful or tricky shot to score.
  • Activate: If has Quaffle.
  • Counter: None
  • Effect: Decreases strength and defense.
  • Chance of Warning: No
  • Cooldown: 2 Actions

/Snatch or /Snatch opponent_name

  • Attempt to pick up dropped Quaffle or snatch Quaffle from opponent.
  • Activate: If not has Quaffle. No ongoing snatch event.
  • Counter: Dodge Player
  • Effect: Reduces opponent morale
  • Chance of Warning: No
  • Cooldown: None

/Wait

  • Wait for another action to be enabled.
  • Counter: None
  • Effect: No additional effect
  • Chance of Warning: No
  • Cooldown: None

Beaters [Use Bludgers to disrupt the opposing team's players]

/Namecall opponent_name

  • Disrupt a player's focus.
  • Counter: None
  • Effect: Reduces opponent’s morale.
  • Chance of Warning: Yes
  • Cooldown: 1 Action

/Defend teammate_name

  • Protect other players.
  • Activate: After Beat Bludger, Double Hit by Opponent.
  • Counter: None
  • Effect: Prevent bludger hit.
  • Chance of Warning: No
  • Cooldown: None

/Beat_Bludger opponent_name

  • Hit a bludger towards an opponent.
  • Counter: Dodge Bludger, Defend, Beat Bludger
  • Effect: Reduces opponent’s handling.
  • Chance of Warning: No
  • Cooldown: 1 Action

/Double_Hit opponent_name

  • Beat two bludgers in rapid succession.
  • Activate: No incoming bludger towards beater
  • Counter: Dodge Bludger, Defend
  • Effect: Reduces defense and handling.
  • Chance of Warning: No
  • Cooldown: 2 Actions

/Wait

  • Wait for another action to be enabled.
  • Counter: None
  • Effect: No additional effect
  • Chance of Warning: No
  • Cooldown: None

Keepers [Guard the hoops to prevent the opposing team from scoring.]

/Dodge_Bludger

  • Evade a bludger.
  • Activate: After Beat Bludger, Double Hit.
  • Counter: None
  • Effect: Reduces handling.
  • Chance of Warning: No
  • Cooldown: None

/Namecall opponent_name

  • Disrupt a player's focus.
  • Counter: None
  • Effect: Reduces opponent’s morale.
  • Chance of Warning: Yes
  • Cooldown: 1 Action

/Defend

  • Set up a defensive strategy.
  • Counter: None
  • Effect: Increases defense for the team.
  • Chance of Warning: No
  • Cooldown: 2 Actions

/Block

  • Block a shot at the goalposts.
  • Activate: After Shoot by Opponent.
  • Counter: None
  • Effect: Increases defense.
  • Chance of Warning: No
  • Cooldown: None

/Wait

  • Wait for another action to be enabled.
  • Counter: None
  • Effect: No additional effect
  • Chance of Warning: No
  • Cooldown: None

/Slow_Hover

  • Hover slowly in front of goal posts.
  • Counter: None
  • Effect: Increases defense, increases strength, decreases speed.
  • Chance of Warning: No
  • Cooldown: 1 Action

/Pass teammate_name

  • Pass the Quaffle to a teammate.
  • Activate: If has Quaffle.
  • Counter: None
  • Effect: No additional effect.
  • Chance of Warning: No
  • Cooldown: None

Seekers [Catch the Golden Snitch to end the game and score 150 points.]

/Dive

  • Attempt to capture the Snitch.
  • Activate: If snitch spotted.
  • Counter: Dodge Bludger
  • Effect: Reduces defense. Increase chance of losing sight of snitch.
  • Chance of Warning: No
  • Cooldown: None

/Dodge_Bludger

  • Evade an incoming bludger.
  • Activate: After Beat Bludger, Double Hit.
  • Counter: Dodge Bludger
  • Effect: Reduces handling.
  • Chance of Warning: No
  • Cooldown: None

/Namecall opponent_name

  • Disrupt a player's focus.
  • Counter: None
  • Effect: Reduces opponent’s morale.
  • Chance of Warning: Yes
  • Cooldown: 1 Action

/Slow_Hover

  • Hover slowly to anticipate the Snitch's movements.
  • Activate: If snitch not spotted.
  • Counter: None
  • Effect: Increases agility, reduces speed. Increases chance of spotting snitch.
  • Chance of Warning: No
  • Cooldown: 1 Action

/Wait

  • Wait for another action to be enabled.
  • Counter: None
  • Effect: No additional effect
  • Chance of Warning: No
  • Cooldown: None

Releases

No releases published

Packages

No packages published

Languages