Abstract
The other low-level events generated by mouse are adopted for controlling a card game Agnes. In general, mouse is the best device for navigating a two-dimensional space, and mouse event listeners provide a rich set of event handlers. The Agnes is a card game played by a single player. Under the mouse controls, the cards on the GUI are not only for echoing the dynamic behaviors of the game but also play the role of input mechanism.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
[Hamlyn, 2014] Hamlyn, a division of Octopus Publishing Group Ltd, “The Card Games Bible,” Octopus Publishing Group Ltd, 2014
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Xu, Cw. (2018). Mouse Control: A Card Game Agnes. In: Learning Java with Games. Springer, Cham. https://doi.org/10.1007/978-3-319-72886-5_10
Download citation
DOI: https://doi.org/10.1007/978-3-319-72886-5_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-72885-8
Online ISBN: 978-3-319-72886-5
eBook Packages: Computer ScienceComputer Science (R0)