Okay, so today I messed around with making a simple “game of volleyball” in, like, the most basic way possible. Don’t expect any fancy graphics or anything – we’re talking bare-bones here!

First, I thought about what I needed. Basically, two players, a ball, and a net, right? And some way to keep score.
Setting up the “Players”
I decided to represent the players with just numbers, like Player 1 and Player 2. No need for anything complicated at this stage. I just needed something to track their scores.
The “Ball” and the “Net”
- The “ball” was also super simple. I just imagined it moving back and forth. I didn’t even bother to visualize it.
- The “net” was even simpler – it was just a concept. If the ball went to one side, it was Player 1’s turn; if it went to the other, it was Player 2’s turn.
Making it “Playable”
I created some basic rules. I thought about things that can be done in a game:
- If Player 1 “hit” the ball, it went to Player 2’s side.
- If Player 2 “hit” the ball, it went back to Player 1’s side.
- If a player “missed,” the other player got a point.
Keeping Score
I added a score counter for each player. Every time someone missed, the other player’s score went up by one. I displayed the scoring board with the players’ names and current scores, so it’s easy to keep track of the game.
The “Game” Itself
I ran a few “rounds” where I just manually decided who hit the ball and who missed. Each time I updated a player’s score, I made sure to display the score board on the screen to see how each player is doing.
I played with it a bit, pretending to hit the ball back and forth. It was super basic, but it kind of worked! You could see the score changing, and you could imagine the ball flying over the net.

It’s definitely not a real game, but it was a fun little exercise to think about the core mechanics of volleyball and how you could represent them in a really, really simple way. I could build on this later, add more features, maybe even some actual graphics someday. But for now, it was a good way to get my feet wet.