A collection of all the code I've written in my classes at Townview TAG, from Java labs, OpenGL Procedural Terrain Tests, Unity Projects, and more.
A collection of labs that I did my freshman year of high school, all written in Java.
pride.txt: The entire book of Pride and Prejudice, used in Labs 27 and 28sinbad.jar: Library to get weather data from the United States, used in Lab 29
Lab 01: Basic PrintingLab 02: Getting the Scores from an examLab 03: Get Data of a Circle from user inputLab 04: More Mathematical FormulasLab 05: Get test grades of a StudentLab 06: Add extra credit for Students from Lab 5Lab 07: GamblingLab 08: Pulling Cards from DeckLab 09: Remove Cards from DeckLab 10: Sort Cards in DeckLab 11: Reset Cards in DeckLab 12: Delete Suit in DeckLab 13: Get Score in Card GameLab 14: Shuffle DeckLab 15: Display QuotesLab 16: Place Students into Classroom SeatsLab 17: Print Prime Factors of NumberLab 18: Print Number of coins from dollar amountLab 19: MissingLab 20: Create Random StringsLab 21: Replace vowels in stringLab 22: Create Petri DishLab 23: MissingLab 24: Convert to Monkey LatinLab 25: Get number of neighbors in Petri DishLab 26: Organize Cars into Parking LotsLab 27: Get Most Common Words from Pride and PrejudiceLab 28: Sort Most Common Words from Pride and PrejudiceLab 29: Get Weather Data in North TexasLab 30: Guessing GameLab 99: Persepolis Graphics Scene
Not necessarily a CS class, but for all of the projects I coded out the game we learned about that unit. All of these were made my freshman year.
A program in C that runs a simple game of Craps
Make sure you have ninja, cmake, and a C compiler.
Then run these commands:
make craps-reset
make craps-runA program in C++ that runs a simple game of Monopoly
If you'd like a full, in-depth version of how it works, you can read MONOPOLY.md
Make sure you have ninja, cmake, and a C++ compiler.
Then run these commands:
make monopoly-reset
make monopoly-runA website made that implements a simple chess game.
If you'd like a full, in-depth version of how it works, you can read CHESS.md
Make sure you have NodeJS and TypeScript.
Then run:
make chess-runAfter that, open the html file in your browser.
A Lisp program that runs a simple game of Texas Hold 'Em
Download SCBL here by going down to the table and select the OS you are using.
Then open up the installer.
Just keep pressing Next until you reach the install page.
Note that installation will not work without admin privileges.
Wait for SCBL to finish installing then navigate to the place it was installed.
If you just kept pressing
Nextwithout changing any other setting and are on a Windows computer, it should be found inC:/Program Files
The folder name should be Steel Bank Common Lisp.
For simplicity, rename it to SCBL.
Open up the terminal (For Windows, press Windows+R then type cmd).
First up, navigate to where this folder (with the main.fasl) in the terminal.
You can do this by using cd.
For example, if your folder was in C:/Users/Your name here/Downloads/Townview-TAG/Logic/poker/, enter in cd Downloads/Townview-TAG/Logic/poker/.
Run make poker-run to see the program.
A collection of Labs that I did in my Sophomore Year of High School in AP Computer Science Principles, focused on Data Structures like stacks, heaps, and queues.
- Library For my create task I created a Library System that helps librarians manage books and see what books are currently checked out and who has checked them out.
- Finch Program a Finch to react to walls and move 90 degrees down a hallway
- Lab 1 Convert from base 10 to base 2
- Second Data Structure Create Vector Data Structure
- Stack Lab - Syntax Check if parethesis are correctly placed
- Polish Notation Converts mathematical expressions to Polish Notation
- Data Structure 3 Linked List of different kinds of animals
- Data Structure 4 Binary Search Tree of Animals.
- Data Structure 4 Part 2 Add Remove Functionality to Binary Search Tree
- Data Structure 4 Part 3 Display height of Binary Search Tree and print out using Breath First Search.
- Data Structure 4 Part 4 Add balance functionality to Binary Search Trees
- Data Structure 5 Graph Data Structure with letter Nodes
- Data Structure 5 Part 2 Get distance to most remote and most centered node in a graph of letters.
- Data Structure 6 Create a heap of animals
- Data Structure 7 Create a random Binary Search Tree
- Data Structure 7 Part 2 Print Statistics on different array objects
- Data Structure 8 Hash values and place them into a Linked List
- Data Structure 8 Part 2 Allow items with duplicate hashs in data structure
- Data Structure 9 Data Structure that is a double ended queue that places strings at the front and numbers at the end
- Regular Expressions Make regular expression that matches email addresses
- Color Fill Randomaly assign colors to different squares on a grid.
- Try Try Again Create Graph of Words
- Album Four Track Four Use recursion to get the different amount of steps that you can take to get to the bottom of a staircase.
Taken my sophomore year, with a focus on OpenGL fundamentals, Unity, and procedural generation.
Basic Engine for Jumpstarting a Java Game Used it to make a basic version of pong that you can play with someone else.
Simple 2D platformer with multiple levels written in Java. Levels are loaded in as text files, and there are different enemy types.
Basic Engine for bootstrapping a quick OpenGL Project Includes shader support along with support for making meshes.
Basic Test to see how Perlin Noise would work within OpenGL
OpenGL game where you would wander around a procedurally generated terrain. Implemented model loading, tree instancing, and more.
Unity Game that takes the idea of the 2nd Game and updates it into Unity. Support for multiple biomes along with more types of foliage per biome.










