Skip to content

Villy-P/Townview-TAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Townview-TAG

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.

APCSA

A collection of labs that I did my freshman year of high school, all written in Java.

Special Files

  • pride.txt: The entire book of Pride and Prejudice, used in Labs 27 and 28
  • sinbad.jar: Library to get weather data from the United States, used in Lab 29
  • Lab 01: Basic Printing
  • Lab 02: Getting the Scores from an exam
  • Lab 03: Get Data of a Circle from user input
  • Lab 04: More Mathematical Formulas
  • Lab 05: Get test grades of a Student
  • Lab 06: Add extra credit for Students from Lab 5
  • Lab 07: Gambling
  • Lab 08: Pulling Cards from Deck
  • Lab 09: Remove Cards from Deck
  • Lab 10: Sort Cards in Deck
  • Lab 11: Reset Cards in Deck
  • Lab 12: Delete Suit in Deck
  • Lab 13: Get Score in Card Game
  • Lab 14: Shuffle Deck
  • Lab 15: Display Quotes
  • Lab 16: Place Students into Classroom Seats
  • Lab 17: Print Prime Factors of Number
  • Lab 18: Print Number of coins from dollar amount
  • Lab 19: Missing
  • Lab 20: Create Random Strings
  • Lab 21: Replace vowels in string
  • Lab 22: Create Petri Dish
  • Lab 23: Missing
  • Lab 24: Convert to Monkey Latin
  • Lab 25: Get number of neighbors in Petri Dish
  • Lab 26: Organize Cars into Parking Lots
  • Lab 27: Get Most Common Words from Pride and Prejudice
  • Lab 28: Sort Most Common Words from Pride and Prejudice
  • Lab 29: Get Weather Data in North Texas
  • Lab 30: Guessing Game
  • Lab 99: Persepolis Graphics Scene

Logic

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

Running

Make sure you have ninja, cmake, and a C compiler.

Then run these commands:

make craps-reset
make craps-run

A 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

Running

Make sure you have ninja, cmake, and a C++ compiler.

Then run these commands:

make monopoly-reset
make monopoly-run

A 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

Running

Make sure you have NodeJS and TypeScript.

Then run:

make chess-run

After that, open the html file in your browser.

A Lisp program that runs a simple game of Texas Hold 'Em

Running

Setup

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 Next without changing any other setting and are on a Windows computer, it should be found in C:/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.

APCSP

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.

AP Exam Create Task

  • 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.

Special Lab

  • Finch Program a Finch to react to walls and move 90 degrees down a hallway

Game Design

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.

The Wanderer Pictures

Image Image Image Image Image Image Image Image Image Image Image

Releases

No releases published

Packages

 
 
 

Contributors