Skip to content

Connect 4 Game made in C# Winforms / windows forms app (csharp) ,Connect Four

License

Notifications You must be signed in to change notification settings

NobakhtNet/Connect-Four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c# .NET Framework 4.8

Connect-Four

Connect4 game made in C# windows forms app

Features

  • Checks for the winner or draw ofter every move
  • Use of keyboard buttons (1, 2, 3, 4, 5, 6, 7 also on the number pad) to choose column
  • Restart button + turn changes after each game, To restart the game you can also press "R" on your keyboard
  • Counts Wins for each player and moves
  • Form size is adjustable
  • Shows whose turn it is (Red or Yellow)
  • How to play buttons and instructions
  • Custom Form border color rgb(255,228,196)

Screenshots

image image

How to play

  1. Click on the circle of the column where you want to drop your colored pieces or press (1, 2, 3, 4, 5, 6, 7) on your keyboard or number pad .
  2. Take turns with your opponent until someone connects four circles in a row horizontally, vertically, or diagonally, or the grid is filled.
  3. The first player to connect four in a row wins.
  4. Click "Restart" button or "R" on your keyboard to play again.
  5. Have fun!

Operating Systems

Windows 7,8,10,11 .NET Framework installed


Made and Adjusted by Alireza Nobakht

███╗░░██╗███████╗██╗░░░██╗████████╗██████╗░░█████╗░███╗░░██╗
████╗░██║██╔════╝██║░░░██║╚══██╔══╝██╔══██╗██╔══██╗████╗░██║
██╔██╗██║█████╗░░██║░░░██║░░░██║░░░██████╔╝██║░░██║██╔██╗██║
██║╚████║██╔══╝░░██║░░░██║░░░██║░░░██╔══██╗██║░░██║██║╚████║
██║░╚███║███████╗╚██████╔╝░░░██║░░░██║░░██║╚█████╔╝██║░╚███║
╚═╝░░╚══╝╚══════╝░╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝░╚════╝░╚═╝░░╚══╝

About

Connect 4 Game made in C# Winforms / windows forms app (csharp) ,Connect Four

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages