APPENDIX E

MINI PROJECT

At the end of the text, we want to present our readers with reasonably advanced exercises. They deserve the status of a mini project. Normally such exercises are open ended. Sometimes students find it difficult to start from a simple definition. Hence, we have illustrated these exercises in detail. For some exercise we have designed levels. One can take up a level as per his level of preparation or time available. We hope our readers will enjoy coding these mini projects.

AE.1 Chess Clock

In competitive chess, a player has a maximum time fixed to make certain moves. If a player fails to make those many moves, he loses. In the first session, players have two and a half hours for 40 moves. In subsequent sessions, time is ...

Get Programming with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.