Grasshopper Games
(by seghier)
Some games for grasshopper
Downloads:
71
Support Email

 

These components are interactive Grasshopper elements that allow you to play classic games directly on the canvas. They also serve as excellent examples of advanced scripting within Grasshopper, handling user interaction, custom graphics, and state persistence.

1. Advanced Checkers (Russian Checkers)

https://github.com/Ni3nayka/BARS-international/

This component provides a fully playable game of Russian Checkers against a challenging AI opponent.

Component Name: Adv. Checkers

Objective: To win, you must capture all of the opponent's pieces or block them so they have no legal moves.

How to Play:

You play as White (the bottom pieces), and the AI plays as Black (the top pieces). Black always moves first.

Select a Piece: Left-click on one of your white pieces. The square will be highlighted in blue.

Make a Move: After selecting a piece, all valid destination squares will be marked with a green dot. Click on one of the green dots to complete your move.

The component automatically enforces the "longest capture" rule, so it will only show you moves that follow the game's regulations.

Key Rules Implemented:

Mandatory Captures: Capturing is not optional. If a capture is available, you must take it.

Longest Capture Path: If multiple capture sequences are possible, you must choose the path that captures the maximum number of pieces.

Men: Standard pieces that move and capture diagonally forward.

Kings (Flying Kings): When a man reaches the opponent's back row, it is promoted to a King. Kings can move any number of empty squares diagonally and can capture an opponent's piece from any distance along a diagonal, as long as the square immediately after the captured piece is free.

AI Opponent: The AI uses a Minimax algorithm, allowing it to "think" several moves ahead to find the optimal move.

Right-Click Menu:

New Game: Resets the board and starts a new game.

Backward: Undoes your last move and the AI's corresponding move, effectively taking back a full turn. This is enabled after your first move.

Persistence: The complete game state, including piece positions and move history, is saved within the Grasshopper file. You can save your document mid-game and resume later.

2. Minesweeper

A classic logic puzzle game where you must clear a field of mines using number clues.

Component Name: MinesWeeper

Objective: Clear the entire board of all non-mine squares. If you click a mine, you lose.

How to Play:

Reveal a Square: Left-click on a tile. The first click in any game is guaranteed to be safe.

If you reveal a number, it tells you how many mines are in the 8 squares immediately surrounding it.

If you reveal a blank tile, all adjacent blank tiles will be automatically cleared until a numbered tile is reached.

Flag a Square: Right-click to place a flag on a square you suspect is a mine. This prevents you from accidentally left-clicking it. Right-click again to remove the flag.

Right-Click Menu:

New Game: Starts a new game with the current settings.

Columns / Rows / Mine Count: These sub-menus allow you to customize the grid size and difficulty for the next game you start.

Show Hint: An incredibly useful feature that analyzes the board and highlights all "obvious" moves.

Green Highlight: A square that is guaranteed to be safe.

Red Highlight: A square that is guaranteed to be a mine.

Persistence: Your current game's progress, including mine locations and revealed tiles, is saved with the Grasshopper file.

3. Sudoku

The classic number placement puzzle.

Component Name: Sudoku

Objective: Fill the 9x9 grid so that each row, each column, and each of the nine 3x3 boxes contains the digits 1 through 9, with no repeats.

How to Play:

Select a Cell: Left-click an empty (non-bold) cell to select it. The cell will be highlighted in blue.

Enter a Number: When a cell is selected, a number pad will appear at the bottom of the component. Click on a number (1-9) to place it in the selected cell. Click 'X' to clear the number.

Right-Click Menu:

New Game: Allows you to start a new puzzle with one of three difficulties:

Beginner: More starting numbers.

Intermediate: Standard difficulty.

Expert: Fewer starting numbers.

Check Answers: Highlights any numbers you have entered that are incorrect in red.

Clear User Inputs: Wipes the board of all numbers you've entered, resetting it to the start of the puzzle.

Persistence: The current state of your puzzle, including your inputs and the initial puzzle layout, is saved with the document.

4. Tetris

The iconic falling block puzzle game.

Component Name: Tetris

Objective: Manipulate falling shapes (tetrominoes) to create solid horizontal lines. Completed lines disappear, and you score points. The game ends if the blocks stack to the top.

How to Play:

Start/Pause: Left-click anywhere on the main black game board to start or pause the game.

Controls: All actions are performed using the on-screen buttons in the right-hand panel.

⟳ (Rotate): Rotates the current piece clockwise.

⇦ (Left) / ⇨ (Right): Moves the piece horizontally.

⇩ (Drop): Immediately drops the piece to the bottom.

Gameplay Features:

Next Piece: The "NEXT" panel shows the shape that will fall after the current one.

Scoring and Levels: Your score increases for every line cleared. As your score grows, the level increases, causing the pieces to fall faster.

Right-Click Menu:

New Game: Starts a new game from scratch.

Start / Pause: Toggles the game's state.

Persistence: The entire game state—including the board layout, score, level, and current/next pieces—is saved with the file, allowing you to resume your game later.

5. Tic-Tac-Toe

A simple, classic two-player game against an AI.

Component Name: Display TicTacToe

Objective: Be the first to get three of your marks (X) in a row, column, or diagonal.

How to Play:

You are player 'X'. The AI is player 'O'.

Make a Move: Simply left-click an empty square to place your 'X'. The AI will instantly make its counter-move.

Right-Click Menu:

New Game: Clears the board to start over.

← Back / Forward →: Allows you to step backward and forward through the moves of the current game.

AI Difficulty: A submenu to select the AI's skill level.

Easy: The AI makes random moves.

Medium: The AI will try to win and try to block you from winning.

Hard: The AI uses a Minimax algorithm to play a perfect game. You can only draw or lose.

Persistence: The game's move history and selected difficulty are saved with the Grasshopper file.

  • License Type:
Cost:
Downloads
Title
Description
Platform
 
GhGames
2025-07-24
Grasshopper for Rhino 7 for Win
Reviews