Skip to content

As I said, this is a racing game, and like any other racing game, there are obstacles and freebies on your race track. For implementing this game I use inheritance, polymorphism, exception handling, and define your own exceptions. We have given the names of those exceptions as well in the sample test case.

Notifications You must be signed in to change notification settings

harshitsingh13/Racing-game-design-Version-1--OOPs-Exceptional-handling-etc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Racing-game-design-OOPs-Exceptional-handling-etc

Like I said, this is a racing game, and like any other racing game there are obstacles and freebies on your race track. For implementing this game I use inheritance, polymorphism, exception handling, and define your own exceptions. We have given the names of those exceptions as well in the sample test case.

The game starts with the user entering the total number of tiles on the race track. Each tile represents one position in one dimension. A tile can be of type Snake, Vulture, Cricket, White, or Trampoline. This is a single player game and once the game starts, its the computer who plays the game without any user intervention, and continues playing until the player wins.

About

As I said, this is a racing game, and like any other racing game, there are obstacles and freebies on your race track. For implementing this game I use inheritance, polymorphism, exception handling, and define your own exceptions. We have given the names of those exceptions as well in the sample test case.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages