This job involves a minor modification to an existing game, namely, adding functional buttons to the user interface. (The framework is ImpactJS, see [login to view URL] ) The job involves these parts: (1) Create JSON structure than represents different buttons (cards) and render the buttons with already existing button class. Five descriptions will be provided. (2) Label butons, one with "fire projectile". (Each will need id and title.) (3) Interface should randomly select and show 3 of the 5 cards when the game starts.
The player object should fire a projectile when the appropriate button is pressed. Note: Projectile firing mechanism already exists in the game. You will need to initiate it.
PS: Looking for a freelancer who will do this project and perhaps other related projects in the future.
Note: More specifically, the button should toggle what kind of firing the player does.
Note 2. A variable should be set to say whose turn it is. The buttons should have the following effects: (1) Single shot (2) "Double shot," allowing the player to take two shots in a turn. (3) Random projectile - should add randomness to projectile trajectory.