Giter Club home page Giter Club logo

python-games's Introduction

Python-Games

Introduction

This repository contains all the games that I've built using Python 3.6 and its libraries (Turtle, pyGame).

Language Used

  • Python3

Table of Contents


Snake Game

  • It is a simple snake game with a theme inspired by 'No-Face' from Spirited Away.
  • Turtle is used for this game.
  • We are all aware of how after consuming a greedy toad, No-Face only sought to consume as much food as possible. He gulped down tons of food in a go. No-face does the same here! Help him grab as many snacks as possible but BEWARE of the poison.

No face

How to play

  • Press arrow keys or a,s,d,e keys to move No-face in the desired direction.
  • Try to eat all the pastries visible on screen to earn 10 points.
  • After every 30 seconds, a bonus cereal appears for 5 seconds. Eating this helps you earn 30 points extra.
  • Beaware of poison that appears at any random position after every 50 seconds. Eat this and you lose 50 points.
  • Make sure not to touch the boundaries or your own body with your head. Game is over if you do so.

Screenshot

Screenshot from 2020-11-21 22-49-09

Resources

  • The background image is made with the help of Canva.
  • The images of food, bonus cereal and poison are taken from [Pinclipart] (https://www.pinclipart.com/). The images had personal use license.
  • No-face GIF taken from GIPHY.

The owner's permission has been taken to use this GIF. Please ask owner's permission before using GIFs.

python-games's People

Contributors

with-mahimasingh avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.