From 0269e39635fdb88d683dbf8cb3cacffc09ee86e7 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Mon, 16 Feb 2015 23:30:39 +0100
Subject: Added backyard framework

---
 backyard/trunk/GameController/.gitignore           | 73 ++++++++++++++++++++++
 .../nl/camilstaps/botleagues/GameController.java   | 16 +++++
 .../src/nl/camilstaps/botleagues/MyGame.java       | 12 ++++
 3 files changed, 101 insertions(+)
 create mode 100644 backyard/trunk/GameController/.gitignore
 create mode 100644 backyard/trunk/GameController/src/nl/camilstaps/botleagues/GameController.java
 create mode 100644 backyard/trunk/GameController/src/nl/camilstaps/botleagues/MyGame.java

diff --git a/backyard/trunk/GameController/.gitignore b/backyard/trunk/GameController/.gitignore
new file mode 100644
index 0000000..b630aee
--- /dev/null
+++ b/backyard/trunk/GameController/.gitignore
@@ -0,0 +1,73 @@
+# Source: http://www.bmchild.com/2012/06/git-ignore-for-java-eclipse-project.html
+
+# Directories #
+/build/
+/bin/
+target/
+ 
+# OS Files #
+.DS_Store
+ 
+*.class
+ 
+# Package Files #
+*.jar
+*.war
+*.ear
+*.db
+ 
+######################
+# Windows
+######################
+ 
+# Windows image file caches
+Thumbs.db 
+ 
+# Folder config file
+Desktop.ini
+ 
+######################
+# OSX
+######################
+ 
+.DS_Store
+.svn
+ 
+# Thumbnails
+._*
+ 
+# Files that might appear on external disk
+.Spotlight-V100
+.Trashes
+ 
+ 
+######################
+# Eclipse
+######################
+ 
+*.pydevproject
+.project
+.metadata
+bin/**
+tmp/**
+tmp/**/*
+*.tmp
+*.bak
+*.swp
+*~.nib
+local.properties
+.classpath
+.settings/
+.loadpath
+/src/main/resources/rebel.xml
+# External tool builders
+.externalToolBuilders/
+ 
+# Locally stored "Eclipse launch configurations"
+*.launch
+ 
+# CDT-specific
+.cproject
+ 
+# PDT-specific
+.buildpath
diff --git a/backyard/trunk/GameController/src/nl/camilstaps/botleagues/GameController.java b/backyard/trunk/GameController/src/nl/camilstaps/botleagues/GameController.java
new file mode 100644
index 0000000..0ad9d2c
--- /dev/null
+++ b/backyard/trunk/GameController/src/nl/camilstaps/botleagues/GameController.java
@@ -0,0 +1,16 @@
+/**
+ * 
+ */
+package nl.camilstaps.botleagues;
+
+/**
+ * The idea is to let this be a generic class that can be used for any game. 
+ * It should take care of functions like:
+ * 
+ * * Starting up bots
+ * * Sending data to bots
+ * * Receiving data from bots
+ */
+public abstract class GameController {
+
+}
diff --git a/backyard/trunk/GameController/src/nl/camilstaps/botleagues/MyGame.java b/backyard/trunk/GameController/src/nl/camilstaps/botleagues/MyGame.java
new file mode 100644
index 0000000..ecce818
--- /dev/null
+++ b/backyard/trunk/GameController/src/nl/camilstaps/botleagues/MyGame.java
@@ -0,0 +1,12 @@
+/**
+ * 
+ */
+package nl.camilstaps.botleagues;
+
+/**
+ * The idea is to let this be an example of a game controller.
+ * Initially, we can do all the work here. Ideally, later, we'll split that up in an abstract part (in GameController) and an extension.
+ */
+public class MyGame extends GameController {
+
+}
-- 
cgit v1.2.3