IT-500 Project

Great Essays
IT-500 Project By Rishabh Ganger

Table of Contents

Abstract…………………………………………………………………………………………..Page 3
Introduction………………………………………………………………………………………Page 4
The Program…………………………………………………………………………………….Page 5
Screenshots
Source Code
Conclusion
References

Abstract

A text-based adventure game compiled and created using simple Python and additional modules from www.Pygame.com it is sort of inspired by early interactive fiction games like Zork and Colossal Cave Adventure. Although, it is sparse on story, it has taught me to utilize many things I learned about programming to good use.

Introduction

I have been learning to program in Python
…show more content…
def makePlayer(): player["name"] = raw_input("Name your character: ") print "\nYour character is named %s. Your health is full (%s hp), and you currently hold %s gold pieces. You inventory is empty." % (player["name"], player["health"],player["gold"]) print "\t%s is a 1st level character, who needs %s xp to gain a level. Doing so will lead to more health. You get xp from exploring and overcoming encounters." % (player["name"],player["xpForNextLevel"]) print "\tYou set out from your home town of The Shire in search of fortune and …show more content…
TILE# " + str(player["locationID"])

# move around the map. def movePlayer(direction): if direction == "n": if player["locationY"] + 1 <= 4: player["locationY"] += 1 player["locationID"] += 5 else: player["locationY"] = 0 player["locationID"] = (player["locationID"]+5)-25 elif direction == "s": if player["locationY"] - 1 >= 0: player["locationY"] -= 1 player["locationID"] -=5 else: player["locationY"] = 4 player["locationID"] = (player["locationID"]-5)+25 elif direction == "e": if player["locationX"] + 1 <= 4: player["locationX"] += 1 else: player["locationX"] = 0 if (player["locationID"] + 1) <= (player["locationY"]+1)*5: player["locationID"] += 1 else: player["locationID"] -= 4 else: # direction == "w" if player["locationX"] - 1 >=

