Giter Site home page Giter Site logo

sh's People

Contributors

jawnyawns avatar

Watchers

 avatar

sh's Issues

Basic screens

  • Start
    • Title
    • Start button
  • Game
  • Gameover
    • Score
    • High score
    • Play again

Setup project lint file

If we stick with pure HTML and JS, setup a lint file for IDEs to use when developing this repo.

Add food to game

  • 3 types?
  • Rarity, point value, and speed may vary?
  • Launch timing should be fully random

Look and feel

  • Tweak difficulty to make game "endurance" based
  • TBD

Refactor create enemy logic

Ensure

  • Cap difficulty so game is endurance based -- DONE
  • Prevent star-on-start overlap at jump site -- SKIP
  • Never shoot star less than REACTION_TIME_MS before a jump -- DONE
  • Respect jump cooldown and per-star shot cooldown -- DONE

Strategy 1: Segments

  • Difficulty: (1) # of jumps per segment, (2) # stars per segment, (3) L vs R distribution
  • A segment is comprised of: (1) a fixed active duration, (2) a fixed cooldown, (3) a set of jump times within the active duration, (4) a computed set of shoot times based on the jump times
  • After each segment reaches the cooldown, the next segment is generated

Strategy 2: Continuous

  • Difficulty: (1) jump probability, (2) # stars per jump probability, (3) current L vs R distribution
  • During each frame: (1) schedule a new jump in the future based on jump frequency, (2) for that newly schedule jump only, compute future shoot times based on shoot frequency

Strategy 3: Continus-Simplified

  • Difficulty: # stars per jump probability; jump probability is fixed (some jumps will have no stars)
  • During each frame: (1) schedule a new jump in the future based on jump frequency, (2) for that newly schedule jump only, compute future shoot times based on shoot frequency

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.