Skip to content

manuroe/gagne-ton-papa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gagne Ton Papa! Solver

A Rust + React/TypeScript project to find solutions for the game GAGNE TON PAPA! ("Win Your Daddy").

This project implements a solver for the puzzle game where players must fit wooden pieces of different shapes (pentaminos) into a specific rectangular area.

Features

  • Core Logic: Efficient solver written in Rust.
  • Web Interface: Interactive web application built with React and TypeScript.
  • WASM Integration: Runs the Rust solver directly in the browser using WebAssembly.
  • CLI Tool: Terminal-based application for testing and running the solver locally.

Getting Started

Prerequisites

Quick Start

  1. Clone the repository:

    git clone https://github.com/manuroe/gagne-ton-papa.git
    cd gagne-ton-papa
  2. Run the CLI app:

    cargo run
  3. Run the Web App: First, build the WASM library:

    cd lib-wasm
    wasm-pack build --target web

    Then, start the web server:

    cd ../web
    npm install
    npm start

Project Structure

The repository is organized into the following components:

  • lib: The core Rust library containing the game logic and solver algorithms.
  • src: A CLI application to interact with the library from the terminal.
  • lib-wasm: WASM bindings for the core library, enabling usage in web applications.
  • web: The web frontend application built with React and TypeScript.

Live Demo

Check out the live web application here: https://manuroe.github.io/gagne-ton-papa/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors