Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write index.js (break out into multiple files if >500 lines) #2

Open
7 tasks
smithki opened this issue Sep 16, 2018 · 0 comments
Open
7 tasks

Write index.js (break out into multiple files if >500 lines) #2

smithki opened this issue Sep 16, 2018 · 0 comments

Comments

@smithki
Copy link
Owner

smithki commented Sep 16, 2018

MVP features

  • Snek eats squares, snek gets bigger.
  • Snek collides with own body or other snek's body, snek dies.
  • Squares appear randomly on the game map in unoccupied space (cannot be intersecting with snek).

To dos

  • Write a utility function for hooking into the animation loop (should include delta time features). @Petroochio
  • Write a utility function for instantiating HTML canvas. @Petroochio
  • Write a utility function for drawing primitive shapes with HTML canvas (rectangles, ellipses, etc.). @Petroochio
  • Write a Snek class with bare minimum gameplay methods. @smithki
  • Write a basic Vector2 class with relevant math methods. @smithki
  • Write a collision detection function that accepts a variadic number of sneks as arguments. @smithki
  • Write a class for managing game logic @Petroochio
@smithki smithki created this issue from a note in Build the thing (To do) Sep 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant