Giter VIP home page Giter VIP logo

ouroboros's People

Contributors

carissaallen avatar mackkcooper avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ouroboros's Issues

Increase snake's speed as its length increases

Overview

The snake's length increases with each apple it eats. So, as the player successfully eats more apples, it'd be neat if the game got a little more difficult by increasing the snake's baseline speed.

Acceptance Criteria

  • The snake's speed increases at reasonable increments as it's length increases
  • There is an upper bound on speed so the snake is never uncontrollably fast
  • There is a lower bound on speed so the snake is never frustratingly slow
  • Unit tests are written to cover the new code/methods added

Suggestion

Try looking at the window.timeout() functionality in curses. This may not be relevant to the final solution, but this method is what currently controls the delay in milliseconds that establishes the snake's speed.

Add main menu

Create a new main menu user interface with Play and Exit buttons. Optionally add an Options button with various options to modify the game experience.

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.