Programming


College Prototype: PeaceKeeper

This weeks theme was “Peace” or “Piece”, it was left rather ambiguous…

The object of the game is to prevent unrest from rising. You start off doing this by your presence and staring at groups of people, as the people get more unruly you unlock new tools to put them in their place.

We had a week to make it but in reality I probably only had 8 hours in total to work on it.

There is some basic leaderboard support, players who maintain the peace longer earn higher placing.

 


Guard AI Prototype

Here is the first prototype of our Guard AI. Please give it go and leave feedback either in the game by clicking the GA button or in the comments section  here.

 

Objective: Try not to get seen!

Controls:

WASD to move

Mouse for camera

Right click to go fullscreen

Next update should include a fully animated character model and significantly better camera control!


Assignment: Higher or Lower Card Game

This is the program I’ve written for my java assignment. It is a higher or lower card game, the player draws their card, enters their credits, then begins guessing if the card will be higher, lower or equal.

There needs to be at least three buttons, one to enter credit, one to guess higher and one to guess lower. There should be at least one textfield to top up the credit pool using a String to int command. The cards must change when the buttons are pressed and the player informed when they are out of credits.

The only things left for me to add that are required are sounds/music and the ability for the cards to be disabled as they are used so no one card repeats.

I want to add a bank system, where by instead of the player determining how much credit they start with, they have 100 banked, which they can then add to their credit. As the player gains more credits they can bank the extra for reassurance that they will never have absolutely no credits in the game. If however the player does end up with 0 credits and 0 banked, it will then be game over and an appropriate screen would display.

Source code will be posted in January when the assignment is handed in.

 

Click on through to play the game:


Programming: Dice Roll App

We are currently learning Java, this is the first application we have written. It is a simple app that rolls the dice using a random number generator provided by our lecturer.

<span style="font-family: monospace;">//Removed the code because of the recent Java insecurities\\</span>

It is based off this code given to us by the lecturer:

(more…)