Skip to content

Centrifugal Force Air Table Hockey POC - using Matter.js, a 2D physics engine for the web, along with Matter-attractors, a plugin to add gravitational attraction and repulsion forces to Matter.js bodies.

License

Notifications You must be signed in to change notification settings

evanmeeks/centrifugal-force-table-hockey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC Hockey Game

This repository contains a proof-of-concept hockey game developed using Matter.js, a 2D physics engine for the web, along with Matter-attractors, a plugin to add gravitational attraction and repulsion forces to Matter.js bodies. a

Getting Started

git pull git@github.com:evanmeeks/centrifugal-force-table-hockey.git && cd centrifugal-force-table-hockey && npm run start

Demo

How to Play

  • Use the arrow keys to move the paddles.
  • Score goals by hitting the puck into the opposing goal.
  • The first player to score 5 goals wins the match.
  • To magnetize the puck to the paddle, hold the down arrow key.

Built With

Contributing

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Liam Brummitt for creating Matter.js and the Matter-attractors plugin.

About

Centrifugal Force Air Table Hockey POC - using Matter.js, a 2D physics engine for the web, along with Matter-attractors, a plugin to add gravitational attraction and repulsion forces to Matter.js bodies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published