Abstract
Our game is nearly finished. In this chapter we’ll add the finishing touches. We’ll add a “game over” state that will end the game when our health reduces to zero. We’ll then add the ability to restart the game without reloading the page. Finally, we’ll add levels that will allow us to play the game continuously, with increasing difficulty and an increasing score multiplier.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Graeme Stuart
About this chapter
Cite this chapter
Stuart, G. (2017). Death or Glory. In: Introducing JavaScript Game Development . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3252-1_13
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3252-1_13
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3251-4
Online ISBN: 978-1-4842-3252-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books