Coder Social home page Coder Social logo

snake-game's Introduction

Snake-game

Simple yet Nostalgic

I created a snake game with a simple minimalist aesthetic with the guide of a tutorial. If you are interested yourself, you can follow this tutorial and make your own arcade style snake game!

The rules are quite simple!

1. Stay within the boundries of the screen. If you go off screen, the game ends!

2. Collect the red dots that appear within the game. While doing so, your snake will grow.

3. Do not crash into yourself or the game will end!

How to run the game?

  • Make sure that you have pygame installed onto your computer. This is a python library with the required dependencies in order to run the application. You can install this library by typing python3 -m pip install -U pygame --user if you are on mac or py -m pip install -U pygame --user if you are on windows.

  • After the installation is complete, you can run the program by navigating to the specific directory where you have cloned this repository. You should then type python3 snake-game.py.

  • Enjoy!

References

pygame


snake_tutorial

snake-game's People

Contributors

anthonygc 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.