top of page

Scripting

Snippets of code from various scripting languages.

LinkedQueue Radix Sort

Java (2020)

Originally completed in the Eclipse JDE as an assignment for Computer Science III, this script demonstrates the Radix array sort, which algorithmically orders a set of numbers based on the order of given digits from least to most significant.

Captubire.PNG

DoubleEndedList Interface

Java (2020)

Given the file DoubleEndedListInterface, I scripted a class that declared all listed functions in the file and fully implemented them. All entries within the interface were represented by a chain of nodes with both a head and tail reference.

Although I was rather accustomed to working with nodes at the onset of this project, the head and tail references were new.

khl.PNG

Array Sort Code

Java (2020)

Given an array of n by n integer values, I wrote and implemented an algorithm to sort the rows of a given array by their first values.

bkbkb.PNG

Unity WinVolume Script

C# (2020)

This script was written as a part of the game development project pipeline for ATCM 2310, as a class that would cause a level to finish (along with appropriate sound effects and UI notifications) when the player object collided with a WinVolume object.

Having never used C# before, with the closest experience being in C++, I was pleasantly surprised that the code made sense, using the same object-oriented programming methods to drive gameplay.

bjb.PNG

Modbuddy Database Config

SQL, XML (2020)

As part of a planned portfolio project, I attempted to mod Firaxis' Civilization VI with a custom civilization of my own, representing the Cantonese people of southern China, with folk hero Wong Fei-Hung as leader.

Having never worked with XML or SQL before, there were many struggles with this project.


Luckily, Firaxis' Modbuddy interface had all modifiers (functions possible in the game) already scripted and stored in the SQL databases - and so the real endeavor was ascribing these modifiers to their proper locations, and restructuring the code to allow for it.

Capturnne.PNG
Scripting: Services
bottom of page