Related Documents

  • Decent Essays

    Nt1310 Unit 1 Test Paper

    • 695 Words
    • 3 Pages

    # v[k+1] = $t0 (temp) subi $s1, $s1,1 # j –= 1 j for2tst # jump to test of inner…

    • 695 Words
    • 3 Pages
    Decent Essays
  • Decent Essays

    I am having some issues with a small program I have to complete for my Java class. Basically, the program will determine a worker's raise based on their current salary. It will first ask for the current salary, and then for a performance rating (Excellent, Good, or Poor). An Excellent rating will receive a 6% raise, a Good rating will receive a 4% raise, and a Poor rating will receive a 1.5% raise.…

    • 73 Words
    • 1 Pages
    Decent Essays
  • Decent Essays

    Sign Up Today! Kids ages 12 and under are invited to become a New Leaf Market Co+op Explorer and be eligible to receive one free banana or orange per visit! To become a card-carrying Co+op Explorer, kids simply need to bring a parent or supervising adult to the customer service counter and ask to become a Co+op Explorer. Each child will be issued their very own super official Co+op Explorers card!…

    • 471 Words
    • 2 Pages
    Decent Essays
  • Decent Essays

    Case Study 504 Plan

    • 289 Words
    • 2 Pages

    The case study scenario that I read is about a male student. He is a severe diabetic. The student has a 504 plan. A 504 plan ensures that a child who is attending an elementary or secondary educational institution with a disability receives accommodations. These adjustments make sure they are academically successful.…

    • 289 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    With over a decade of construction experience, Dig It Construction is a certified small business that both commercial agencies and residential homeowners trust. Based in Chester, CA, Dig It Construction is locally owned and locally staffed. Their motto, “Local people and local products, supporting our community,” is testament to the kind of high-quality, community-based work they strive to achieve every day. Because they’re a locally owned small business, the team at Dig It Construction know every project they work on, regardless of size or scale, reflects their professional standards and integrity. Whether you’re looking for an affordable home improvement company or you’re interested in starting a long-term professional relationship, Dig…

    • 257 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Cook Children's Case Study

    • 1030 Words
    • 4 Pages

    Describe why you wish to be a Cook Children 's nurse resident Remember setting goals when we were younger? Even today, I can remember listening to stories from family members about the wonderful experience they have had at Cook Children’s. I knew there had to be something special about this hospital, and I wanted to be a part of this great change. I immediately researched what the mission of Cook’s is, and decided that this is the perfect place for me.…

    • 1030 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    TYPE answers to the following questions - Label every answer section with a number and a letter (if it applies). 1- A. (Page 39) What values and norms serve as the standards that drive the rules and expectations related to you growing up? Be specific (this includes group affiliation, religion, special interests, socio-economic status, education and geography).…

    • 576 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Literature unites everything that I find exhilarating about life, most of my free time is 2 taken up with reading and creating my own stories which I share with friends and family. To 3 me, Literature and the written word are humankind's greatest accomplishment, which is why I am 4 determined to devote my life to its study. I am not content with simply reading a text, as I 5 have a hunger to learn everything I can about what I read - how it was written; why it was 6 written; what is its place in Literature as a whole. 7 In the words of Jane Yolen, "Literature is a textually transmitted disease, normally 8 contracted in childhood.…

    • 715 Words
    • 3 Pages
    Improved Essays
  • Great Essays

    Glo Bus Reflection

    • 1677 Words
    • 7 Pages

    BAD 480 EXECUTIVE SUMMARY FOR GLO-BUS INDIVIDUAL REFLECTION ANA DEBORA BELOS GLO-BUS exercise is an online exercise established by IBM to imitate the real-world character of a digital camera industry. The competitive environment is offered to all the participants in the class. We started by choosing the group members from the class mates. We have 12 groups in an industry with 4 participants in each group.…

    • 1677 Words
    • 7 Pages
    Great Essays
  • Superior Essays

    Educational History Narrative I have received most of my education outside of school. The one person who has always left a lasting effect on me is Anthony Scalzi. My freshman year of high school I realized I needed a way to make money. A lot of my friends were getting jobs, and I didn't wanna be left behind when they had money to do things and I didn't.…

    • 1033 Words
    • 5 Pages
    Superior Essays
  • Improved Essays

    In the story of this Year’s Class Picture, you can see that Ms. Geiss is a little bit crazier than others that you see in the world today. She’s trying to teach zombies that don’t really know what is going on, also she handcuffs the students to get them in her class. She risks her own life to save the zombies. Finally, others say she is crazy, but also a really kind person.…

    • 619 Words
    • 3 Pages
    Improved Essays
  • Superior Essays

    How to Plan and Budget for a 2017 Digital Transformation Project Companies launch a digital transformation initiative for a variety of reasons. Some are looking to respond to changes in customer demands and preferences, others are trying to remain competitive and some companies see the opportunity to expand into new markets. Whatever your organization 's reason for undertaking a digital transformation project, you will need to plan and budget wisely if you want the project to be a success. Considering that IT budgets are set to increase by almost 2 percent in 2017, according to Gartner, the pressure to provide detailed, accurate budgets is likely to increase as well. If you are responsible for the task, the following tips can help you plan…

    • 803 Words
    • 4 Pages
    Superior Essays
  • Improved Essays

    Health Informatics Essay

    • 724 Words
    • 3 Pages

    Just a few months ago, I had no clue what health informatics was. I was in the process of a major change when my advisor told me about it. I knew I wanted an interactive job, but I also knew that I wanted to be in the health field. I just wasn’t sure what it was I wanted to do in the field of health. I thought about being a surgeon, a dentist, a nurse, a perfusionist, an anesthesiologist, the list goes on.…

    • 724 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    PSO Case Study

    • 1107 Words
    • 5 Pages

    C. Compare the calculated fitness value of each particle with its (lbest). If current value is better than (lbest), then set the current location as the (lbest) location. Furthermore, if current value is better than (gbest) , then reset (gbest) to the current index in particle array. Select the best particle as (gbest). D.…

    • 1107 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    My project began as a way for me to give back to the community in a way in which I could use my strengths to inspire and teach. Some of the reasons why I began my journey here at J. K. Lee were to become more assertive, responsible, disciplined, and self-confident. These were qualities that held me back from reaching my full potential. I wanted to incorporate these skills into my project and challenge myself in new and different directions.…

    • 730 Words
    • 3 Pages
    Improved Essays