Skip to content

About

Linear adventure, made by Zaboltar. Adapted to JS. <3

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear Adventure

Linear Adventure is a joke text adventure that runs in the browser. Each screen gives you a situation and a tiny list of choices, usually two. One is bad. One is good.

The good choice is rarely the smart one. It just has a hint of righteousness to it. A sign says "NO IR AL VOLCÁN" (don't go to the volcano). You can answer "Oblígame, Prro. Ir al volcán" (make me, dude) or go back to the linear path. You know which one the game wants. Pick the other one and you lose the Line of Victory and start over.

There is only one way through, so the adventure is linear. That's the whole joke.

Play it at https://linear-adventure.netlify.app/. The game text is in Spanish.

Screenshots

Title screen

The game warns you about the volcano. Listen to the sign.

The volcano sign

A council elder tests your knowledge. Which of these is NOT a philosopher?

The philosopher question

One wrong answer and it's over.

Game over screen

How to play

  • Press Enter to start.
  • Press 1, 2 or 3 to choose an option.
  • After a game over, press Enter to go back to the title, and Enter again to restart.
  • Click "Sound" in the bottom left corner to turn the chiptune music on or off.

Credits

  • Game design by Zaboltar (@zaboltar).
  • Web version (JavaScript) developed by Esen Espinosa (@sujumayas).
  • The ASCII art comes from artists credited inside the game, including Dustin Slater, Elissa Potier, Marcin Glinski, Joan Stark, Shanaka Dias, llizard and Michael Naylor.
  • The melody code is based on Audio synthesis in JavaScript from Modern Web.

Running it locally

The whole game is one file, index.html, plus the pc.png background. There is no build step. Serve the folder with any static server:

python3 -m http.server 8080

Then open http://localhost:8080.

Editing the story

The story lives in the initialize() function in index.html. Each step has a line of text and the key of the right answer:

enunciadoHistoria[1] = "Has entrado a la taberna. \n1. Pedir cerveza. \n2. Buscar problemas.";
opciones[1] = "1";

enunciadoHistoria[0] is the game over screen. Index 60 is used as the title screen, which overwrites the step 60 text.

About

Linear adventure, made by Zaboltar. Adapted to JS. <3

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages