Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🎈 Pebble

A tiny Java CLI that gives your brain a random little thing to think about.

What is Pebble?

Pebble gives you one tiny question to think about.

Give Pebble a number between 1 and 17, and it randomly picks a question asking you to name that many things.

You don't type the answers.

You just think of them.

No scoring. No tracking. No right answers.

Example

$ java -cp src/main/java Main 7

Pebble 

7 flowers can you name.

You think of seven flowers.

That's it.

Run it again:

$ java -cp src/main/java Main 5

Pebble 

5 things that are blue.

And maybe:

$ java -cp src/main/java Main 12

Pebble 

12 things you remember from childhood.

How It Works

  1. Give Pebble a number between 1 and 17.
  2. Pebble randomly selects a question.
  3. Pebble asks you to think of that many things.
  4. You answer in your head.
  5. That's the whole thing. 🌱

Tech Stack

  • Java 21
  • Random
  • CLI arguments

Run

Compile:

javac src/main/java/Main.java

Run:

java -cp src/main/java Main 7

Replace 7 with any number from 1–17.

Why I Built This

Not everything needs to be useful.

Sometimes it's fun to make something tiny that gives you a reason to pause for a few seconds and think.

Pebble is just that.

Give it a number.

It gives you a question.

You give yourself the answers. 🪨

JavaLabs.io

Part of JavaLabs.io — a collection of small Java experiments built to turn random ideas into working code.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages