Sign in

Technical Consultant | Python Developer | Machine Learning | Data Analytics | DataScience | Mexican. LinkedIn: https://www.linkedin.com/in/david-tc/

How to create your own text-based RPG in Python using Object Oriented Programming.

Photo by Ryan Quintal on Unsplash

Here’s the link to part 1 if you want to code the game from scratch. If you want to skip the tutorial and go straight to the code and read it, here’s the project on GitHub!

By the end of this series of articles, you’ll be able to create something like this:


How to create your own text-based RPG in Python using Object Oriented Programming.

Photo by Cláudio Luiz Castro on Unsplash

I spent 15 days creating this RPG Game in Python, if you want to skip the tutorial and go straight to the code and read it, here’s the project in GitHub!

By the end of this series of articles, you’ll be able to create something like the GIF you see down below, where you’ll have a text-based RPG which I’ll be covering in a set of articles.


How to create your own text-based RPG in Python using Object Oriented Programming!

Photo by Ryan Quintal on Unsplash

Here’s the link to part 1 if you want to code the game from scratch. If you want to skip the tutorial and go straight to the code and read it, here’s the project on GitHub!

By the end of this series of articles, you’ll be able to create something like this:


How to create your own text-based RPG in Python using Object Oriented Programming.

Photo by Ryan Quintal on Unsplash

Here’s the link to part 1 if you want to code the game from scratch. If you want to skip the tutorial and go straight to the code and read it, here’s the project on GitHub!

By the end of this series of articles, you’ll be able to create something like this:


How to create your own text-based RPG in Python using Object Oriented Programming!

Photo by Cláudio Luiz Castro on Unsplash

I spent 15 days creating this RPG Game in Python, if you want to skip the tutorial and go straight to the code and read it, here’s the project in GitHub!

By the end of this series of articles, you’ll be able to create something like the GIF you see down below, where you’ll have a text-based RPG which I’ll be covering in a set of articles.


How to create your own text-based RPG in Python using Object Oriented Programming.

Photo by Cláudio Luiz Castro on Unsplash

I spent 15 days creating this RPG Game in Python, if you want to skip the tutorial and go straight to the code and read it, here’s the project in GitHub!

By the end of this series of articles, you’ll be able to create something like the GIF you see down below, where you’ll have a text-based RPG which I’ll be covering in a set of articles.


One step closer to Machine Learning using one of the best libraries for Data Science

One of the best libraries for Data Science

Photo by Kevin Ku on Unsplash

What is Numpy?

Numpy is short for “Numerical Python” and is a must if you want to get into the world of data. According to Simplilearn, it’s in their top 5 data libraries for data science.

Let me show you how to import the Numpy Library:

import numpy as np

We use Numpy when working with an array of data, basically a multidimensional array where all the values hold the same data type. Here’s an example of one dimensional array using “array” function:

x = [1,2,3,4]
np.array(x)
print(x)
------------------------------------------------------------------
[[ 1 2 3 4]]

So if you want to get into Machine Learning…


One of the best dystopias ever written

Photo by Viktor Forgacs on Unsplash

Author’s Life:

Before he was a worldwide writer, George Orwell, born in Motihari India, distinguished among other boys by his poverty and intellectual brilliance, he won two scholarships from two of England Leading Schools: Wellington and Eton.

Aldous Huxley was one of his masters; no wonder George Orwell also got to publish great novels; this is where I believe that having a great mentor can significantly impact your life.

After the publication of his first book: “Down and Out in Paris and London,” he changed his name from Eric Arthur Blair to George Orwell, this was because he was sure…


Total surveillance, massive propaganda so you don’t have time to think for yourself. Welcome to “1984”

Photo by Viktor Forgacs on Unsplash

Author’s Life:

Before he was a worldwide writer, George Orwell, born in Motihari India, distinguished among other boys by his poverty and intellectual brilliance, he won two scholarships from two of England Leading Schools: Wellington and Eton.

Aldous Huxley was one of his masters; no wonder George Orwell also got to publish great novels; this is where I believe that having a great mentor can significantly impact your life.

After the publication of his first book: “Down and Out in Paris and London,” he changed his name from Eric Arthur Blair to George Orwell, this was because he was sure…


Speed up your Python code.

Photo by Kevin Ku on Unsplash

What is Numpy?

Numpy is short for “Numerical Python” and is a must if you want to get into the world of data. According to Simplilearn, it’s in their top 5 data libraries for data science.

Let me show you how to import the Numpy Library:

import numpy as np

We use Numpy when working with an array of data, basically a multidimensional array where all the values hold the same data type. Here’s an example of one dimensional array using “array” function:

x = [1,2,3,4]
np.array(x)
print(x)
------------------------------------------------------------------
[[ 1 2 3 4]]

So if you want to get into Machine Learning…

David Torres

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store