Giter Club home page Giter Club logo

typrr-burn's Introduction

Welcome to Typrr-Burn

The interactive typing game that saves birds' lives!

The game is played as follows:

  • Bird is consistently trying to fly
  • If the player types quickly and correctly the numbers that are appearing on the screen, the bird will stay afloat
  • If the player has too many errors, types slowly or not at all, the bird will fall
  • If the player finishes typing a sequence of texts without the bird falling out of the sky, they move onto the next level.
  • Levels increase in complexity by the diversity of letters created.
  • Player accumulates point and the game gets harder and harder.
  • There are six levels.

Game Play

Typrr-Burn Starter Kit

To install the dependencies:

npm install

To fire up a development server:

npm start

Once the server is running, you can visit:

  • http://localhost:8080/webpack-dev-server/ to run your application.
  • http://localhost:8080/webpack-dev-server/test.html to run your test suite in the browser.

To build the static files:

npm run build

typrr-burn's People

Contributors

jeneve avatar marinacor1 avatar

Watchers

 avatar  avatar  avatar

typrr-burn's Issues

bird flys away

add a function that causes the bird to fly up and away, it can be called at the end of a level

Another way to handle typos....

when a player makes a typo, do not increment the counter, cause the mistyped letter to turn red, stay underlined, and flicker or glow. trigger the backspace automatically. One benifit of doing this is that player can't advance a level without correctly typing a text all the way through.

triggering the backspace: $('input').trigger("keydown", {which: 8}); //might work

making a letter glow or flicker: could try a .animate() function.....

here's one to try:

.animate({opacity:0},200,"linear",function(){
$(this).animate({opacity:1},200);
});

as a player types (plays)

they should get feedback about whether they have typed a letter correctly or whether they need to go back and correct one. Correctly typed letters will turn grey, while letters that need to be re-typed will be red? the next letter to type will appear underlined?

The game ends unexpectedly

sometimes the game seems to end when the bird is still above the bottom of the canvas...It may have something to do with the new way that the canvases are layered?

There's a countdown

during gameplay, the player can see an ever-decreasing indicator of how much time remains to correctly type the text.

refactor

separate logic functions from dom manipulation function so that logic functions can be tested.

side-scrolling

a repeating background should move across the canvas, giving the illusion of a side-scrolling camera

the game ends

with the bird falling into lava and a disappointing sound/message

style gameplay instructions

when the page loads, instructions for game play should be visible, then disapear when the player starts the game.

The player can save a score at the end of the game [local storage?]

when a player finishes the game, they see a message that they won, they see a field to enter a name for the high score appearing in a list of 5 other high scores, in the position of this high score. if the player's score does not rank among the top 5, they see the top 5 with no input field for their name. at the bottom of the list, they see the message to press enter to play again. if they press enter without entering a name in the text field, the score isn't saved.

Game ends

Find a place to message "Game Over" and restart.

Pull logic into keystroke and put it into game class, so that we can call it in level and call it in bird if the bird's position gets to a certain point.

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.