Download presentation
Presentation is loading. Please wait.
Published byBlaise Porter Modified over 9 years ago
1
Battleship J2ME Mobile Game Frank Ng
2
Approach Installed J2ME and Eclipse to edit the Java code Learned J2ME/Java by looking at example code Created a basic flowchart for basic functionality –Corrected as I programmed –Once I had basic functionality, I would expand if there is more time Used the examples and the flowchart to create Battleship –Networking example Socket client.java, sender.java, server.java –Tilepuzzle example board.java
3
Flowchart
4
Screenshot – Setup of board
5
Screenshot – Finish Setup
6
Screenshot – Choose player
7
Screenshot – Start Playing Key White – Blank Square Blue – Miss Red – Hit Grey – Ship
8
Screenshot – Game Finished
9
Conclusion Good overall learning experience –Learned from example –J2ME WTK –Java –Networking
10
Conclusion – Cont’d Could have implemented more functionality/aesthetics given more time –Create “explosions” when player gets a hit Also use other images for misses, ships, etc. –Detect if player setup ALL of the ships –Make it easier to setup the ships –Notification when a connection has been made between the client and server –etc.
11
Questions/Comments?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.