[PR #1472] [CLOSED] feat: add Snake and Ladders game (single player) #2069

Open
opened 2026-01-29 15:28:21 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1472
Author: @KarthikeyaPila
Created: 5/24/2025
Status: Closed

Base: masterHead: add-snake-and-ladders


📝 Commits (1)

  • cd961e3 Add single player Snakes and Ladders game in C

📊 Changes

1 file changed (+81 additions, -0 deletions)

View changed files

games/snakes_and_ladders.c (+81 -0)

📄 Description

Description of Change

Added a single-player console-based Snake and Ladders game written in C.
The game uses a static board with predefined snakes and ladders, and the player rolls a dice until they reach exactly 100.

References

N/A – This is a new addition.

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass — Not applicable for interactive console game
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes: This is my first open source contribution. The program is beginner-friendly and demonstrates the use of arrays, random numbers, and conditionals.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1472 **Author:** [@KarthikeyaPila](https://github.com/KarthikeyaPila) **Created:** 5/24/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `add-snake-and-ladders` --- ### 📝 Commits (1) - [`cd961e3`](https://github.com/TheAlgorithms/C/commit/cd961e3082a029f381c60a9a180efe5505d60fef) Add single player Snakes and Ladders game in C ### 📊 Changes **1 file changed** (+81 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `games/snakes_and_ladders.c` (+81 -0) </details> ### 📄 Description #### Description of Change Added a single-player console-based Snake and Ladders game written in C. The game uses a static board with predefined snakes and ladders, and the player rolls a dice until they reach exactly 100. #### References N/A – This is a new addition. #### Checklist - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ ] Added tests and example, test must pass — Not applicable for interactive console game - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: This is my first open source contribution. The program is beginner-friendly and demonstrates the use of arrays, random numbers, and conditionals. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:28:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2069