Skip to content

johnny603/Bash-Game-O-Life

Repository files navigation

Bash Game of Life: Survival

A grid-based survival game that combines the rules of Conway's Game of Life with player control, strategy, and survival mechanics. Written entirely in Typescript and React.

Features

  • Interactive Gameplay: You control a single cell (@) in a living Game of Life grid.
  • Dynamic Terminal UI: The game board is rendered and updated in real-time in your terminal.
  • Survival Mechanics: To survive a turn, you must move to a grid location that will be "alive" in the next generation according to Conway's rules.
  • Scoring: Your score is the number of generations you successfully survive.
  • Power-ups: Collect temporary immunity power-ups ($) that appear on the board.
  • Difficulty Levels: Choose from Easy, Medium, and Hard modes, affecting grid size and game speed.
  • Keyshade Integration (Optional): Game settings can be managed externally via Keyshade for advanced configuration.

Prerequisites

  • A Unix-like operating system (Linux, macOS, WSL on Windows).
  • Node Package Manager

How to Play

1. Clone the Repository and setup

Clone this repository to your local machine.

git clone https://github.com/johnny603/Bash-Game-O-Life.git
cd Bash-Game-O-Life
npm install

2. Run

You only need to do this once.

npm run dev

Game Controls W: Move Up A: Move Left S: Move Down D: Move Right Q: Quit the Game Objective: Survive as many generations as possible by moving your cell (@) to a location that will be alive in the next turn. You die if you move to a cell that becomes dead due to isolation (fewer than 2 neighbors) or overpopulation (more than 3 neighbors).

About

A web-based version of the classic Conway's Game of Life with a twist! You control a single cell, navigating a dynamic world of live, dead, and power-up cells. Survive as long as you can by making strategic moves each generation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors