Skip to content

About

`Web` `Java` `JavaScript` `Game` - Follow the White Rabbit adventure: a Java terminal edition and a browser version, inspired by The Matrix and Alice in Wonderland.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

WHITE RABBIT // JAVA + WEB

Web Java JavaScript Game - Follow the White Rabbit adventure: a Java terminal edition and a browser version, inspired by The Matrix and Alice in Wonderland.

Typing SVG


Project Format

Stars Forks Repo Size Last Commit


🐰 Follow the White Rabbit v2 (Java Edition)

"I imagine right now you're feeling a bit like Alice, tumbling down the rabbit hole?"

A command-line mystery game that weaves together The Matrix and Alice in Wonderland into an interactive narrative experience. This is the Java version - playable on any system with Java installed!


> about

Follow the White Rabbit v2 is a text-based adventure that explores the deep connections between Lewis Carroll's Alice's Adventures in Wonderland / Through the Looking-Glass and the Wachowskis' The Matrix trilogy.

The game examines timeless questions:

  • What is reality vs. simulation vs. dream?

  • Who are you when identity itself is a choice?

  • What happens when you question everything you've been told?

Players navigate a branching narrative filled with riddles, philosophical choices, and easter eggs from both source materials.


> features

  • ⚑ 5 Unique Endings - Each path reveals different truths

  • 🎭 Multiple Story Branches - Your choices truly matter

  • 🎨 Matrix-Style Terminal Effects - Green code rain, typing animations

  • πŸ•³οΈ Deep Easter Eggs - Dozens of references to both Matrix & Alice lore

  • πŸ” Secret Paths - Hidden routes for curious players

  • πŸ”„ High Replay Value - Discover all the paths and endings

  • β˜• Java Edition - Run on Windows, Mac, Linux - anywhere Java works!


> getting_started

Prerequisites

Installation & Running

  1. Download the game:

    • Clone this repository or download WhiteRabbit.java
  2. Compile the game:

    javac WhiteRabbit.java
    
  3. Run the game:

    java WhiteRabbit
    

That's it! No external dependencies required.

For GitHub Distribution

Users can clone and run with:

git clone http://github.com/yourusername/follow-the-white-rabbit-v2.git

cd follow-the-white-rabbit-v2

javac WhiteRabbit.java

java WhiteRabbit

> how_to_play

  • Read the story text as it appears with typing animation

  • Make choices by typing numbers (1, 2, 3, etc.) or keywords

  • Type your choice and press Enter

  • Some paths have secret keywords - experiment!

  • Press Ctrl+C to exit at any time

Tips for Players

  • πŸ’‘ Pay attention to quotes - they're often clues

  • πŸ” Try typing unusual responses when prompted

  • 🐱 Curiosity is rewarded in Wonderland

  • πŸ” Play multiple times to see all endings

  • πŸ“ Not all paths are obvious - some are hidden


> the_5_endings

Without spoiling too much, here are the endings you can discover:

  1. πŸ‡ THE GUIDE - Become the eternal messenger

  2. πŸ—οΈ THE ARCHITECT - Transform the system itself

  3. πŸ’€ THE VOID - Sometimes the cure is worse than the disease

  4. πŸ’€ THE DREAM - Safety over truth

  5. 😸 THE GRIN - [HIDDEN] - Find the secret path...


> easter_eggs__references

This game is packed with references to both The Matrix trilogy and Alice in Wonderland/Through the Looking-Glass:

Matrix References

  • Red pill / Blue pill choice

  • "Follow the White Rabbit"

  • Agent Smith, Jones, Brown

  • The Oracle's cookie

  • "There is no spoon"

  • Switch character (white + pink)

  • "Know Thyself" plaque

  • Liquid mirror / Looking Glass Server

  • Red Queen as system firewall

Alice in Wonderland References

  • White Rabbit's pocket watch / "I'm late!"

  • Mad Hatter's Tea Party

  • Dormouse sleeping on server racks

  • March Hare adjusting reality

  • "Eat Me" / "Drink Me" (pills, cookie, tea)

  • Cheshire Cat's grin & riddles

  • "Who in the world am I?"

  • Red Queen's "Off with their heads!"

  • White Queen transformation

  • Checkered chessboard floor

  • "Curiouser and curiouser"

  • "We're all mad here"

  • Looking-Glass world

Philosophical Parallels

  • Simulation vs. reality vs. dream

  • Identity as choice, not prison

  • "The Matrix cannot tell you who you are"

  • Questions that drive us vs. answers


> story_structure

Chapter Breakdown

CHAPTER 1: THE KNOCK

  • The mysterious visitor at 3:33 AM

  • The white rabbit tattoo

  • The red pill / blue pill choice

  • Secret Cheshire path

CHAPTER 2: DOWN THE RABBIT HOLE (Red pill only)

  • Mad Hatter's impossible tea party

  • Riddles about reality and dreams

  • "Know Thyself" philosophy

  • Oracle's cookie choice

  • Agent chase sequence

CHAPTER 3: THE LOOKING GLASS SERVER (Red pill only)

  • The liquid mirror

  • Meeting your reflection

  • Confronting the Red Queen

  • The final choice: Guide, Destroy, or Evolve

  • Chessboard revelation


> technical_details

Game Mechanics

  • Branching narrative engine - Choices affect story flow

  • ANSI color system - Terminal colors for atmosphere

  • Typing animation - Adjustable text speed

  • Matrix rain effect - Falling green code

  • Input validation - Accepts multiple answer formats

  • Replay system - Start over without restarting

Color Coding

  • 🟒 GREEN - Matrix code, truth, system messages

  • πŸ”΄ RED - Danger, Red Queen, warnings, red pill

  • πŸ”΅ BLUE - Illusion, blue pill, choice

  • βšͺ WHITE - White Rabbit, purity, revelation

  • 🟑 YELLOW - Questions, prompts, uncertainty

  • πŸ”· CYAN - Cheshire Cat, philosophy, guides

Java Features Used

  • Single-file application (easy to distribute!)

  • No external dependencies

  • Cross-platform compatible

  • ANSI color codes for terminal styling

  • Thread.sleep() for animations

  • Scanner for user input

  • Recursive method calls for replay functionality


> contributing

Contributions are welcome! Here are some ways you can help:

  • πŸ› Report bugs or issues

  • πŸ’‘ Suggest new easter eggs or references

  • ✍️ Improve story branches or dialogue

  • 🎨 Add new terminal effects

  • πŸ“– Enhance documentation

  • 🌍 Translate to other languages

To Contribute:

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/AmazingFeature)

  3. Commit your changes (git commit -m 'Add some AmazingFeature')

  4. Push to the branch (git push origin feature/AmazingFeature)

  5. Open a Pull Request


> license

This project is open source and available under the MIT License.

This is a fan project and is not affiliated with or endorsed by:

  • Warner Bros. (The Matrix)

  • The Wachowskis

  • Lewis Carroll's estate

  • Any official Matrix or Alice in Wonderland properties


> acknowledgments

  • The Wachowskis - For creating The Matrix and its philosophical depth

  • Lewis Carroll - For Alice's Adventures in Wonderland and Through the Looking-Glass

  • Film analysts & fans - Whose research revealed the connections between these works

  • Players like you - For following the white rabbit

  • Original Python version - This Java edition is inspired by the original Python game


> quick_commands

# Compile the game

javac WhiteRabbit.java



# Run the game

java WhiteRabbit



# Exit the game (during play)

Ctrl + C



# Replay after finishing

Type 'yes' when prompted

> final_words

"The Matrix cannot tell you who you are."

"'Who in the world am I?' Ah, that's the great puzzle!"

The rabbit hole awaits. Will you follow?


"Curiouser and curiouser..." 🐰✨


WHITE RABBIT // JAVA + WEB footer

About

`Web` `Java` `JavaScript` `Game` - Follow the White Rabbit adventure: a Java terminal edition and a browser version, inspired by The Matrix and Alice in Wonderland.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages