Project: Implementation of BlockJump Game

This is first article in Python Projects Series. This article includes the explanation and instructions of demo of this project. We also touch up on the topics like design and implementation of this project.


In case if you are new to Python, Please visit the following articles in series Python for Data Science.

  1. Python for Data Science Series - Part 1
  2. Python for Data Science Series - Part 2
  3. Using Numpy in Python
  4. Using Pandas in Python
  5. Data Visualization using Matplotlib Python
  6. Parsing XML file in python
  7. Parsing Json file in python
  8. Interactive Data Visualization using Plotly in Python
  9. Logging in Python
  10. Read and Write Images in Python

1. Setup Project Environment:

    Code can be obtained from our git repository by using following command

git clone https://github.com/RajuSaladi/CustomizableSimulationEnvironments.git

    Go to "CustomizableSimulationEnvironments" Folder using following command

cd CustomizableSimulationEnvironments 

    This Project requires the following python libraries to be installed. Please install them using command below.

  • OpenCV  pip install opencv-contrib-python
  • Numpy    pip install numpy

2. Run Project:

Project can be run using following command

python BlockJump.py

When run successfully, it will popup a window where you can find a blue block on one end and red blocks coming towards it from other end. Goal of this game is to dodge the red blocks using pressing "up" key from keyboard and avoid them. 


Detailed explanation about this Project can be seen in the following video





(TO BE CONTINUED)

Stay Tuned for more information

Comments

Popular posts from this blog

How to run Jupyter Notebooks in Cloud

GUI Programming using Tkinter Python

How to download , install and configure Anaconda - Python