Skip to content

yjmantilla/fields_hockey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fields_hockey

So, imagine ping-pong (or air-hockey) but with charged particles... In other words, a game-field with attraction-repulsion fields inside. This is sort of what is happening here.

Instructions:

  1. Go to https://yjmantilla.github.io/fields_hockey/
  2. The ping-pong ball is the green one. Red and Blue circles just attract and repel respectively.
  3. Click on 'Open Controls' to edit gameplay.
  4. For Human Playing Click on 'Strikers' and choose anything besides cpu for each side.
  5. You can experiment by clicking on 'Attractors and Repulsors' and then click on 'Repopulate with settings'.
  6. Enjoy!

This was a little project I made to experiment with the Entity-Component-System programming paradigm within javascript.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published