You are browsing as a guest. Sign up (or log in) to start making projects!

averagestardancefan

@averagestardancefan

Joined June 1st, 2026

  • 10Devlogs
  • 4Projects
  • 3Ships
  • 30Votes
I've learned to program through the computer science classes at my high school. I've done all the classes through AP Computer Science A so I know Java, Python, JavaScript, HTML, and CSS.

I like making terminal games that you can play in VS Code so over the course of the summer I plan on making a few of those and rack up enough stardust to buy me some goodies.

I do not use AI for any part of my projects. For my VS Code games I don't use any kind of tutorial or outside help for that specific game. I want to have fun with this and getting help defeats that purpose.
Ship

This is my third silly little Java game. This is definitely not Connect Four, for sure not. Please play, it's cool.

Try with code: https://codehs.com/sandbox/garrettellis/new-sandbox-program-3

Without code: https://codehs.com/sandbox/garrettellis/new-sandbox-program-3/run

You can use these links to play it or go into the github thingy and download the .java file and open it in VS Code or use the .zip file and run the program from the file. Easiest way is just to click on the browser versions from above.

Basically this just lets you take turns placing your tile in one of the seven columns and puts it on top of the last one. The only actually complicated code is the code that checks all of the win cases because there are a lot of ways to have four in a row.

Play it, it's cool I promise.

  • 1 devlog
  • 2h
Try project → See source code →
Ship

Here it is, my Minesweeper game!

Function:
This game plays straight in your Java terminal. You are given instructions, choose the size of your game board, then use coordinates to place flags, weed out mines, and use logic to clear the whole board.

There are three main ways to play this game:
- Download the .zip file from the github release, unzip it, and double click on the application file within it.
- Download the .java file from the github project files or release files and open it using VS Code.
- Use the demo links through CodeHS to play, though it can be a bit glitchy and slow. The links are also in github, in the README and in the release description.

I recommend the VS Code route, it's just the easiest.

Summary of logic:
When you give the program the coordinate you wish to play, it uses a basic recursive flood fill to fill all adjacent tiles with no mines nearby. After you choose and it fills, it can either stop the program because you hit a mine, or it will continue until the number of mines on the board matches the number of unchecked tiles, meaning that you found all the mines.

Challenges:
Still the hardest thing of either of these was figuring out how to turn the .java file into a .zip that can run without downloading all of Java. The hardest challenge with this game specifically was probably making all of the checks that make sure your input is valid because there were a lot of cases to consider and even so I probably missed one which will be caught somewhere along the way.

  • 3 devlogs
  • 4h
  • 2.50x multiplier
Try project → See source code →
Open comments for this post

1h 54m 48s logged

After I ironed out a few bugs with the fill system, I worked on the actual game part where the user inputs the spaces on the board they would like to play and I think it is working how it should now. As an improvement from the last game, the maze game, that I made, I added instructions at the beginning and I used the built in Java colors to make the whole thing look a bit better. I am much happier with this game than the last and I think it is even more fun to play. The mechanism was a bit easier to code.

0
0
23
Ship

Here is my completed project:

I created a randomly generated maze game that you can play in your VS Code terminal.

It was hard. I'm not like super-duper experienced, I've only really done programming through my school, so this ultimately pretty simple program took me over seven hours to write. In the end I think it works just how I expected and I'm happy with how it turned out.

I tried a few methods for maze generation and tried my best to do it all on my own without just looking up preexisting maze generation strategies. The method I ended up using is a recursive one that finds all valid neighbors of a point on the maze grid and runs itself on each of those neighbors in a randomized order. When it recurses it branches out to that spot which guarantees that the maze is completely connected and that you won't be stuck in a loop.

Through the github page you should have access to the file. If you download and run it separately just make sure you have the latest Java version because it uses enhanced switch-case blocks whose syntax is exclusive to the newest Java. If anything is wrong with my code please tell me so I can fix it and republish. Thanks!

  • 6 devlogs
  • 7h
  • 4.55x multiplier
Try project → See source code →

Followers

Loading…