Skip to content

This repository contains the codebase for my Introduction to Computer Science final project.

Notifications You must be signed in to change notification settings

levith-andrade-cuellar/knight-dragons-princess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knight, Dragons, Princess

Contributors: Levith Andrade Cuellar and Rustem Khassanov

Description

"Knight, Dragons, Princess" is a plataformer video game we developed for our Introduction to Computer Science class. The game is written in Python and utilizes Processing conventions to handle its graphical user interface.

The Game

The game follows a brave knight who is tasked with finding a lost princess. In order to find the princess the knight must traverse a dark system of caves with the help of a flashlight equipped with limited battery.

The game is inspired by Grotto, a game hosted on Scratch developed by "MrZorx75".

Special features include:

Special Items — Designed to enhance the player's features.

  • "Immunity Bubble" — Temporarily provides immunity to the player.
  • "Jumping Boots" — Temporarily allows the player to jump higher than they normally do.
  • "Fancy Boots" — Temporarily allows the player to jump in the air.
  • "Torch" — The player holds a torch at all times. The torch is initialized with a certain level of battery that the player must conserve and use wisely. The torch is used to temporarily illuminate the way ahead.
  • "Torch Batteries" — Renews the torch's battery.
  • "Sword" — Temporarily grants the player the ability to kill enemies (dragons) by running into them.

Hazardous Items — Obstacles to the player.

  • "Dragon Eggs" — If the player comes into contact with a dragon egg, a dragon spawns and kills the player.
  • "Lava" — Coming into contact with lava kills the player.

Enemies — Moving obstacles.

  • "Dragons" - Dragons are the main enemies of the game. Coming into contact with them kills the plater.

Levels — Individual tunnel systems the player has to navigate.

  • "Caves" — The character may hide in caves to avoid coming into contact with dragons while awaiting their departure.

Other Features

  • "Light Circle" — As in Grotto, the game that inspired KDP, the player may only see their character's immediate sorroundings.

Most of the game's assets were designed by Levith to provide a cohesive look to the game.

How to Play

  1. Download Processing, the software the game was written for.
  2. Clone or download this repository onto your machine.
  3. Keeping all files in the same folder ("kdp"), open the file "kdp.pyde" using Processing.

Preview

Here are some game screens that exemplify some of above features.

The game's title screen —

Title Screen

The knight holding a "sword" close to a dragon —

Knight and Dragon

The knight enveloped by an "immunity bubble" touching a dragon egg —

Knight and Egg

About

This repository contains the codebase for my Introduction to Computer Science final project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages