Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Trading Game

Pirates

Dharmesh Malam
Chris Roebuck
Rikin Shah
Our Game
• Based on pirates discovering islands and trading

• Start off with one farming island and one ship


– Can change production of islands, eg Ships, food, wood

• Move ship to different islands


– discovering unoccupied islands
– Trading with other players

• Players set the max to sell and price for their islands

• Others can then buy up to that amount


Our Game
Specifics
• Can trade in:
– Food,
– Silk
– Jewellery
– Wood
– Spice
• Three types of Island
– Farming – makes food or spice
– Industrial – makes ships or jewellery or silk
– Lumber – makes wood or mines gold
• Rank system
– Higher rank by playing more turns
– Need certain ranks to be able to produce more valuable items

• Able to make bigger ships that can carry more goods


Goals
• To keep the front-end and backend cleanly
separated

• To give the user an intuitive interface

• To use standard and portable technology

• To keep the system modular and extensible


Front End Architecture
AJAX
• Very Interactive
• Very dynamic
• No applets to load, so fast
• No page refresh, all
requests asynchronous
• Fast once requests are
cached,
• Processing moved to client
end, less load on server
•Eg Google Maps
Back End Architecture
JSP
XML XML
Client page
PirateEngine JDBC Postgres
Java . Database
. Servlet
.
. JDBC
XML JSP
Client XML
page

Internet

•Database to store state


•transactions, stored procedures, etc maintain consistency

•Pirate Engine provides façade to all client requests


•JSP page dynamically creates XML for the client to parse for each actio
•Eg buy,move world info
Improvements
• System works well, satisfies goals set
– Modular and extensible, clean separation of client server
– Provides intuitive interface

• Make more efficient


– User connection pooling and caching on java access to
database …

• Make interface more interactive


– More DHTML to make UI better …

• Extend game
– Add more maps, products …
– Add more game elements, like capture ships …
– etc
Pirates Game

Thank you
for listening

You might also like