Picture 1

An application that can be used in a political science class to simulate international relations between students representing different countries.

Features:

  • Turn based gameplay and interactions
  • Peer-to-peer connection over Wi-Fi network
  • In game economy for resources and buildings
  • UI that clearly represents gameplay
  • Tile-based map with unique resources and advantages

Picture 2

Picture 3

  • Wrote in Java using the Java Swing Library to create the game logic and UI
  • Design main menu bar to contain all sub-menus and labels to track resources for the current country

Picture 4

Picture 5

  • Created tables and button cells, along with the backend logic, to purchase units, construct buildings, or research technologies
  • Buildings can be constructed on a tile to increase its resource yield

Picture 6

  • Units can be commanded to move from tile to tile to attack or defend
  • Developed the combat logic for units to attack another tile with enemies on it, the power of each army is calculated and the winner loses an according amount of units and claims the tile

Disputes and Diplomacy: Attacking Demo

Picture 7

Picture 8

Picture 9