Skip to content

Collection of simple C games like Rock Paper Scissors, Hand Cricket, Snake & Ladder, and Tic Tac Toe. Beginner-friendly C programs implementing classic games." "Fun C language games: RPS, Hand Cricket, Snake Ladder, X & O. C projects for beginners – classic games implemented in C.

Notifications You must be signed in to change notification settings

Heet0804/C-Game-Collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 C Games Collection

This repository contains simple console-based games written in C language.
These projects are beginner-friendly and help in understanding the basics of loops, arrays, functions, and conditionals.


📂 Games in this Repository

✊✋✌️ Rock Paper Scissors

  • 2 Player Mode – Two users play against each other.
  • Vs Computer Mode – Play against the computer which makes random choices.

🏏 Hand Cricket

  • Console version of the classic "Hand Cricket".
  • Choose runs, try your luck, and avoid getting out.

🐍 Snake & Ladder

  • Dice-based board game.
  • Snakes pull you down 🐍, ladders lift you up 🪜.
  • Includes both 2-player mode and vs computer mode.

❌⭕ Tic Tac Toe (X & O)

  • 2-player grid game.
  • Place X or O on a 3×3 board.
  • Win by completing a row, column, or diagonal.

▶️ How to Compile & Run

Use any C compiler (like GCC). Example:

# Compile
gcc filename.c -o game

# Run
./game

About

Collection of simple C games like Rock Paper Scissors, Hand Cricket, Snake & Ladder, and Tic Tac Toe. Beginner-friendly C programs implementing classic games." "Fun C language games: RPS, Hand Cricket, Snake Ladder, X & O. C projects for beginners – classic games implemented in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages