Skip to content

Repository files navigation

Pyxel SameGame

[ English | 日本語 ]

A simple SameGame-inspired puzzle game built with Pyxel. Clear the board by removing connected blocks of the same color. This project was created as a 24-hour challenge with the assistance of AI-generated code.

Features

  • Classic Puzzle Gameplay: Simple yet deep mechanics inspired by SameGame.
  • Retro Style: Nostalgic 8-bit design created using Pyxel.
  • Dynamic BGM: Procedurally generated music powered by 8bit BGM Generator.
  • HTML Accessibility: Play directly in your browser with ease.

Story

In Eastern tradition, there is a legend that attaining enlightenment requires extinguishing the 108 worldly desires. Exhausted by the noise of modern life and the digital world, people seek solace in this ancient wisdom. The colorful blocks on the SameGame board symbolize those desires. In Hard mode, the board contains exactly 108 blocks, and you have 108 seconds to play. Can you conquer all desires and find peace of mind?

Play the Game

Play here: Pyxel SameGame GitHub Pages

How to Play

  • Use your mouse or tap on your phone to select and remove connected blocks of the same color.
  • Aim to clear as many blocks as possible in one move to score higher.
  • Try to clear the entire board! The game ends when no more moves are possible.

Installation

  1. Play in your browser: Click the link above to start playing instantly.

  2. Run locally:

    git clone https://github.com/your-github-username/pyxel-samegame.git
    cd pyxel-samegame
    pyxel run pyxelsg.py

    Ensure you have Pyxel installed:

    pip install pyxel

Screenshot

Gameplay Screenshot

Technical Highlights

  • Board Generation: Custom algorithm ensures solvable and engaging puzzles.
  • Dynamic BGM: Procedural music generated in real time using 8bit BGM Generator.

Credits

References

SAME

The project name "SAME" carries the following meanings:

Japanese Acronym

  • さ)とりを め)ざして が)んばれ め)っきゃく
    → Representing the spirit of striving for enlightenment and overcoming desires.

English Acronym

  • SAME: Surrender Attachments, Mindfulness, and Enlightenment
    → Capturing the process of letting go, practicing mindfulness, and achieving enlightenment.

Quenya Acronym

  • SAME: Sere Atara, Melme, Eruanna
    • Sere (peace, tranquility)
    • Atara (father, symbol of nobility)
    • Melme (love, passion)
    • Eruanna (grace, the gift of enlightenment)
      → Representing poetic and cultural depth with a majestic resonance.

Overall Concept

The Japanese, English, and Quenya acronyms collectively reflect the journey toward enlightenment, overcoming desires, and achieving tranquility through effort and transcendence.

License

This project is licensed under the MIT License. See the LICENSE file for details.


"Less is more" – practical and minimalist, just like the game.

About

A simple SameGame clone created using Pyxel.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages