]> git.r.bdr.sh - rbdr/sumo/commit - lib/components/winner.js
Add Naive Game Rules (#11)
authorRubén Beltrán del Río <redacted>
Tue, 29 May 2018 07:34:38 +0000 (02:34 -0500)
committerGitHub <redacted>
Tue, 29 May 2018 07:34:38 +0000 (02:34 -0500)
commit3100e0533cb89a185ea021dfb83c4f364750180f
treea957c7efc0b1d1e5f1ddafd69e2bfd39c70b50df
parent43413defcb854c8706a84a6a54a61c7977b52614
Add Naive Game Rules (#11)

* Add components for tracking points

* Add methods to create new entities

* Adds nodes for points

* Add system to detect points

* Adds system to detect a winner

* Add system to render points and winner

* Add points required to win to config

* Add it all to the engine

* Add mention of points to changelog
14 files changed:
CHANGELOG.md
lib/components/points.js [new file with mode: 0644]
lib/components/points_collider.js [new file with mode: 0644]
lib/components/winner.js [new file with mode: 0644]
lib/config.js
lib/factories/sumo.js
lib/nodes/points.js [new file with mode: 0644]
lib/nodes/points_collider.js [new file with mode: 0644]
lib/nodes/winner.js [new file with mode: 0644]
lib/sumo.js
lib/systems/detect_points_collision.js [new file with mode: 0644]
lib/systems/detect_winner.js [new file with mode: 0644]
lib/systems/render_points.js [new file with mode: 0644]
lib/systems/render_winner.js [new file with mode: 0644]