Conway's Game of Life Rails API with React Frontend

This project implements Conway's Game of Life using Ruby on Rails for the backend API and React for the frontend.

Getting Started

Prerequisites

  • Ruby (version 3.0.0)
  • Rails (version 7.1.3)
  • Node.js (version 18.12.1)
  • Yarn (version 1.22.19)
  • SQLite (version 3)

Run Locally

  1. Clone the repository: git clone <repository-url>

  2. Install dependencies: bundle install yarn install

  3. Start the server using Foreman: bin/dev

  4. Visit http://localhost:3000 in your browser to view the application.

Testing

  1. Test the project Rspec: rspec

Features

  • Create and manage multiple boards with different sizes.
  • Generate the next generation of a board based on Conway's Game of Life rules.
  • View the state of each generation in the frontend.