Skip to content

vishnubhagwan/DonkeyKong

 
 

Repository files navigation

DonkeyKong

Harshil Goel

201401171

DonkeyKong Assignment

UG2 CSE

Coverage Status

python donkeykong.py to play

board.py contains main algorithm of play

person.py defines person class

player.py defines player class

donkey.py defines donkey class

fireball.py defines fireball class

Key Points:

  • Donkeys increase at every level.
  • Colored Output
  • Fireballs can be made to appear randomly or with some ai with very less change in code.
  • When user completes a level, i.e. resques the princess, Score remains intact but Coins Collected changes back to 0(to show how many coinse were collected in this level.)
  • getPosition(), checkWall(), checkCollision() ((Implemented as checkBlocking()), collectCoin() were implemented
  • I could not take simontaneous input for jump. So you will need to press space first then the direction in which you want to jump

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.5%
  • HTML 8.0%
  • JavaScript 1.1%
  • Other 0.4%