Writing Tetris for your Mobile Phone - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

Writing Tetris for your Mobile Phone

Description:

Writing Tetris for your Mobile Phone Professor Simon M. Lucas School of Computer Science and Electronic Engineering * * Mobile (Cell) Phones First prototype: Motorola ... – PowerPoint PPT presentation

Number of Views:62
Avg rating:3.0/5.0
Slides: 18
Provided by: Simon196
Category:

less

Transcript and Presenter's Notes

Title: Writing Tetris for your Mobile Phone


1
Writing Tetris for your Mobile Phone
  • Professor Simon M. Lucas
  • School of Computer Science and Electronic
    Engineering

2
Mobile (Cell) Phones
  • First prototype Motorola 1973
  • Commercial cell phones
  • NTT Japan 1979
  • Scandinavia 1981
  • Motorola, US, 1983
  • DynaTAC 8000X (4,000)
  • Subscribers
  • 300,000 in 1984
  • Over 3,000,000,000 now!
  • So much more than just a telephone!

3
EA Mobile UK Chart (Dec 9th 2009)
4
Tetris
  • Developed by Alexei Pajitnov in 1985
  • With the help of Dmitry Pavlovsky and Vadim
    Gerasimov
  • Popular in the west in 1986
  • The classic casual game of all time
  • Hundreds of derivatives

5
Tetris and JavaWORA Write Once, Run Anywhere?
Except the iPhone!
6
Run Demo
7
Suns Wireless Toolkit
8
Developing Mobile Apps
  • Write Java for cut-down mobile platform
  • Simple (older) version of the Java Language (1.3)
  • Using suitable libraries (e.g. no standard I/O)
  • Test code on emulator
  • Package into a .jar file
  • Copy to mobile phone
  • OTA deployment also possible
  • (Over The Air)

9
Software Design
10
Divide and Conquer
11
Modelling Tetris
12
Tetris in UML(Unified Modelling Language)
13
And into Java Code
  • Controller
  • Main loop event handling
  • View
  • Only concerned with display of game objects
  • Model
  • Game model
  • Shape model

14
Main Loop (Controller)
15
Event Handling
16
Sample MSc Student Project
17
Summary
  • Mobile phones incredible technology
  • RF, hardware, telecomms, software
  • Programming should be (and is!) lots of fun
  • Javas a great language
  • Modern IDEs take the pain out of software
    development
  • Study computing and electronics be part of a
    bright future!
  • Download free Tetris (in Java) for your phone
  • Google Simon Lucas Tetris
  • Modify and improve the gameplay!
Write a Comment
User Comments (0)
About PowerShow.com