Skip to content
s-pedamallu edited this page Nov 9, 2014 · 6 revisions

Welcome to the Games wiki!


This is the primary repository I'll be using to manage the code for the games I have developed in past or will develop in the future. I will have to acknowledge professors Scott Rixner, Joe Warren, John Greiner for an excellent course on Interactive Programming in Python on Coursera that inspired me into this



1. Pokemon Hangman

This is the game I developed during a weekend in the summer of 2014. But later I saw that my ideas were increasing and the initial code was very cluttered to support or implement all of my ideas. So, I refactored the complete code during one week in October 2014. These two versions appear as OldCode and NewCode in the repository.

Some Screenshots

Welcome Screen Game Screen Image and video hosting by TinyPic

Download Game

You can download the executable for windows here

Repository Usage

You need the python and pygame library to be installed on your machine to execute this code. I used python 2.7 and its supported pygame library. In order to build more features, you might want to understand what each of the file does. Let me describe that for the NewCode folder:

* pokemonhangman.py : This is the topmost module that starts the game. So in order to run the code you come to this location in the terminal/command prompt and type python pokemonhangman.py * welcome.py : This is the file that displays the welcome screen that has options to start the game in 3 modes, namely, Trainer, Challenger and Master. The screenshot corresponding to this file is the first one you see above. * levelshandler.py : The welcome screen starts the game and passes on control to this module. This module keeps track of the score, hints used and current level and level progress of the user. The game is divided into 5 levels, namely, Kanto, Johto, Hoenn, Sinnoh and Unova. * game.py : The levelshandler module passes on control to game.py for game play. This module is responsible for the actual game play. The screen corresponding to this module is the second image in the above screenshots. * finish.py : The game module passes on the result of gameplay to this module. It reveals the actual pokemon in the game and also displays its details. * acknowledgements.py : This is the last screen you'd see in the game which shows Final Score, Ackowledgements and my name as the developer :) * commonvariables.py : This file contains the variables common to all the modules * gamegraphics.py : This file contains functions that help in graphics handling for all the modules like displaying text, handling mouse clicks etc.

Contact Me :)

Finally, if you need any more information or anything I can help you with, please feel free to contact me at shashank.pedamallu@gmail.com :)

Hope you'll like it :D