Giter VIP home page Giter VIP logo

frogger's Issues

log movement

every other log should move in opposite directions across the x-axis of the canvas.

Game Over

Indicate When the game is over, won, or lost.

rows? CSS Grid layout?

15 rows:
row 1: (at the top) score and lives
row 2: safe area for frogs, win condition
row 3: logs
row 4: turtles (in a perfect world)
row 5: logs
row 6: turtles (same)
row 7: logs
row 8: safe row
row 9: cars
row 10: cars
row 11: cars
row 12: cars
row 13: cars
row 14: safe area
row 15: timer

difficulty ramp

cars should get more frequent, logs less frequent. ideally this would happen each time a player lands a frog in the end row.

moat obstacles

frog needs to stand on obstacle and travel with it. start with only logs, then look at making the logs dip under the surface of the moat, then look at turtles and/or crocodiles

figure out scoring.

in the regular game, the frog scores when it advances to the next row, but not when back tracking.

New Game

Allow the user to start a new game.

stopping the game upon death

need to build a function that checks for a game state to be true or false. For one, the game continues--for the other, the game animation stops. This is also how lives can be instated.

Remove Global Variables

Can cause memory leak. Use let or const instead of var. "Garbage collecting". Global can slow things down.

Switch

Turn if statement in frog.js file into a switch.

End state

safe spaces at the end of the game board. frog should stay on the safe space and a new frog should start back at the beginning. (a new Game state).

setup "moat" area

collision with the moat causes death of the frog. moat should persist.

need to set the game border

bottom border should not allow the frog travel below. in the water area, going off of the edge of the game board should kill the frog.

collision detection

car colliding with frog = death; frog colliding with car = death; frog colliding with moat = death--

frog colliding with crocodile = death.

death ?

Edgar finished - start game over or return to "click" screen?

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.