From 1832ea069edce2e44823f28aaaa33015c8e36fef Mon Sep 17 00:00:00 2001 From: Marcus Lankenau Date: Tue, 10 May 2011 17:47:24 +0200 Subject: [PATCH] ship serialization, multiplayer sim in swing --- .../src/org/galaxy/GalaxyScreen.java | 4 +- Galaxy/.classpath | 3 + Galaxy/src/org/galaxy/Game.java | 53 +++++++++--- Galaxy/src/org/galaxy/GameFactory.java | 17 ++-- Galaxy/src/org/galaxy/Party.java | 4 + Galaxy/src/org/galaxy/Planet.java | 4 +- Galaxy/src/org/galaxy/Remote.java | 80 +++++++++++++++--- Galaxy/src/org/galaxy/Ship.java | 38 +++++++++ Galaxy/test/org/galaxy/ShipTest.java | 41 +++++++++ .../src/org/galaxy/swing/GalaxyScreen.java | 5 +- lib/json_simple-1.1.jar | Bin 0 -> 16046 bytes 11 files changed, 212 insertions(+), 37 deletions(-) create mode 100644 Galaxy/test/org/galaxy/ShipTest.java create mode 100644 lib/json_simple-1.1.jar diff --git a/AndroidClient/src/org/galaxy/GalaxyScreen.java b/AndroidClient/src/org/galaxy/GalaxyScreen.java index 8ad915f..00f733d 100644 --- a/AndroidClient/src/org/galaxy/GalaxyScreen.java +++ b/AndroidClient/src/org/galaxy/GalaxyScreen.java @@ -120,7 +120,7 @@ public void draw(Canvas canvas) { public boolean onTouch(View v, MotionEvent event) { if (event.getAction() == MotionEvent.ACTION_DOWN) { Planet planetDragFrom = game.findPlanet(event.getX(), event.getY(), - game.getPlayer()); + game.getMe()); if (planetDragFrom != null) dragFrom.add(planetDragFrom); @@ -128,7 +128,7 @@ public boolean onTouch(View v, MotionEvent event) { possibleTarget = null; if (dragFrom.size() > 0) { Planet planetDragFrom = game.findPlanet(event.getX(), event.getY(), - game.getPlayer()); + game.getMe()); if (planetDragFrom != null) dragFrom.add(planetDragFrom); diff --git a/Galaxy/.classpath b/Galaxy/.classpath index 18d70f0..f5908bf 100644 --- a/Galaxy/.classpath +++ b/Galaxy/.classpath @@ -1,6 +1,9 @@ + + + diff --git a/Galaxy/src/org/galaxy/Game.java b/Galaxy/src/org/galaxy/Game.java index 23ed2dc..70b3a58 100644 --- a/Galaxy/src/org/galaxy/Game.java +++ b/Galaxy/src/org/galaxy/Game.java @@ -10,17 +10,17 @@ public class Game { private ArrayList ships = new ArrayList(); private ArrayList moves = new ArrayList(); - private Party player = null; - private Party computer = null; + private Party me = null; + private Party opponent = null; private Party neutral = null; Remote remote = null; - public Party getPlayer() { - return player; + public Party getMe() { + return me; } - public Party getComputer() { - return computer; + public Party getOpponent() { + return opponent; } public Party getNeutral() { return neutral; @@ -40,9 +40,11 @@ public void setShips(ArrayList ships) { public void initEmpty() { - player = new Party("me", 0xff00a000); - computer = new Party("other", 0xffa00000); + me = new Party("me", 0xff00a000); + opponent = new Party("opponent", 0xffa00000); neutral = new Party("", 0xffa0a0a0); + + remote = new Remote("localhost", 10001, opponent); } /** @@ -51,11 +53,11 @@ public void initEmpty() { public void initRandom() { float boarder = 30; - player = new Party("player", 0xff00a000); - computer = new Party("computer", 0xffa00000); + me = new Party("player", 0xff00a000); + opponent = new Party("computer", 0xffa00000); neutral = new Party("", 0xffa0a0a0); - remote = new Remote("localhost", 10001, computer); + remote = new Remote("localhost", 10001, opponent); for (int i = 0; i < 6; i++) { @@ -82,15 +84,30 @@ public void initRandom() { Party party = neutral; if (i == 0) - party = player; + party = me; if (i == 1) - party = computer; + party = opponent; - planets.add(new Planet(party, new Vector(x, y), pc)); + planets.add(new Planet(i, party, new Vector(x, y), pc)); } } + public void chooseSide() { + if (!remote.isFirst()) { + takeOtherSide(); + } + } + + private void takeOtherSide() { + for (Planet planet : planets) { + if (planet.getParty() == me) + planet.setParty(opponent); + else if (planet.getParty() == opponent) + planet.setParty(me); + } + } + /** * find a planet at the coordinates */ @@ -143,4 +160,12 @@ public void move(Planet source, Planet target) { remote.sendMove(newShips); } + public Planet findPlanet(String id) { + for (Planet p : planets) { + if (p.getId().equals(id)) + return p; + } + return null; + } + } diff --git a/Galaxy/src/org/galaxy/GameFactory.java b/Galaxy/src/org/galaxy/GameFactory.java index b957cab..222a290 100644 --- a/Galaxy/src/org/galaxy/GameFactory.java +++ b/Galaxy/src/org/galaxy/GameFactory.java @@ -9,19 +9,22 @@ public static Game getLevel(int level) { game.initEmpty(); - game.getPlanets().add(new Planet(game.getComputer(), new Vector(50, 50), PlanetClass.planetClasses[0])); + int pid = 0; + game.getPlanets().add(new Planet(pid++, game.getOpponent(), new Vector(50, 50), PlanetClass.planetClasses[0])); - game.getPlanets().add(new Planet(game.getNeutral(), new Vector(70, 100), PlanetClass.planetClasses[1])); + game.getPlanets().add(new Planet(pid++, game.getNeutral(), new Vector(70, 100), PlanetClass.planetClasses[1])); - game.getPlanets().add(new Planet(game.getNeutral(), new Vector(200, 150), PlanetClass.planetClasses[1])); + game.getPlanets().add(new Planet(pid++, game.getNeutral(), new Vector(200, 150), PlanetClass.planetClasses[1])); - game.getPlanets().add(new Planet(game.getNeutral(), new Vector(250, 300), PlanetClass.planetClasses[2])); + game.getPlanets().add(new Planet(pid++, game.getNeutral(), new Vector(250, 300), PlanetClass.planetClasses[2])); - game.getPlanets().add(new Planet(game.getNeutral(), new Vector(350, 390), PlanetClass.planetClasses[1])); - game.getPlanets().add(new Planet(game.getNeutral(), new Vector(100, 410), PlanetClass.planetClasses[1])); + game.getPlanets().add(new Planet(pid++, game.getNeutral(), new Vector(350, 390), PlanetClass.planetClasses[1])); + game.getPlanets().add(new Planet(pid++, game.getNeutral(), new Vector(100, 410), PlanetClass.planetClasses[1])); - game.getPlanets().add(new Planet(game.getPlayer(), new Vector(320, 450), PlanetClass.planetClasses[0])); + game.getPlanets().add(new Planet(pid++, game.getMe(), new Vector(320, 450), PlanetClass.planetClasses[0])); + + game.chooseSide(); return game; } diff --git a/Galaxy/src/org/galaxy/Party.java b/Galaxy/src/org/galaxy/Party.java index e97d504..f5ef010 100644 --- a/Galaxy/src/org/galaxy/Party.java +++ b/Galaxy/src/org/galaxy/Party.java @@ -26,4 +26,8 @@ public String getId() { return name; } + public String toString() { + return "party:"+name; + } + } diff --git a/Galaxy/src/org/galaxy/Planet.java b/Galaxy/src/org/galaxy/Planet.java index 2e50871..e57e992 100644 --- a/Galaxy/src/org/galaxy/Planet.java +++ b/Galaxy/src/org/galaxy/Planet.java @@ -21,13 +21,13 @@ public void setParty(Party party) { this.party = party; } - public Planet(Party party, Vector pos, PlanetClass pc) { + public Planet(int id, Party party, Vector pos, PlanetClass pc) { this.pos = pos; this.size = pc.getSize(); this.energy = pc.getInitialEnergy(); this.party = party; this.pc = pc; - id = nextId++; + this.id = id; } public String toJson() { diff --git a/Galaxy/src/org/galaxy/Remote.java b/Galaxy/src/org/galaxy/Remote.java index 54e9415..cb03eb2 100644 --- a/Galaxy/src/org/galaxy/Remote.java +++ b/Galaxy/src/org/galaxy/Remote.java @@ -2,6 +2,7 @@ import java.io.IOException; import java.io.UnsupportedEncodingException; +import java.net.BindException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; @@ -9,20 +10,76 @@ import java.net.UnknownHostException; import java.util.List; -public class Remote { +import org.json.simple.JSONArray; +import org.json.simple.JSONObject; +import org.json.simple.JSONValue; + +public class Remote { DatagramSocket socket = null; + boolean first = true; - + public boolean isFirst() { + return first; + } + public Remote(String host, int port, Party party) { + try { + socket = new DatagramSocket(10001); + socket.connect(InetAddress.getByName(host), 10002); + } + catch (BindException be) { try { - socket = new DatagramSocket(8888); - socket.connect(InetAddress.getByName(host), port); - } catch (UnknownHostException e) { - e.printStackTrace(); - } catch (SocketException e) { - e.printStackTrace(); + socket = new DatagramSocket(10002); + socket.connect(InetAddress.getByName(host), 10001); + first = false; + } + catch (Exception e) { + e.printStackTrace(); } + + } catch (UnknownHostException e) { + e.printStackTrace(); + } catch (SocketException e) { + e.printStackTrace(); + } + + Runnable runnable = new Runnable() { + + @Override + public void run() { + receiveThread(); + } + }; + new Thread(runnable).start(); + } + + protected void receiveThread() { + while (true) { + byte[] buffer = new byte[10000]; + DatagramPacket packet = new DatagramPacket(buffer, buffer.length); + try { + socket.receive(packet); + String s = new String(buffer, "UTF-8"); + System.out.println("received: " + s); + JSONArray array = (JSONArray) JSONValue.parse(s); + for (int i=0; i ships) { @@ -46,8 +103,11 @@ public void sendMove(List ships) { catch (IOException e) { e.printStackTrace(); } - - } + + public void getMoves() { + } + + } diff --git a/Galaxy/src/org/galaxy/Ship.java b/Galaxy/src/org/galaxy/Ship.java index 61f55a0..4130386 100644 --- a/Galaxy/src/org/galaxy/Ship.java +++ b/Galaxy/src/org/galaxy/Ship.java @@ -1,5 +1,7 @@ package org.galaxy; +import org.json.simple.JSONObject; + public class Ship { Planet source = null; Planet dest = null; @@ -21,6 +23,42 @@ public void setParty(Party party) { Vector pos; float speed; + + public long getLauchTime() { + return lauchTime; + } + + public float getDeviation() { + return deviation; + } + + public float getSpeed() { + return speed; + } + + public Ship(Game game, JSONObject json) { + source = game.findPlanet(json.get("source").toString()); + dest = game.findPlanet(json.get("destination").toString()); + + + String partyStr = json.get("party").toString(); + if (partyStr.equals("")) + party = game.getNeutral(); + else if (partyStr.equals("me")) + party = game.getOpponent(); + else if (partyStr.equals("opponent")) + party = game.getMe(); + + + + String speed = json.get("speed").toString(); + String lauchTime = json.get("lauchTime").toString(); + String deviation = json.get("deviation").toString(); + + + + } + public Ship(Party party, Planet source, Planet dest, float speed, long lauchTime) { long launchLag = (long) (Math.random() * MAX_LAUNCHING_LAG); diff --git a/Galaxy/test/org/galaxy/ShipTest.java b/Galaxy/test/org/galaxy/ShipTest.java new file mode 100644 index 0000000..8a6ac05 --- /dev/null +++ b/Galaxy/test/org/galaxy/ShipTest.java @@ -0,0 +1,41 @@ +package org.galaxy; + +import java.util.Date; + +import static junit.framework.Assert.*; + +import org.json.simple.JSONObject; +import org.json.simple.JSONValue; +import org.junit.Test; + + + +public class ShipTest { + + @Test + public void testJson() { + Game game = new Game(); + game.initEmpty(); + + long time = new Date().getTime(); + + Planet a = new Planet(0, game.getMe(), new Vector(0,0), PlanetClass.planetClasses[1]); + Planet b = new Planet(1, game.getMe(), new Vector(0,0), PlanetClass.planetClasses[1]); + game.getPlanets().add(a); + game.getPlanets().add(b); + + Ship ship = new Ship(game.getMe(),a, b, 10.f, time); + String jsonString = ship.toJson(); + + assertNotNull(jsonString); + + JSONObject obj = (JSONObject) JSONValue.parse(jsonString); + Ship shipCopy = new Ship(game, obj); + + assertEquals(ship.getSource(), shipCopy.getSource()); + assertEquals(ship.getDest(), shipCopy.getDest()); + assertEquals(game.getOpponent(), ship.getParty()); + assertEquals(ship.getSpeed(), shipCopy.getSpeed()); + assertEquals(ship.getDeviation(), shipCopy.getDeviation()); + } +} diff --git a/SwingClient/src/org/galaxy/swing/GalaxyScreen.java b/SwingClient/src/org/galaxy/swing/GalaxyScreen.java index d9dd57c..3ec74e2 100644 --- a/SwingClient/src/org/galaxy/swing/GalaxyScreen.java +++ b/SwingClient/src/org/galaxy/swing/GalaxyScreen.java @@ -34,6 +34,7 @@ public GalaxyScreen() { game = GameFactory.getLevel(1); + addMouseListener(this); addMouseMotionListener(this); @@ -118,7 +119,7 @@ public void mouseExited(MouseEvent arg0) { @Override public void mousePressed(MouseEvent event) { Planet planetDragFrom = game.findPlanet(event.getX(), event.getY(), - game.getPlayer()); + game.getMe()); if (planetDragFrom != null) dragFrom.add(planetDragFrom); @@ -145,7 +146,7 @@ public void mouseDragged(MouseEvent event) { possibleTarget = null; if (dragFrom.size() > 0) { Planet planetDragFrom = game.findPlanet(event.getX(), event.getY(), - game.getPlayer()); + game.getMe()); if (planetDragFrom != null) dragFrom.add(planetDragFrom); diff --git a/lib/json_simple-1.1.jar b/lib/json_simple-1.1.jar new file mode 100644 index 0000000000000000000000000000000000000000..f395f41471a796876278a6c5667ded4632546893 GIT binary patch literal 16046 zcmb7r1yo$g)-~?#!QI^n?(XjHE%|K0o!&~M+eqAG%Pl5%1U3crg%0SW#T+YIB? zetT^8cA@=MOjb}%QcP4?g zp$ZfMOg4TK<=&bZse~%6r0kMK?SBM+1Lu+u6@|_kAbpMI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