Skip to main content

Programming: candr

So having assigned a ton of projects through out the semester in my computer science courses I find that when your done with everything you feel like you should be doing more projects. Well being bored out of my mind and waiting for the finals I felt that I needed to make use of my time so I wrote a script called candr short for "Compile and Run". It is a shell script used for compiling, structuring, and running your java programs via Linux terminal and has additional features that are commented out in the source. Feel free to look at the source and experiment with it. The script is documented so if you have any questions feel free to contact me.

click here to download

Comments

Popular posts from this blog

Inkscape Game Character #4

This one goes to the fellows a PopCap Games . This is a plant pod from the game Plants vs Zombies.   If you would like to study the drawing feel free to download the Inkscape SVG file. Right click then hit save link as: plantpod.svg All rights reserve to the original artists.

New Angry Birds(Maybe)

So I'm a huge fan of angry birds and while playing the game I thought hey I want to make some birds to break things. So here are some of the birds I created (with the exception of the first one). Let me know what you guys think. If you would like to study the drawing feel free to download the Inkscape SVG file. Right click then hit save link as: newbirds.svg All rights reserve to the original artists.

Libgdx: Create Item Database using JSON files

This blog post describes how to create an Item database using libgdx JSON parser and storing it in a Collections object to retrieve from. 0.) Create the JSON file Save this as "weaponDb.json". This JSON object is used to create a list of Items in which we can grab items from. [ { "id": 1, "name": "Dumb Basic Sword", }, { "id": 2, "name": "Bad Ass Flaming Sword", }, { "id": 3, "name": "Sword of Kick Ass", } ] 1.) Create the test A simple JUnit test to test our database import com.mygdx.items.Item; import com.mygdx.items.ItemLoader; import org.junit.Test; import java.io.IOException; import java.util.ArrayList; /*Simple Test Case*/ public class TestDb { @Test public void testDb() throws IOException { ItemLoader itemLoader = new ItemLoader(); ArrayList database = itemLoader.load("