Skip to content

Code Institute Portfolio Project 3: Python Essentials Project - 'Nine Lives' is based off of the classic word-guessing game, Hangman.

Notifications You must be signed in to change notification settings

KateMcGuane/nine-lives

Repository files navigation

Nine Lives

"Nine Lives" is a classic word-guessing game that puts players' vocabulary and deduction skills to the test. Much like its counterpart, Hangman, players attempt to guess a hidden word by suggesting letters one at a time. However, in "Nine Lives," the stakes are higher as players are granted a limited number of incorrect guesses, represented by the titular nine lives. With each incorrect guess, a life is lost, bringing them one step closer to failure. The challenge lies in strategically selecting letters to unveil the mystery word before all nine lives are depleted. "Nine Lives" offers a thrilling and engaging experience, combining elements of wordplay and suspense to keep players on the edge of their seats until the very end.

Nine Lives.


Features

See Gameplay in TESTING.md for some of the current features.


Technologies Used

Language

  • Python was the core language used.

Libraries

Frameworks & Tools

  • ChatGPT
  • GitHub was used to create & store my repository.
  • Gitpod was used as my IDE workspace.
  • Heroku was used to deploy the application.
  • Replit was used to experiment with variations of code.

Deployment & Local Development

Deployment

The site was deployed using Heroku. The is how the live site was deployed:

  1. Log in (or sign up) to Heroku.
  2. Go to the user dashboard & click "Create new app". Keep in mind that each app name on Heroku has to be unique.
  3. Select the region & click "Create app".
  4. Go to the settings tab & scroll to the "Config vars" section.
  5. Click "Reveal Config Vars".
  6. Create a Config Var, set the key field to "PORT" & the value key to "8000".
  7. If you have credentials, insert "CREDS" for the key field. Copy & paste the entire JSON file to the value field.
  8. Scroll to the "Buildpacks" section.
  9. Click "Add buildpacks". Select "Python" and "nodejs", and in that order.
  10. Go to the “Deploy” tab.
  11. Scroll to the “Deployment Method” section.
  12. Click on “Connect to Github”. Search for the repository name & click "Connect".
  13. Scroll to the "Manual Deploys" section.
  14. Click "Deploy Branch". A message will show up to say "Your app was usccessfully deployed. The "View" button will take you to your deployed link.

Local Development

How to Fork

To fork the Nine Lives repository:

  1. Log in (or sign up) to Github.
  2. Go to the repository for this project, Kate McGuane / nine-lives.
  3. Click the Fork button in the top right corner. This action will create a copy of the repository under your GitHub account.

How to Clone

To clone the Nine Lives repository:

  1. Log in (or sign up) to GitHub.
  2. Go to the repository for this project, Kate McGuane / nine-lives.
  3. Click on the code button, select whether you would like to clone with HTTPS, SSH or GitHub CLI and copy the link shown.
  4. Open the terminal in your code editor and change the current working directory to the location you want to use for the cloned directory.
  5. Type 'git clone' into the terminal and then paste the link you copied in step 3. Press enter.

Testing

Please see TESTING.md for a comprehensive list of tests performed.


Credits

Markup

The markup outline for this project was taken from the following README files:

Content

  • The terminal function & template for the deployable application was created by Code Instutute for their Python Essentials Template.
  • The introduction for the README file was generated by Chat GPT.

Code

 Media

 Acknowledgments

  • Thank you to my mentor, cohort leader & CI team for your support and understanding during this project.
  • To Sarah, thank you for all the 1:1 zoom calls.
  • To Mikhail, thank you for your continued support.

About

Code Institute Portfolio Project 3: Python Essentials Project - 'Nine Lives' is based off of the classic word-guessing game, Hangman.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published